Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Adder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001532/0.001532, allocations: 106.5 kB / 21.23 MB, free: 0.6562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001485/0.001485, allocations: 213.2 kB / 24.54 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.415/1.415, allocations: 230.6 MB / 258.3 MB, free: 8.062 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Adder,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_Adder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Adder,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_Adder",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00201/0.00201, allocations: 64.55 kB / 378.6 MB, free: 3.133 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2522/0.2542, allocations: 53.37 MB / 431.9 MB, free: 6.871 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.004534/0.2587, allocations: 3.251 MB / 435.2 MB, free: 3.605 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001469/0.2602, allocations: 0.8141 MB / 436 MB, free: 2.785 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001786/0.2604, allocations: 11.94 kB / 436 MB, free: 2.773 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001773/0.2605, allocations: 59.42 kB / 436.1 MB, free: 2.715 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002182/0.2608, allocations: 115 kB / 436.2 MB, free: 2.602 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003389/0.2611, allocations: 135.8 kB / 436.3 MB, free: 2.469 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004744/0.2616, allocations: 446.2 kB / 436.8 MB, free: 2.031 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002458/0.2618, allocations: 120.3 kB / 436.9 MB, free: 1.914 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002919/0.2621, allocations: 167.4 kB / 437 MB, free: 1.75 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002395/0.2624, allocations: 183.2 kB / 437.2 MB, free: 1.57 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.943e-05/0.2624, allocations: 44 kB / 437.3 MB, free: 1.527 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.186e-05/0.2625, allocations: 44 kB / 437.3 MB, free: 1.484 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.899e-05/0.2626, allocations: 95.62 kB / 437.4 MB, free: 1.391 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000178/0.2628, allocations: 199.1 kB / 437.6 MB, free: 1.195 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005843/0.2633, allocations: 0.5066 MB / 438.1 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.2634, allocations: 0 / 438.1 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.2634, allocations: 3.938 kB / 438.1 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.736e-06/0.2634, allocations: 0 / 438.1 MB, free: 0.6875 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001101/0.2645, allocations: 0.5987 MB / 438.7 MB, free: 56 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.2645, allocations: 8.031 kB / 438.7 MB, free: 48 kB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001038/0.2646, allocations: 70.8 kB / 438.8 MB, free: 15.96 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001831/0.2648, allocations: 44.7 kB / 438.8 MB, free: 15.92 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004609/0.2653, allocations: 261.7 kB / 439.1 MB, free: 15.64 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.015e-05/0.2653, allocations: 25.03 kB / 439.1 MB, free: 15.62 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.217e-05/0.2653, allocations: 28.38 kB / 439.1 MB, free: 15.59 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006781/0.266, allocations: 349.2 kB / 439.5 MB, free: 15.25 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.266, allocations: 4 kB / 439.5 MB, free: 15.24 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.875e-05/0.2661, allocations: 8 kB / 439.5 MB, free: 15.23 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.172e-05/0.2661, allocations: 12 kB / 439.5 MB, free: 15.22 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000635/0.2667, allocations: 274.4 kB / 439.8 MB, free: 14.95 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002072/0.2688, allocations: 1.226 MB / 441 MB, free: 13.65 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005577/0.2693, allocations: 198.8 kB / 441.2 MB, free: 13.45 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002052/0.2695, allocations: 88.75 kB / 441.3 MB, free: 13.36 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.284e-05/0.2696, allocations: 0 / 441.3 MB, free: 13.36 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.737e-05/0.2696, allocations: 46.48 kB / 441.3 MB, free: 13.3 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.152e-06/0.2696, allocations: 4 kB / 441.3 MB, free: 13.3 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.00199/0.2716, allocations: 0.5577 MB / 441.9 MB, free: 12.73 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.73e-05/0.2716, allocations: 55.39 kB / 441.9 MB, free: 12.67 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003734/0.272, allocations: 300.2 kB / 442.2 MB, free: 12.37 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.378e-05/0.272, allocations: 29.7 kB / 442.3 MB, free: 12.33 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000189/0.2722, allocations: 224.2 kB / 442.5 MB, free: 12.11 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.767e-05/0.2723, allocations: 51.53 kB / 442.5 MB, free: 12.06 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.871e-05/0.2724, allocations: 53.66 kB / 442.6 MB, free: 12 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001665/0.2725, allocations: 338.8 kB / 442.9 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002003/0.2727, allocations: 79.89 kB / 443 MB, free: 11.58 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002603/0.273, allocations: 163 kB / 443.1 MB, free: 11.39 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004499/0.2734, allocations: 250.1 kB / 443.4 MB, free: 11.11 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.2734, allocations: 0 / 443.4 MB, free: 11.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000963/0.2744, allocations: 404.8 kB / 443.8 MB, free: 10.7 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.2744, allocations: 12 kB / 443.8 MB, free: 10.69 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.824e-06/0.2744, allocations: 4 kB / 443.8 MB, free: 10.69 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004258/0.2749, allocations: 100.8 kB / 443.9 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001561/0.275, allocations: 43.92 kB / 443.9 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003302/0.2783, allocations: 2.063 MB / 446 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002619/0.2786, allocations: 47.78 kB / 446.1 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.021e-05/0.2786, allocations: 8 kB / 446.1 MB, free: 8.305 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0002628/0.2789, allocations: 149.8 kB / 446.2 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.416e-05/0.2789, allocations: 27.8 kB / 446.2 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.437e-05/0.279, allocations: 29.84 kB / 446.3 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.683e-06/0.279, allocations: 11.88 kB / 446.3 MB, free: 8.078 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.279, allocations: 0 / 446.3 MB, free: 8.078 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.171e-06/0.279, allocations: 3.984 kB / 446.3 MB, free: 8.074 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001369/0.2804, allocations: 0.6961 MB / 447 MB, free: 7.324 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.2804, allocations: 0 / 447 MB, free: 7.324 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.562e-05/0.2805, allocations: 12 kB / 447 MB, free: 7.312 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003656/0.2808, allocations: 108.7 kB / 447.1 MB, free: 7.203 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.26e-05/0.2808, allocations: 0 / 447.1 MB, free: 7.203 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00294/0.2838, allocations: 2.059 MB / 449.2 MB, free: 5.035 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.2838, allocations: 4 kB / 449.2 MB, free: 5.031 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008585/0.2846, allocations: 408.4 kB / 449.6 MB, free: 4.613 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.972e-05/0.2847, allocations: 31.8 kB / 449.6 MB, free: 4.582 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.077e-05/0.2847, allocations: 4 kB / 449.6 MB, free: 4.578 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002013/0.2849, allocations: 19.98 kB / 449.6 MB, free: 4.559 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.65e-05/0.285, allocations: 23.91 kB / 449.6 MB, free: 4.535 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.558e-05/0.285, allocations: 0 / 449.6 MB, free: 4.535 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003791/0.2854, allocations: 219.1 kB / 449.8 MB, free: 4.324 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2854, allocations: 0 / 449.8 MB, free: 4.324 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005276/0.2859, allocations: 91.77 kB / 449.9 MB, free: 4.234 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001268/0.2872, allocations: 0.9394 MB / 450.9 MB, free: 3.262 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007954/0.288, allocations: 337.4 kB / 451.2 MB, free: 2.922 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.288, allocations: 3.984 kB / 451.2 MB, free: 2.918 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003819/0.2884, allocations: 223.1 kB / 451.4 MB, free: 2.688 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004197/0.2888, allocations: 40.97 kB / 451.5 MB, free: 2.641 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005064/0.2939, allocations: 3.145 MB / 454.6 MB, free: 15.35 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004214/0.2943, allocations: 0.7752 MB / 455.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001137/0.2944, allocations: 18.53 kB / 455.4 MB, free: 14.53 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001359/0.2946, allocations: 99.41 kB / 455.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of SimCode: time 1.332e-06/0.2946, allocations: 0 / 455.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03342/0.328, allocations: 6.837 MB / 462.3 MB, free: 7.738 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.9/12.23, allocations: 10.03 kB / 462.3 MB, free: 7.734 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Adder.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Adder_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_Adder_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_OpAmps_Adder.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.527748099062592] Failed to read output from testmodel.py, exit status != 0: ['time', 'vOut.v'] 12.326314931735396 12.351012722 12.082759974 Calling exit ...