Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_SteadyState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.Continuous_SteadyState,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_Continuous_SteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Continuous_SteadyState,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_Continuous_SteadyState",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007569/0.0007571, allocations: 99.56 kB / 17 MB, free: 6.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007701/0.0007701, allocations: 186.2 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.383/1.383, allocations: 223.2 MB / 241.9 MB, free: 14.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2051/0.2051, allocations: 44.23 MB / 337.2 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003085/0.0003086, allocations: 8 kB / 409.7 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.1319, allocations: 61.92 MB / 471.6 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_SteadyState): time 0.003267/0.1352, allocations: 2.82 MB / 474.5 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002689/0.138, allocations: 1.47 MB / 475.9 MB, free: 9.305 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002817/0.1383, allocations: 19.88 kB / 475.9 MB, free: 9.285 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004094/0.1387, allocations: 111.2 kB / 476.1 MB, free: 9.176 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003598/0.139, allocations: 155 kB / 476.2 MB, free: 9.023 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000913/0.14, allocations: 422.9 kB / 476.6 MB, free: 8.613 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008088/0.1408, allocations: 0.7718 MB / 477.4 MB, free: 7.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002992/0.1411, allocations: 177 kB / 477.6 MB, free: 7.656 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003751/0.1415, allocations: 298.5 kB / 477.9 MB, free: 7.363 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003921/0.1419, allocations: 322.4 kB / 478.2 MB, free: 7.047 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.149e-05/0.142, allocations: 20 kB / 478.2 MB, free: 7.027 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.353e-05/0.142, allocations: 24 kB / 478.2 MB, free: 7.004 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001687/0.1422, allocations: 151.4 kB / 478.4 MB, free: 6.855 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001013/0.1423, allocations: 129.3 kB / 478.5 MB, free: 6.723 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004499/0.1428, allocations: 0.5339 MB / 479 MB, free: 6.188 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1428, allocations: 3.938 kB / 479 MB, free: 6.184 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1428, allocations: 0 / 479 MB, free: 6.184 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.036e-06/0.1428, allocations: 0 / 479 MB, free: 6.184 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.001885/0.1447, allocations: 1.059 MB / 480.1 MB, free: 5.074 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.1447, allocations: 8.031 kB / 480.1 MB, free: 5.066 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000116/0.1449, allocations: 86.47 kB / 480.2 MB, free: 4.973 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001158/0.145, allocations: 86.97 kB / 480.3 MB, free: 4.887 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008227/0.1458, allocations: 0.5343 MB / 480.8 MB, free: 4.312 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.743e-05/0.1459, allocations: 40.95 kB / 480.8 MB, free: 4.273 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.182e-05/0.146, allocations: 52 kB / 480.9 MB, free: 4.223 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001132/0.1471, allocations: 0.6213 MB / 481.5 MB, free: 3.543 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.469e-05/0.1471, allocations: 15.83 kB / 481.5 MB, free: 3.527 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.647e-05/0.1472, allocations: 16 kB / 481.5 MB, free: 3.512 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.587e-05/0.1472, allocations: 16 kB / 481.6 MB, free: 3.496 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001077/0.1483, allocations: 0.4944 MB / 482.1 MB, free: 3.004 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003423/0.1517, allocations: 2.639 MB / 484.7 MB, free: 268 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001154/0.1529, allocations: 0.5742 MB / 485.3 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005626/0.1535, allocations: 278.5 kB / 485.5 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.834e-05/0.1535, allocations: 4 kB / 485.5 MB, free: 15.37 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.823e-05/0.1536, allocations: 42.5 kB / 485.6 MB, free: 15.32 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 2.094e-06/0.1536, allocations: 3.938 kB / 485.6 MB, free: 15.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.002505/0.1561, allocations: 1.212 MB / 486.8 MB, free: 14.09 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.353e-05/0.1562, allocations: 132.5 kB / 486.9 MB, free: 13.93 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008702/0.157, allocations: 0.6489 MB / 487.6 MB, free: 13.28 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.156e-05/0.1571, allocations: 33.7 kB / 487.6 MB, free: 13.24 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002881/0.1574, allocations: 364 kB / 488 MB, free: 12.88 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001622/0.1576, allocations: 173.5 kB / 488.1 MB, free: 12.71 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.319e-05/0.1576, allocations: 12 kB / 488.1 MB, free: 12.7 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001476/0.1578, allocations: 337.9 kB / 488.5 MB, free: 12.36 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006104/0.1584, allocations: 277.1 kB / 488.7 MB, free: 12.09 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007123/0.1591, allocations: 441 kB / 489.2 MB, free: 11.59 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006692/0.1598, allocations: 329.2 kB / 489.5 MB, free: 11.27 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.1598, allocations: 0 / 489.5 MB, free: 11.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001748/0.1615, allocations: 0.858 MB / 490.4 MB, free: 10.41 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001452/0.1617, allocations: 213.8 kB / 490.6 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/0.1617, allocations: 4 kB / 490.6 MB, free: 10.13 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002377/0.162, allocations: 60.86 kB / 490.6 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008865/0.1629, allocations: 215.7 kB / 490.8 MB, free: 9.859 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00152/0.1644, allocations: 1.499 MB / 492.3 MB, free: 8.227 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006647/0.1651, allocations: 95.59 kB / 492.4 MB, free: 8.133 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.198e-05/0.1651, allocations: 24 kB / 492.5 MB, free: 8.109 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.929e-06/0.1652, allocations: 4 kB / 492.5 MB, free: 8.105 MB / 366.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001534/0.1668, allocations: 0.7344 MB / 493.2 MB, free: 7.367 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.1668, allocations: 4 kB / 493.2 MB, free: 7.363 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001597/0.167, allocations: 65.34 kB / 493.3 MB, free: 7.297 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000774/0.1677, allocations: 195.7 kB / 493.5 MB, free: 7.105 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001332/0.1691, allocations: 1.499 MB / 495 MB, free: 5.473 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005393/0.1696, allocations: 83.8 kB / 495 MB, free: 5.391 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.429e-05/0.1697, allocations: 27.95 kB / 495.1 MB, free: 5.363 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 4 (limPID.I.local_reset,pID.I.local_reset,limIntegrator.local_reset,integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000403/0.1701, allocations: 285.8 kB / 495.3 MB, free: 5.074 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001486/0.1703, allocations: 79.06 kB / 495.4 MB, free: 4.996 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001836/0.1705, allocations: 90.2 kB / 495.5 MB, free: 4.906 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.1705, allocations: 8 kB / 495.5 MB, free: 4.898 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.1705, allocations: 0 / 495.5 MB, free: 4.898 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.924e-06/0.1705, allocations: 0 / 495.5 MB, free: 4.898 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001382/0.1719, allocations: 0.8764 MB / 496.4 MB, free: 3.965 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.1719, allocations: 0 / 496.4 MB, free: 3.965 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006169/0.1725, allocations: 115.9 kB / 496.5 MB, free: 3.852 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.1725, allocations: 0 / 496.5 MB, free: 3.852 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.794e-05/0.1726, allocations: 27.98 kB / 496.5 MB, free: 3.824 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.1726, allocations: 0 / 496.5 MB, free: 3.824 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/0.1726, allocations: 11.83 kB / 496.5 MB, free: 3.812 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001944/0.1746, allocations: 1.198 MB / 497.7 MB, free: 2.598 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002224/0.1748, allocations: 192.2 kB / 497.9 MB, free: 2.391 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.804e-05/0.1749, allocations: 12 kB / 497.9 MB, free: 2.379 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004952/0.1754, allocations: 67.94 kB / 498 MB, free: 2.312 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001125/0.1755, allocations: 39.89 kB / 498 MB, free: 2.273 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.854e-05/0.1755, allocations: 12 kB / 498.1 MB, free: 2.262 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006168/0.1762, allocations: 455 kB / 498.5 MB, free: 1.82 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1762, allocations: 0 / 498.5 MB, free: 1.82 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007978/0.177, allocations: 200 kB / 498.7 MB, free: 1.625 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 18 (limPID.I.y,limPID.D.x,transferFunction.x_scaled[1],stateSpace.x[1],stateSpace.x[2],lowpassButterworth.x1[1],lowpassButterworth.x2[1],criticalDamping.x[1],criticalDamping.x[2],integrator.y,limIntegrator.y,derivative.x,firstOrder.y,secondOrder.y,secondOrder.yd,pI.x,pID.I.y,pID.D.x) * 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 (44): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002253/0.1792, allocations: 1.756 MB / 0.4887 GB, free: 15.83 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002771/0.182, allocations: 1.241 MB / 0.4899 GB, free: 14.57 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.182, allocations: 0 / 0.4899 GB, free: 14.57 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006122/0.1826, allocations: 303.9 kB / 0.4902 GB, free: 14.27 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001028/0.1837, allocations: 178.6 kB / 0.4904 GB, free: 14.11 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00789/0.1916, allocations: 4.903 MB / 0.4952 GB, free: 9.023 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005402/0.1922, allocations: 0.9537 MB / 0.4961 GB, free: 8.043 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005364/0.1927, allocations: 132.8 kB / 0.4962 GB, free: 7.91 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003762/0.1931, allocations: 259.3 kB / 0.4965 GB, free: 7.656 MB / 382.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1931, allocations: 0 / 0.4965 GB, free: 7.656 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2714/0.4645, allocations: 14.19 MB / 0.5103 GB, free: 47.29 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001555/0.4647, allocations: 201.5 kB / 0.5105 GB, free: 47.06 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.256/2.72, allocations: 0 / 0.5105 GB, free: 47.06 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_SteadyState.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_SteadyState.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_SteadyState.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_SteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_SteadyState_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Blocks_Continuous_SteadyState_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Blocks_Continuous_SteadyState.fmu > ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_SteadyState.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Blocks.Continuous_SteadyState_res.mat does not exist to compare? outputFormat=mat