Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialOutput.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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(ModelicaTest.Blocks.Continuous_InitialOutput,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_Continuous_InitialOutput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Continuous_InitialOutput,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_Continuous_InitialOutput",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001278/0.001277, allocations: 113.6 kB / 17.78 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001329/0.001329, allocations: 203.9 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.557/1.557, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2277/0.2277, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001736/0.001736, allocations: 71.88 kB / 480.8 MB, free: 4.555 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4402/0.442, allocations: 62.43 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_InitialOutput): time 0.005352/0.4474, allocations: 3.377 MB / 0.5338 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004043/0.4515, allocations: 1.607 MB / 0.5354 GB, free: 9.445 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000724/0.4522, allocations: 22.66 kB / 0.5354 GB, free: 9.438 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007022/0.4529, allocations: 137.5 kB / 0.5355 GB, free: 9.324 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007022/0.4537, allocations: 200.5 kB / 0.5357 GB, free: 9.164 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001647/0.4554, allocations: 0.5361 MB / 0.5363 GB, free: 8.754 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001344/0.4567, allocations: 0.9536 MB / 0.5372 GB, free: 8.172 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004632/0.4572, allocations: 228.7 kB / 0.5374 GB, free: 8.035 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006822/0.4579, allocations: 373.9 kB / 0.5378 GB, free: 7.805 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006686/0.4586, allocations: 413.9 kB / 0.5382 GB, free: 7.52 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001445/0.4587, allocations: 63.56 kB / 0.5382 GB, free: 7.52 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003752/0.4591, allocations: 195.2 kB / 0.5384 GB, free: 7.441 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002438/0.4594, allocations: 195.5 kB / 0.5386 GB, free: 7.293 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003624/0.4598, allocations: 341.4 kB / 0.5389 GB, free: 7.023 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001332/0.4611, allocations: 0.9197 MB / 0.5398 GB, free: 6.348 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.588e-06/0.4611, allocations: 5.125 kB / 0.5398 GB, free: 6.344 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.186e-06/0.4611, allocations: 0 / 0.5398 GB, free: 6.344 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.581e-05/0.4611, allocations: 0 / 0.5398 GB, free: 6.344 MB / 398.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.002889/0.464, allocations: 1.192 MB / 0.541 GB, free: 5.414 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.586e-05/0.4641, allocations: 15.84 kB / 0.541 GB, free: 5.41 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001112/0.4642, allocations: 80.56 kB / 0.5411 GB, free: 5.336 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003237/0.4646, allocations: 110.2 kB / 0.5412 GB, free: 5.277 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001134/0.4657, allocations: 0.5924 MB / 0.5418 GB, free: 4.785 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.765e-05/0.4658, allocations: 37.66 kB / 0.5418 GB, free: 4.77 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001114/0.4659, allocations: 55.12 kB / 0.5419 GB, free: 4.75 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001285/0.4672, allocations: 0.6203 MB / 0.5425 GB, free: 4.305 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.498e-05/0.4672, allocations: 2.219 kB / 0.5425 GB, free: 4.305 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.831e-05/0.4673, allocations: 20.47 kB / 0.5425 GB, free: 4.289 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.624e-05/0.4673, allocations: 16 kB / 0.5425 GB, free: 4.285 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001171/0.4685, allocations: 469.6 kB / 0.5429 GB, free: 4.07 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004192/0.4727, allocations: 2.642 MB / 0.5455 GB, free: 1.867 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00116/0.4739, allocations: 0.5096 MB / 0.546 GB, free: 1.582 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000605/0.4745, allocations: 272.2 kB / 0.5463 GB, free: 1.324 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.495e-05/0.4745, allocations: 4.234 kB / 0.5463 GB, free: 1.32 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.669e-05/0.4746, allocations: 42.73 kB / 0.5463 GB, free: 1.27 MB / 398.1 MB Notification: Performance of pre-optimization done (n=45): time 2.033e-06/0.4746, allocations: 0 / 0.5463 GB, free: 1.27 MB / 398.1 MB Notification: Performance of matching and sorting (n=46): time 0.002758/0.4774, allocations: 1.176 MB / 0.5475 GB, free: 88 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001202/0.4775, allocations: 162.2 kB / 0.5476 GB, free: 15.89 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009528/0.4785, allocations: 0.649 MB / 0.5483 GB, free: 15.23 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.436e-05/0.4785, allocations: 41.7 kB / 0.5483 GB, free: 15.18 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003237/0.4789, allocations: 365.2 kB / 0.5487 GB, free: 14.82 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001776/0.4791, allocations: 182.4 kB / 0.5488 GB, free: 14.64 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000221/0.4793, allocations: 122.3 kB / 0.5489 GB, free: 14.52 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.4795, allocations: 333.9 kB / 0.5493 GB, free: 14.19 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006882/0.4802, allocations: 287.3 kB / 0.5495 GB, free: 13.9 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007918/0.481, allocations: 449.2 kB / 0.55 GB, free: 13.39 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001429/0.4824, allocations: 0.7122 MB / 0.5507 GB, free: 12.62 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.4824, allocations: 4 kB / 0.5507 GB, free: 12.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001901/0.4843, allocations: 0.8276 MB / 0.5515 GB, free: 11.79 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.433e-05/0.4844, allocations: 8 kB / 0.5515 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.689e-05/0.4844, allocations: 4 kB / 0.5515 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.559e-05/0.4844, allocations: 8 kB / 0.5515 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009502/0.4854, allocations: 191.8 kB / 0.5517 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.923e-05/0.4854, allocations: 11.92 kB / 0.5517 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006971/0.4861, allocations: 87.69 kB / 0.5518 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.164e-05/0.4862, allocations: 27.98 kB / 0.5518 GB, free: 11.45 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009031/0.4871, allocations: 421.2 kB / 0.5522 GB, free: 11.04 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007387/0.4878, allocations: 437.2 kB / 0.5526 GB, free: 10.54 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001326/0.4892, allocations: 0.6921 MB / 0.5533 GB, free: 9.789 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.837e-06/0.4892, allocations: 0 / 0.5533 GB, free: 9.789 MB / 414.1 MB Notification: Performance of matching and sorting (n=79) (initialization_lambda0): time 0.001769/0.491, allocations: 0.8125 MB / 0.5541 GB, free: 8.969 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.491, allocations: 8 kB / 0.5541 GB, free: 8.961 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.491, allocations: 4 kB / 0.5541 GB, free: 8.957 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.491, allocations: 8 kB / 0.5541 GB, free: 8.949 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008587/0.4919, allocations: 192.3 kB / 0.5543 GB, free: 8.762 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.695e-05/0.4919, allocations: 15.88 kB / 0.5543 GB, free: 8.746 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006309/0.4926, allocations: 95.53 kB / 0.5544 GB, free: 8.652 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.095e-05/0.4926, allocations: 20 kB / 0.5544 GB, free: 8.633 MB / 414.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 (78): * Single equations (assignments): 77 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002586/0.4929, allocations: 212.1 kB / 0.5546 GB, free: 8.418 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001929/0.4931, allocations: 83.48 kB / 0.5547 GB, free: 8.336 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002327/0.4933, allocations: 94.83 kB / 0.5548 GB, free: 8.238 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.548e-05/0.4934, allocations: 11.94 kB / 0.5548 GB, free: 8.227 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.897e-06/0.4934, allocations: 0 / 0.5548 GB, free: 8.227 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.957e-06/0.4934, allocations: 3.984 kB / 0.5548 GB, free: 8.223 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002182/0.4956, allocations: 1.26 MB / 0.556 GB, free: 6.898 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.4956, allocations: 4 kB / 0.556 GB, free: 6.895 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006646/0.4963, allocations: 103.9 kB / 0.5561 GB, free: 6.793 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.608e-06/0.4963, allocations: 7.984 kB / 0.5561 GB, free: 6.785 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.956e-05/0.4964, allocations: 16 kB / 0.5562 GB, free: 6.77 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.4964, allocations: 64 / 0.5562 GB, free: 6.77 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.083e-06/0.4964, allocations: 15.92 kB / 0.5562 GB, free: 6.754 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002152/0.4985, allocations: 1.169 MB / 0.5573 GB, free: 5.559 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003391/0.4989, allocations: 200.5 kB / 0.5575 GB, free: 5.344 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001048/0.499, allocations: 15.98 kB / 0.5575 GB, free: 5.328 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005573/0.4996, allocations: 43.95 kB / 0.5576 GB, free: 5.285 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001376/0.4997, allocations: 51.88 kB / 0.5576 GB, free: 5.234 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.219e-05/0.4998, allocations: 12 kB / 0.5576 GB, free: 5.223 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007018/0.5005, allocations: 459 kB / 0.5581 GB, free: 4.781 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5005, allocations: 0 / 0.5581 GB, free: 4.781 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009955/0.5015, allocations: 219.9 kB / 0.5583 GB, free: 4.566 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (46): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002731/0.5042, allocations: 1.757 MB / 0.56 GB, free: 2.77 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002365/0.5066, allocations: 0.9813 MB / 0.5609 GB, free: 1.789 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.5066, allocations: 0 / 0.5609 GB, free: 1.789 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007082/0.5073, allocations: 294.4 kB / 0.5612 GB, free: 1.504 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001238/0.5086, allocations: 194.1 kB / 0.5614 GB, free: 1.324 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01189/0.5205, allocations: 6.776 MB / 0.568 GB, free: 10.28 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006476/0.5212, allocations: 0.9501 MB / 0.569 GB, free: 9.305 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0006287/0.5218, allocations: 144.8 kB / 0.5691 GB, free: 9.164 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004661/0.5223, allocations: 263.3 kB / 0.5693 GB, free: 8.906 MB / 430.1 MB Notification: Performance of SimCode: time 3.386e-06/0.5223, allocations: 0 / 0.5693 GB, free: 8.906 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04199/0.5643, allocations: 15.59 MB / 0.5846 GB, free: 9.441 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.373/9.937, allocations: 10.41 kB / 0.5846 GB, free: 9.434 MB / 446.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialOutput.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialOutput.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialOutput.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialOutput.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialOutput_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00044 ModelicaTest_trunk_ModelicaTest_Blocks_Continuous_InitialOutput.fmu > ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialOutput.pipe 2>&1)