Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Continuous_SteadyState.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 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_SteadyState,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_Continuous_SteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Continuous_SteadyState,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_Continuous_SteadyState",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001534/0.001534, allocations: 118.2 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001698/0.001698, allocations: 205.2 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.518/1.518, allocations: 227.4 MB / 247 MB, free: 10.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2462/0.2462, allocations: 46.13 MB / 344.4 MB, free: 11.46 MB / 286.1 MB Warning: Requested package Modelica 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.002415/0.002415, allocations: 83.86 kB / 480.9 MB, free: 4.523 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4159/0.4183, allocations: 62.45 MB / 0.5306 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_SteadyState): time 0.007194/0.4256, allocations: 3.348 MB / 0.5339 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005591/0.4313, allocations: 1.601 MB / 0.5355 GB, free: 9.461 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00143/0.4328, allocations: 23 kB / 0.5355 GB, free: 9.453 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009234/0.4338, allocations: 144.6 kB / 0.5356 GB, free: 9.332 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009482/0.4348, allocations: 189.9 kB / 0.5358 GB, free: 9.18 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002148/0.4369, allocations: 0.5403 MB / 0.5363 GB, free: 8.766 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002039/0.439, allocations: 0.8983 MB / 0.5372 GB, free: 8.215 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00072/0.4397, allocations: 233 kB / 0.5374 GB, free: 8.074 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001019/0.4407, allocations: 357.3 kB / 0.5378 GB, free: 7.852 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008664/0.4416, allocations: 405.5 kB / 0.5381 GB, free: 7.57 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001513/0.4418, allocations: 61.38 kB / 0.5382 GB, free: 7.57 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000216/0.442, allocations: 65.75 kB / 0.5383 GB, free: 7.57 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003174/0.4423, allocations: 197.8 kB / 0.5385 GB, free: 7.422 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004428/0.4428, allocations: 348.4 kB / 0.5388 GB, free: 7.145 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001293/0.4441, allocations: 0.7737 MB / 0.5395 GB, free: 6.559 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.032e-06/0.4441, allocations: 3.938 kB / 0.5395 GB, free: 6.555 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.594e-06/0.4441, allocations: 0 / 0.5395 GB, free: 6.555 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.664e-05/0.4441, allocations: 1.312 kB / 0.5395 GB, free: 6.555 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.003002/0.4472, allocations: 1.186 MB / 0.5407 GB, free: 5.629 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.053e-05/0.4472, allocations: 9.953 kB / 0.5407 GB, free: 5.629 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001269/0.4474, allocations: 85.31 kB / 0.5408 GB, free: 5.551 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003361/0.4477, allocations: 106.5 kB / 0.5409 GB, free: 5.496 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001084/0.4488, allocations: 0.5955 MB / 0.5415 GB, free: 5 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.995e-05/0.4489, allocations: 38.59 kB / 0.5415 GB, free: 4.984 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000107/0.449, allocations: 54.22 kB / 0.5416 GB, free: 4.965 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001286/0.4503, allocations: 0.6177 MB / 0.5422 GB, free: 4.523 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.56e-05/0.4503, allocations: 6.094 kB / 0.5422 GB, free: 4.52 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.776e-05/0.4504, allocations: 20.66 kB / 0.5422 GB, free: 4.504 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.261e-05/0.4504, allocations: 11.91 kB / 0.5422 GB, free: 4.504 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001165/0.4516, allocations: 465 kB / 0.5427 GB, free: 4.293 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004112/0.4557, allocations: 2.622 MB / 0.5452 GB, free: 2.102 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001234/0.457, allocations: 0.5461 MB / 0.5457 GB, free: 1.797 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006302/0.4576, allocations: 253.9 kB / 0.546 GB, free: 1.664 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.816e-05/0.4577, allocations: 4.438 kB / 0.546 GB, free: 1.664 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.406e-05/0.4577, allocations: 41.94 kB / 0.546 GB, free: 1.617 MB / 398.1 MB Notification: Performance of pre-optimization done (n=43): time 2.575e-06/0.4577, allocations: 0 / 0.546 GB, free: 1.617 MB / 398.1 MB Notification: Performance of matching and sorting (n=44): time 0.002766/0.4605, allocations: 1.167 MB / 0.5472 GB, free: 472 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001046/0.4606, allocations: 166.2 kB / 0.5473 GB, free: 268 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001002/0.4616, allocations: 0.6491 MB / 0.548 GB, free: 15.6 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.265e-05/0.4617, allocations: 37.7 kB / 0.548 GB, free: 15.55 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003196/0.462, allocations: 364.5 kB / 0.5483 GB, free: 15.19 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001782/0.4622, allocations: 178.4 kB / 0.5485 GB, free: 15.02 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002072/0.4624, allocations: 122.3 kB / 0.5486 GB, free: 14.89 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001668/0.4626, allocations: 337.9 kB / 0.549 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006575/0.4632, allocations: 259.3 kB / 0.5492 GB, free: 14.3 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007948/0.4641, allocations: 437.5 kB / 0.5496 GB, free: 13.8 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001407/0.4655, allocations: 0.6661 MB / 0.5503 GB, free: 13.08 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.042e-06/0.4655, allocations: 4 kB / 0.5503 GB, free: 13.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0019/0.4674, allocations: 0.8223 MB / 0.5511 GB, free: 12.25 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.294e-05/0.4674, allocations: 4 kB / 0.5511 GB, free: 12.24 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.352e-05/0.4674, allocations: 8 kB / 0.5511 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002686/0.4677, allocations: 65.28 kB / 0.5512 GB, free: 12.17 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009074/0.4686, allocations: 191.7 kB / 0.5513 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001654/0.4703, allocations: 1.601 MB / 0.5529 GB, free: 10.24 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006439/0.471, allocations: 83.83 kB / 0.553 GB, free: 10.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.81e-05/0.471, allocations: 24 kB / 0.553 GB, free: 10.14 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008814/0.4719, allocations: 401.3 kB / 0.5534 GB, free: 9.742 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007398/0.4727, allocations: 417.2 kB / 0.5538 GB, free: 9.266 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001328/0.474, allocations: 0.6492 MB / 0.5544 GB, free: 8.555 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.779e-06/0.474, allocations: 4 kB / 0.5544 GB, free: 8.551 MB / 414.1 MB Notification: Performance of matching and sorting (n=77) (initialization_lambda0): time 0.001749/0.4758, allocations: 0.7902 MB / 0.5552 GB, free: 7.75 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.4758, allocations: 11.98 kB / 0.5552 GB, free: 7.738 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.4758, allocations: 4 kB / 0.5552 GB, free: 7.734 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000186/0.476, allocations: 60.81 kB / 0.5553 GB, free: 7.672 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008362/0.4768, allocations: 196.2 kB / 0.5555 GB, free: 7.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001552/0.4784, allocations: 1.622 MB / 0.557 GB, free: 5.719 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006048/0.479, allocations: 75.72 kB / 0.5571 GB, free: 5.645 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.515e-05/0.4791, allocations: 24.09 kB / 0.5571 GB, free: 5.621 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 (76): * Single equations (assignments): 75 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000262/0.4794, allocations: 220 kB / 0.5573 GB, free: 5.398 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001671/0.4795, allocations: 79.48 kB / 0.5574 GB, free: 5.32 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002235/0.4798, allocations: 94.2 kB / 0.5575 GB, free: 5.223 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.4798, allocations: 4 kB / 0.5575 GB, free: 5.219 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.293e-06/0.4798, allocations: 0 / 0.5575 GB, free: 5.219 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.4798, allocations: 7.938 kB / 0.5575 GB, free: 5.211 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001433/0.4812, allocations: 0.8571 MB / 0.5584 GB, free: 4.297 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.4812, allocations: 0 / 0.5584 GB, free: 4.297 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006434/0.4819, allocations: 103.9 kB / 0.5585 GB, free: 4.195 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.4819, allocations: 0 / 0.5585 GB, free: 4.195 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.903e-05/0.482, allocations: 16 kB / 0.5585 GB, free: 4.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.482, allocations: 0 / 0.5585 GB, free: 4.18 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/0.482, allocations: 4 kB / 0.5585 GB, free: 4.176 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002134/0.4841, allocations: 1.141 MB / 0.5596 GB, free: 3.012 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002617/0.4844, allocations: 204.4 kB / 0.5598 GB, free: 2.793 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.452e-05/0.4845, allocations: 16 kB / 0.5598 GB, free: 2.777 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005567/0.4851, allocations: 51.94 kB / 0.5598 GB, free: 2.727 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001233/0.4852, allocations: 39.83 kB / 0.5599 GB, free: 2.688 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.864e-05/0.4852, allocations: 15.98 kB / 0.5599 GB, free: 2.672 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007206/0.486, allocations: 467 kB / 0.5603 GB, free: 2.223 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.486, allocations: 0 / 0.5603 GB, free: 2.223 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008507/0.4868, allocations: 192 kB / 0.5605 GB, free: 2.035 MB / 414.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 (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.002525/0.4894, allocations: 1.687 MB / 0.5622 GB, free: 324 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002817/0.4922, allocations: 1.192 MB / 0.5633 GB, free: 15.1 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.4922, allocations: 0 / 0.5633 GB, free: 15.1 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006767/0.4929, allocations: 283.6 kB / 0.5636 GB, free: 14.82 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001171/0.4941, allocations: 199.9 kB / 0.5638 GB, free: 14.64 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01151/0.5056, allocations: 6.695 MB / 0.5703 GB, free: 7.684 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006634/0.5063, allocations: 0.9536 MB / 0.5713 GB, free: 6.699 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005661/0.5069, allocations: 136.8 kB / 0.5714 GB, free: 6.566 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004203/0.5073, allocations: 263.3 kB / 0.5717 GB, free: 6.309 MB / 430.1 MB Notification: Performance of SimCode: time 7.42e-07/0.5073, allocations: 0 / 0.5717 GB, free: 6.309 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05538/0.5627, allocations: 15.45 MB / 0.5867 GB, free: 7.023 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.48/13.05, allocations: 15.09 kB / 0.5868 GB, free: 7.012 MB / 446.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Continuous_SteadyState.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Continuous_SteadyState.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Continuous_SteadyState.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Continuous_SteadyState.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Continuous_SteadyState_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_4_1_0-beta_om_ModelicaTest_Blocks_Continuous_SteadyState.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Continuous_SteadyState.pipe 2>&1)