Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS_Fluid_Examples_Performance_Example2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.Example2,fileNamePrefix="IDEAS_dev_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.0008719/0.000872, allocations: 86.09 kB / 15.06 MB, free: 1.09 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.0007954/0.0007957, allocations: 168.7 kB / 15.95 MB, free: 204 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.375/1.375, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.002/1.002, allocations: 135.3 MB / 426.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003082/0.0003083, allocations: 8.719 kB / 0.5071 GB, free: 5.176 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1719/0.1722, allocations: 82.31 MB / 0.5875 GB, free: 3.031 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example2): time 0.351/0.5233, allocations: 27.14 MB / 0.614 GB, free: 34.57 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01063/0.5339, allocations: 9.231 MB / 0.623 GB, free: 33.46 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001155/0.5351, allocations: 35.59 kB / 0.623 GB, free: 33.45 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001438/0.5366, allocations: 457.9 kB / 0.6235 GB, free: 33.26 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002865/0.5395, allocations: 1.203 MB / 0.6246 GB, free: 32.8 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002716/0.5422, allocations: 1.045 MB / 0.6257 GB, free: 32.46 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003909/0.5461, allocations: 4.295 MB / 0.6298 GB, free: 30.84 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001194/0.5473, allocations: 0.996 MB / 0.6308 GB, free: 30.48 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001767/0.5491, allocations: 1.217 MB / 0.632 GB, free: 30.07 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000982/0.5501, allocations: 0.993 MB / 0.633 GB, free: 29.74 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001226/0.5502, allocations: 54.22 kB / 0.633 GB, free: 29.74 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001786/0.552, allocations: 0.8526 MB / 0.6339 GB, free: 29.54 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002603/0.5523, allocations: 325.2 kB / 0.6342 GB, free: 29.41 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000264/0.5525, allocations: 319.4 kB / 0.6345 GB, free: 29.23 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001412/0.554, allocations: 1.794 MB / 0.6362 GB, free: 28.89 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.554, allocations: 4 kB / 0.6362 GB, free: 28.88 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.473e-06/0.554, allocations: 0 / 0.6362 GB, free: 28.88 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.35e-05/0.554, allocations: 0 / 0.6362 GB, free: 28.88 MB / 0.4981 GB 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.002334/0.5563, allocations: 1.727 MB / 0.6379 GB, free: 27.77 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.5564, allocations: 8.75 kB / 0.6379 GB, free: 27.77 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001287/0.5565, allocations: 125.6 kB / 0.638 GB, free: 27.68 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008487/0.5574, allocations: 261.2 kB / 0.6383 GB, free: 27.59 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001784/0.5592, allocations: 1.264 MB / 0.6395 GB, free: 26.93 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.422e-05/0.5592, allocations: 77.45 kB / 0.6396 GB, free: 26.9 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001103/0.5594, allocations: 85.28 kB / 0.6397 GB, free: 26.88 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00146/0.5608, allocations: 1.019 MB / 0.6407 GB, free: 26.41 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.23e-05/0.5609, allocations: 3.938 kB / 0.6407 GB, free: 26.4 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.115e-05/0.5609, allocations: 36.69 kB / 0.6407 GB, free: 26.38 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.664e-05/0.561, allocations: 22.33 kB / 0.6407 GB, free: 26.37 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001373/0.5623, allocations: 0.7845 MB / 0.6415 GB, free: 26.11 MB / 0.4981 GB 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.004347/0.5667, allocations: 5.138 MB / 0.6465 GB, free: 22.31 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00121/0.5679, allocations: 0.6514 MB / 0.6472 GB, free: 22.09 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006261/0.5686, allocations: 351.8 kB / 0.6475 GB, free: 21.98 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001968/0.5705, allocations: 1.688 MB / 0.6491 GB, free: 20.72 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008328/0.5714, allocations: 387.3 kB / 0.6495 GB, free: 20.57 MB / 0.4981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003146/0.5717, allocations: 96.25 kB / 0.6496 GB, free: 20.54 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=44): time 2.985e-06/0.5717, allocations: 4 kB / 0.6496 GB, free: 20.54 MB / 0.4981 GB Notification: Performance of matching and sorting (n=44): time 0.003923/0.5757, allocations: 1.384 MB / 0.651 GB, free: 20.07 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.447e-05/0.5757, allocations: 57.36 kB / 0.651 GB, free: 20.01 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00216/0.5779, allocations: 1.321 MB / 0.6523 GB, free: 19.51 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.358e-05/0.5779, allocations: 38.73 kB / 0.6523 GB, free: 19.47 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006239/0.5786, allocations: 0.6404 MB / 0.653 GB, free: 18.96 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001477/0.5787, allocations: 151.7 kB / 0.6531 GB, free: 18.85 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.13e-05/0.5788, allocations: 14.34 kB / 0.6531 GB, free: 18.84 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001142/0.5789, allocations: 334.3 kB / 0.6534 GB, free: 18.52 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007238/0.5796, allocations: 269.3 kB / 0.6537 GB, free: 18.44 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001008/0.5807, allocations: 0.6258 MB / 0.6543 GB, free: 17.92 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008453/0.5815, allocations: 383.4 kB / 0.6547 GB, free: 17.75 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.865e-06/0.5815, allocations: 2.844 kB / 0.6547 GB, free: 17.75 MB / 0.4981 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002471/0.584, allocations: 1.134 MB / 0.6558 GB, free: 17.31 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001567/0.5842, allocations: 354 kB / 0.6561 GB, free: 16.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.549e-05/0.5842, allocations: 8.016 kB / 0.6561 GB, free: 16.88 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000812/0.585, allocations: 225.3 kB / 0.6564 GB, free: 16.83 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005616/0.5856, allocations: 155.8 kB / 0.6565 GB, free: 16.81 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008478/0.5865, allocations: 0.8615 MB / 0.6573 GB, free: 16.19 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009699/0.5874, allocations: 102.6 kB / 0.6574 GB, free: 16.16 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.057e-05/0.5875, allocations: 46.45 kB / 0.6575 GB, free: 16.15 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.224e-06/0.5875, allocations: 3.844 kB / 0.6575 GB, free: 16.15 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001563/0.5891, allocations: 0.8623 MB / 0.6583 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.5891, allocations: 9.016 kB / 0.6583 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003469/0.5895, allocations: 154.4 kB / 0.6585 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004509/0.59, allocations: 139.1 kB / 0.6586 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002218/0.5922, allocations: 2.341 MB / 0.6609 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008257/0.593, allocations: 91.95 kB / 0.661 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.03e-05/0.5931, allocations: 34.92 kB / 0.661 GB, free: 13.96 MB / 0.4981 GB 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.0007248/0.5938, allocations: 477.2 kB / 0.6615 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001515/0.594, allocations: 131.9 kB / 0.6616 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001978/0.596, allocations: 0.9507 MB / 0.6625 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.173e-05/0.596, allocations: 10.41 kB / 0.6625 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.003e-06/0.596, allocations: 0 / 0.6625 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001436/0.5974, allocations: 0.9511 MB / 0.6635 GB, free: 12.65 MB / 0.4981 GB 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.003169/0.6006, allocations: 1.988 MB / 0.6654 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.6006, allocations: 1.469 kB / 0.6654 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004036/0.601, allocations: 83.36 kB / 0.6655 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003084/0.6014, allocations: 155.6 kB / 0.6656 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.868e-05/0.6014, allocations: 17 kB / 0.6657 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005831/0.602, allocations: 0.815 MB / 0.6665 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.602, allocations: 1.438 kB / 0.6665 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002199/0.6042, allocations: 1.306 MB / 0.6677 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004319/0.6047, allocations: 292.6 kB / 0.668 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001341/0.6048, allocations: 12.47 kB / 0.668 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006982/0.6055, allocations: 86.17 kB / 0.6681 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.305e-05/0.6056, allocations: 37.69 kB / 0.6681 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.464e-05/0.6057, allocations: 22.53 kB / 0.6682 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001337/0.607, allocations: 0.9092 MB / 0.6691 GB, free: 9.836 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.607, allocations: 0 / 0.6691 GB, free: 9.836 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002138/0.6092, allocations: 0.6799 MB / 0.6697 GB, free: 9.715 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.003101/0.6123, allocations: 2.05 MB / 0.6717 GB, free: 8.551 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00294/0.6152, allocations: 1.421 MB / 0.6731 GB, free: 7.965 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.6152, allocations: 0 / 0.6731 GB, free: 7.965 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008008/0.6161, allocations: 359 kB / 0.6734 GB, free: 7.871 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002535/0.6186, allocations: 0.5894 MB / 0.674 GB, free: 7.711 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01595/0.6346, allocations: 8.352 MB / 0.6822 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007125/0.6353, allocations: 1.267 MB / 0.6834 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001342/0.6367, allocations: 312.2 kB / 0.6837 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005576/0.6372, allocations: 0.4946 MB / 0.6842 GB, free: 2.25 MB / 0.4981 GB Notification: Performance of SimCode: time 1.172e-06/0.6372, allocations: 0 / 0.6842 GB, free: 2.25 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05914/0.6964, allocations: 37.65 MB / 0.721 GB, free: 2.547 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001673/0.6966, allocations: 243.8 kB / 0.7212 GB, free: 2.27 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.679/3.375, allocations: 0 / 0.7212 GB, free: 2.27 MB / 0.5294 GB (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example2.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example2.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example2.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example2.fmu > IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example2.pipe 2>&1) Environment - environmentSimulation: