Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.Example2.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Examples.Performance.Example2,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_Example2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.Example2,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_Example2",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.001145/0.001145, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00218/0.00218, allocations: 196.2 kB / 16.53 MB, free: 6.699 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.321/1.321, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7541/0.7541, allocations: 132.2 MB / 422.6 MB, free: 1.785 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00186/0.00186, allocations: 64.33 kB / 0.5019 GB, free: 3.777 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3588/0.3607, allocations: 80.19 MB / 0.5802 GB, free: 4.57 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example2): time 0.0292/0.3899, allocations: 29.62 MB / 0.6091 GB, free: 14.76 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0143/0.4043, allocations: 9.914 MB / 0.6188 GB, free: 6.746 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001815/0.4061, allocations: 53.84 kB / 0.6188 GB, free: 6.723 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002128/0.4083, allocations: 0.6752 MB / 0.6195 GB, free: 6.191 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003841/0.4121, allocations: 1.457 MB / 0.6209 GB, free: 5.039 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003226/0.4154, allocations: 1.372 MB / 0.6223 GB, free: 4.059 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.004471/0.4199, allocations: 3.823 MB / 0.626 GB, free: 1.871 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001772/0.4217, allocations: 1.355 MB / 0.6273 GB, free: 1.004 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002864/0.4245, allocations: 1.493 MB / 0.6288 GB, free: 15.63 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001336/0.4259, allocations: 1.042 MB / 0.6298 GB, free: 14.59 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002049/0.4261, allocations: 120 kB / 0.6299 GB, free: 14.47 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002265/0.4284, allocations: 1.116 MB / 0.631 GB, free: 13.35 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004065/0.4288, allocations: 406.6 kB / 0.6314 GB, free: 12.95 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008369/0.4296, allocations: 0.7851 MB / 0.6321 GB, free: 12.16 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003029/0.4327, allocations: 2.415 MB / 0.6345 GB, free: 9.742 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.4327, allocations: 4 kB / 0.6345 GB, free: 9.738 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.4327, allocations: 0 / 0.6345 GB, free: 9.738 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.841e-05/0.4327, allocations: 3.938 kB / 0.6345 GB, free: 9.734 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.002859/0.4356, allocations: 1.931 MB / 0.6364 GB, free: 7.746 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.4356, allocations: 15.97 kB / 0.6364 GB, free: 7.73 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001506/0.4358, allocations: 118.8 kB / 0.6365 GB, free: 7.605 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001051/0.4369, allocations: 250.8 kB / 0.6368 GB, free: 7.359 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00207/0.4389, allocations: 1.296 MB / 0.638 GB, free: 6.008 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.898e-05/0.439, allocations: 66 kB / 0.6381 GB, free: 5.945 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001262/0.4392, allocations: 84 kB / 0.6382 GB, free: 5.863 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001607/0.4408, allocations: 0.981 MB / 0.6391 GB, free: 4.824 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.243e-05/0.4408, allocations: 0 / 0.6391 GB, free: 4.824 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.863e-05/0.4409, allocations: 36 kB / 0.6392 GB, free: 4.789 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.688e-05/0.4409, allocations: 19.94 kB / 0.6392 GB, free: 4.77 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001433/0.4424, allocations: 0.7142 MB / 0.6399 GB, free: 4.055 MB / 478.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005249/0.4476, allocations: 4.871 MB / 0.6446 GB, free: 14.85 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001192/0.4488, allocations: 0.5428 MB / 0.6452 GB, free: 14.3 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006334/0.4495, allocations: 320.1 kB / 0.6455 GB, free: 13.99 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002027/0.4515, allocations: 1.58 MB / 0.647 GB, free: 12.26 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006696/0.4522, allocations: 327.1 kB / 0.6473 GB, free: 11.93 MB / 494.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002421/0.4524, allocations: 47.44 kB / 0.6474 GB, free: 11.88 MB / 494.1 MB Notification: Performance of pre-optimization done (n=43): time 2.715e-06/0.4525, allocations: 0 / 0.6474 GB, free: 11.88 MB / 494.1 MB Notification: Performance of matching and sorting (n=43): time 0.003048/0.4555, allocations: 1.171 MB / 0.6485 GB, free: 10.68 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.557e-05/0.4556, allocations: 55.41 kB / 0.6486 GB, free: 10.61 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001486/0.4571, allocations: 1.278 MB / 0.6498 GB, free: 9.32 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.696e-05/0.4571, allocations: 49.69 kB / 0.6499 GB, free: 9.266 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004945/0.4576, allocations: 0.6411 MB / 0.6505 GB, free: 8.617 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001261/0.4578, allocations: 153.9 kB / 0.6506 GB, free: 8.465 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002179/0.458, allocations: 162.1 kB / 0.6508 GB, free: 8.301 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001015/0.4581, allocations: 333.9 kB / 0.6511 GB, free: 7.969 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000569/0.4587, allocations: 271.6 kB / 0.6514 GB, free: 7.703 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007563/0.4594, allocations: 0.5865 MB / 0.6519 GB, free: 6.965 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001301/0.4607, allocations: 0.8098 MB / 0.6527 GB, free: 6.047 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.4608, allocations: 3.938 kB / 0.6527 GB, free: 6.043 MB / 494.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.002197/0.463, allocations: 1.102 MB / 0.6538 GB, free: 4.922 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.629e-05/0.463, allocations: 33.7 kB / 0.6538 GB, free: 4.883 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.324e-05/0.463, allocations: 8 kB / 0.6539 GB, free: 4.875 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006609/0.4637, allocations: 188.8 kB / 0.654 GB, free: 4.688 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005527/0.4643, allocations: 131.8 kB / 0.6542 GB, free: 4.559 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007207/0.465, allocations: 0.7755 MB / 0.6549 GB, free: 3.762 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006725/0.4657, allocations: 44.69 kB / 0.655 GB, free: 3.719 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.751e-05/0.4658, allocations: 39.98 kB / 0.655 GB, free: 3.68 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008692/0.4666, allocations: 0.5522 MB / 0.6555 GB, free: 3.125 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006762/0.4673, allocations: 0.5514 MB / 0.6561 GB, free: 2.426 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001063/0.4684, allocations: 0.7395 MB / 0.6568 GB, free: 1.578 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.96e-06/0.4684, allocations: 4 kB / 0.6568 GB, free: 1.574 MB / 494.1 MB Notification: Performance of matching and sorting (n=84) (initialization_lambda0): time 0.001736/0.4701, allocations: 1.065 MB / 0.6578 GB, free: 484 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.455e-05/0.4702, allocations: 41.69 kB / 0.6579 GB, free: 436 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.912e-06/0.4702, allocations: 4 kB / 0.6579 GB, free: 432 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001968/0.4704, allocations: 109.3 kB / 0.658 GB, free: 320 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004817/0.4709, allocations: 135.7 kB / 0.6581 GB, free: 184 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002159/0.4731, allocations: 2.362 MB / 0.6604 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000657/0.4737, allocations: 44.7 kB / 0.6605 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.635e-05/0.4738, allocations: 35.98 kB / 0.6605 GB, free: 13.59 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 7 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,nRes.y,from_dp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 68 * Array equations: 1 * Algorithm blocks: 1 * 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 {(5,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0002164/0.474, allocations: 232 kB / 0.6607 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001642/0.4742, allocations: 130.4 kB / 0.6608 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001869/0.4761, allocations: 0.8804 MB / 0.6617 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.051e-05/0.4761, allocations: 7.938 kB / 0.6617 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.784e-06/0.4761, allocations: 0 / 0.6617 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001356/0.4775, allocations: 0.8726 MB / 0.6626 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002796/0.4803, allocations: 1.791 MB / 0.6643 GB, free: 9.512 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.4803, allocations: 0 / 0.6643 GB, free: 9.512 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004066/0.4807, allocations: 79.94 kB / 0.6644 GB, free: 9.434 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002764/0.481, allocations: 128.2 kB / 0.6645 GB, free: 9.309 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.791e-05/0.4811, allocations: 15.98 kB / 0.6645 GB, free: 9.293 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005719/0.4816, allocations: 0.7511 MB / 0.6653 GB, free: 8.516 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.4816, allocations: 7.938 kB / 0.6653 GB, free: 8.508 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002114/0.4838, allocations: 1.17 MB / 0.6664 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003712/0.4841, allocations: 259.4 kB / 0.6667 GB, free: 7.035 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000136/0.4843, allocations: 8 kB / 0.6667 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005237/0.4848, allocations: 31.97 kB / 0.6667 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000101/0.4849, allocations: 40.31 kB / 0.6667 GB, free: 6.957 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.802e-05/0.485, allocations: 19.98 kB / 0.6668 GB, free: 6.938 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001107/0.4861, allocations: 0.8897 MB / 0.6676 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.1e-07/0.4861, allocations: 0 / 0.6676 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001675/0.4878, allocations: 0.6472 MB / 0.6683 GB, free: 5.398 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump_dp.vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * 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 {(5,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002969/0.4908, allocations: 1.939 MB / 0.6702 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002952/0.4937, allocations: 1.379 MB / 0.6715 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.02e-06/0.4938, allocations: 4.062 kB / 0.6715 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007278/0.4945, allocations: 322.3 kB / 0.6718 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002631/0.4971, allocations: 0.5963 MB / 0.6724 GB, free: 1.137 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.014/0.5112, allocations: 10.06 MB / 0.6822 GB, free: 6.516 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007642/0.512, allocations: 1.271 MB / 0.6835 GB, free: 5.215 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001172/0.5131, allocations: 310.5 kB / 0.6838 GB, free: 4.906 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005823/0.5137, allocations: 0.4914 MB / 0.6842 GB, free: 4.414 MB / 0.5137 GB Notification: Performance of SimCode: time 6.31e-07/0.5137, allocations: 4 kB / 0.6842 GB, free: 4.41 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0665/0.5802, allocations: 36.07 MB / 0.7195 GB, free: 0.8008 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.78/12.36, allocations: 2.188 kB / 0.7195 GB, free: 0.8008 MB / 0.545 GB (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.Example2.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.Example2.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.Example2.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.Example2.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Examples.Performance.Example2_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 IDEAS_IDEAS_Fluid_Examples_Performance_Example2.fmu > IDEAS_IDEAS.Fluid.Examples.Performance.Example2.pipe 2>&1)