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.0008769/0.0008768, allocations: 91.45 kB / 15.06 MB, free: 1.098 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.0009571/0.0009571, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.34/1.34, allocations: 223.3 MB / 240 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7616/0.7616, allocations: 132.3 MB / 423.4 MB, free: 2.062 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003221/0.0003221, allocations: 8 kB / 0.5035 GB, free: 4.16 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4591/0.4595, allocations: 81.57 MB / 0.5831 GB, free: 4.008 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example2): time 0.027/0.4865, allocations: 27.17 MB / 0.6097 GB, free: 216 kB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01411/0.5007, allocations: 9.235 MB / 0.6187 GB, free: 8.77 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001892/0.5026, allocations: 33.66 kB / 0.6187 GB, free: 8.758 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001691/0.5043, allocations: 467.9 kB / 0.6192 GB, free: 8.391 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003915/0.5082, allocations: 1.195 MB / 0.6203 GB, free: 7.457 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003606/0.5119, allocations: 1.05 MB / 0.6214 GB, free: 6.789 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.006719/0.5186, allocations: 4.289 MB / 0.6256 GB, free: 4.262 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002412/0.521, allocations: 1.001 MB / 0.6265 GB, free: 3.641 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003382/0.5244, allocations: 1.212 MB / 0.6277 GB, free: 2.812 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002311/0.5268, allocations: 1.003 MB / 0.6287 GB, free: 1.805 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004057/0.5272, allocations: 52 kB / 0.6287 GB, free: 1.754 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002734/0.5299, allocations: 0.8581 MB / 0.6296 GB, free: 0.8945 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006312/0.5306, allocations: 314.7 kB / 0.6299 GB, free: 0.5859 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007571/0.5314, allocations: 321 kB / 0.6302 GB, free: 272 kB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002737/0.5341, allocations: 1.804 MB / 0.6319 GB, free: 14.46 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.5341, allocations: 0 / 0.6319 GB, free: 14.46 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.5341, allocations: 0 / 0.6319 GB, free: 14.46 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.675e-05/0.5342, allocations: 0 / 0.6319 GB, free: 14.46 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.002877/0.5371, allocations: 1.721 MB / 0.6336 GB, free: 12.68 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/0.5371, allocations: 12.03 kB / 0.6336 GB, free: 12.66 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001947/0.5373, allocations: 118.6 kB / 0.6338 GB, free: 12.54 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001062/0.5384, allocations: 261.9 kB / 0.634 GB, free: 12.28 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002461/0.5409, allocations: 1.269 MB / 0.6352 GB, free: 10.96 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.568e-05/0.5409, allocations: 70 kB / 0.6353 GB, free: 10.89 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001355/0.5411, allocations: 84 kB / 0.6354 GB, free: 10.81 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001788/0.5429, allocations: 1.027 MB / 0.6364 GB, free: 9.73 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.674e-05/0.5429, allocations: 4 kB / 0.6364 GB, free: 9.727 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.355e-05/0.543, allocations: 32 kB / 0.6364 GB, free: 9.695 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.879e-05/0.543, allocations: 16 kB / 0.6364 GB, free: 9.68 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001677/0.5447, allocations: 0.7883 MB / 0.6372 GB, free: 8.887 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.006009/0.5507, allocations: 5.141 MB / 0.6422 GB, free: 3.379 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001312/0.5521, allocations: 0.6493 MB / 0.6429 GB, free: 2.723 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006876/0.5528, allocations: 362.9 kB / 0.6432 GB, free: 2.367 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00226/0.555, allocations: 1.678 MB / 0.6449 GB, free: 0.5391 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007399/0.5558, allocations: 379 kB / 0.6452 GB, free: 160 kB / 478.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004029/0.5562, allocations: 99.47 kB / 0.6453 GB, free: 60 kB / 478.1 MB Notification: Performance of pre-optimization done (n=44): time 3.577e-06/0.5562, allocations: 0 / 0.6453 GB, free: 60 kB / 478.1 MB Notification: Performance of matching and sorting (n=44): time 0.003543/0.5598, allocations: 1.377 MB / 0.6467 GB, free: 14.65 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.06e-05/0.5598, allocations: 63.41 kB / 0.6467 GB, free: 14.58 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001663/0.5615, allocations: 1.321 MB / 0.648 GB, free: 13.24 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.093e-05/0.5616, allocations: 37.7 kB / 0.648 GB, free: 13.2 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005263/0.5621, allocations: 0.6451 MB / 0.6487 GB, free: 12.55 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001333/0.5623, allocations: 149.8 kB / 0.6488 GB, free: 12.4 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.789e-05/0.5623, allocations: 16 kB / 0.6488 GB, free: 12.38 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001232/0.5624, allocations: 337.9 kB / 0.6491 GB, free: 12.05 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005869/0.563, allocations: 269.8 kB / 0.6494 GB, free: 11.78 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008172/0.5639, allocations: 0.6235 MB / 0.65 GB, free: 11.01 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007296/0.5646, allocations: 382.2 kB / 0.6504 GB, free: 10.63 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.387e-06/0.5646, allocations: 3.938 kB / 0.6504 GB, free: 10.62 MB / 494.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00236/0.567, allocations: 1.145 MB / 0.6515 GB, free: 9.461 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002367/0.5672, allocations: 351 kB / 0.6518 GB, free: 9 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.682e-05/0.5673, allocations: 15.98 kB / 0.6519 GB, free: 8.984 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007683/0.568, allocations: 216.7 kB / 0.6521 GB, free: 8.77 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005476/0.5686, allocations: 155.7 kB / 0.6522 GB, free: 8.617 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008857/0.5695, allocations: 0.8682 MB / 0.6531 GB, free: 7.723 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009859/0.5705, allocations: 96.47 kB / 0.6531 GB, free: 7.629 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.756e-05/0.5706, allocations: 39.98 kB / 0.6532 GB, free: 7.59 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/0.5706, allocations: 4 kB / 0.6532 GB, free: 7.586 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001524/0.5721, allocations: 0.8717 MB / 0.654 GB, free: 6.707 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.752e-05/0.5722, allocations: 8 kB / 0.654 GB, free: 6.699 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003357/0.5725, allocations: 142.7 kB / 0.6542 GB, free: 6.559 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004504/0.573, allocations: 139.9 kB / 0.6543 GB, free: 6.422 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002377/0.5754, allocations: 2.346 MB / 0.6566 GB, free: 3.934 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000839/0.5762, allocations: 80.59 kB / 0.6567 GB, free: 3.855 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.696e-05/0.5763, allocations: 39.98 kB / 0.6567 GB, free: 3.816 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,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 (72): * Single equations (assignments): 69 * Array equations: 1 * Algorithm blocks: 1 * 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: 0 * Non-linear torn systems: 1 {5 7} Notification: Performance of prepare postOptimizeDAE: time 0.0006688/0.577, allocations: 476.7 kB / 0.6572 GB, free: 3.34 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001838/0.5772, allocations: 130.4 kB / 0.6573 GB, free: 3.211 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001972/0.5792, allocations: 0.9544 MB / 0.6582 GB, free: 2.242 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.069e-05/0.5792, allocations: 4 kB / 0.6582 GB, free: 2.238 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.5792, allocations: 3.984 kB / 0.6582 GB, free: 2.234 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001433/0.5806, allocations: 0.9507 MB / 0.6592 GB, free: 1.215 MB / 494.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 postOpt removeSimpleEquations (simulation): time 0.003309/0.5839, allocations: 1.986 MB / 0.6611 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.672e-06/0.584, allocations: 3.984 kB / 0.6611 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004027/0.5844, allocations: 87.94 kB / 0.6612 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000308/0.5847, allocations: 140.7 kB / 0.6613 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.361e-05/0.5848, allocations: 12 kB / 0.6613 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006826/0.5854, allocations: 0.8214 MB / 0.6621 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.167e-06/0.5855, allocations: 4 kB / 0.6621 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002323/0.5878, allocations: 1.315 MB / 0.6634 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004652/0.5883, allocations: 283.4 kB / 0.6637 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001778/0.5885, allocations: 8 kB / 0.6637 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007492/0.5892, allocations: 87.83 kB / 0.6638 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.226e-05/0.5893, allocations: 36.38 kB / 0.6638 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-05/0.5894, allocations: 23.98 kB / 0.6639 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001264/0.5906, allocations: 0.9092 MB / 0.6647 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5907, allocations: 0 / 0.6647 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002027/0.5927, allocations: 0.6785 MB / 0.6654 GB, free: 10.67 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 (39): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * 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: 0 * Non-linear torn systems: 1 {5 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.003251/0.5959, allocations: 2.054 MB / 0.6674 GB, free: 8.586 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002924/0.5989, allocations: 1.413 MB / 0.6688 GB, free: 7.137 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.421e-06/0.5989, allocations: 5.062 kB / 0.6688 GB, free: 7.133 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007705/0.5997, allocations: 362.3 kB / 0.6691 GB, free: 6.777 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002753/0.6024, allocations: 0.5855 MB / 0.6697 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01741/0.6199, allocations: 8.354 MB / 0.6779 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001081/0.621, allocations: 1.267 MB / 0.6791 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001365/0.6224, allocations: 306.4 kB / 0.6794 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007817/0.6232, allocations: 0.4953 MB / 0.6799 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of SimCode: time 1.012e-06/0.6232, allocations: 0 / 0.6799 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06988/0.6931, allocations: 37.65 MB / 0.7166 GB, free: 6.223 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001773/0.6933, allocations: 232.2 kB / 0.7169 GB, free: 5.988 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.714/3.408, allocations: 2.375 kB / 0.7169 GB, free: 5.988 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Examples_Performance_Example2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Examples_Performance_Example2.fmu > IDEAS_IDEAS.Fluid.Examples.Performance.Example2.pipe 2>&1) Environment - environmentSimulation: