Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.Example3.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: translateModel(IDEAS.Fluid.Examples.Performance.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.Example3") translateModel(IDEAS.Fluid.Examples.Performance.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.Example3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001221/0.001221, allocations: 108 kB / 15.6 MB, free: 132 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.001369/0.001369, allocations: 193 kB / 16.53 MB, free: 6.391 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.286/1.286, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7233/0.7233, allocations: 132.2 MB / 422.6 MB, free: 1.781 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001365, allocations: 68.95 kB / 0.5018 GB, free: 8.777 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1648/0.1661, allocations: 80.21 MB / 0.5801 GB, free: 8.793 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example3): time 0.271/0.4372, allocations: 32.72 MB / 0.612 GB, free: 35.55 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0114/0.4486, allocations: 10.48 MB / 0.6223 GB, free: 34.57 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001107/0.4497, allocations: 49.91 kB / 0.6223 GB, free: 34.55 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001546/0.4513, allocations: 0.7191 MB / 0.623 GB, free: 34.15 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002809/0.4541, allocations: 1.574 MB / 0.6246 GB, free: 33.25 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002508/0.4567, allocations: 1.412 MB / 0.6259 GB, free: 32.54 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003516/0.4602, allocations: 4.856 MB / 0.6307 GB, free: 30.31 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001783/0.462, allocations: 2.067 MB / 0.6327 GB, free: 29.43 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002811/0.4648, allocations: 1.906 MB / 0.6346 GB, free: 28.62 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001438/0.4663, allocations: 1.366 MB / 0.6359 GB, free: 27.99 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002236/0.4665, allocations: 141.9 kB / 0.636 GB, free: 27.99 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00211/0.4686, allocations: 1.155 MB / 0.6372 GB, free: 27.67 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003416/0.469, allocations: 467.3 kB / 0.6376 GB, free: 27.42 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008654/0.4698, allocations: 1.018 MB / 0.6386 GB, free: 26.8 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002832/0.4727, allocations: 2.906 MB / 0.6414 GB, free: 25.72 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.4727, allocations: 0 / 0.6414 GB, free: 25.72 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.402e-06/0.4727, allocations: 2.625 kB / 0.6414 GB, free: 25.72 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.72e-05/0.4727, allocations: 0 / 0.6414 GB, free: 25.72 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: 235 * Number of variables: 235 Notification: Performance of Generate backend data structure: time 0.002999/0.4757, allocations: 2.378 MB / 0.6438 GB, free: 24.18 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.373e-05/0.4758, allocations: 10.81 kB / 0.6438 GB, free: 24.18 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001012/0.4768, allocations: 301.4 kB / 0.6441 GB, free: 24.07 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002279/0.4791, allocations: 1.609 MB / 0.6456 GB, free: 23.21 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.962e-05/0.4792, allocations: 78.97 kB / 0.6457 GB, free: 23.18 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001554/0.4793, allocations: 108.9 kB / 0.6458 GB, free: 23.14 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001845/0.4812, allocations: 1.289 MB / 0.6471 GB, free: 22.53 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.627e-05/0.4812, allocations: 5.25 kB / 0.6471 GB, free: 22.52 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.268e-05/0.4813, allocations: 37.94 kB / 0.6471 GB, free: 22.5 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.501e-05/0.4814, allocations: 28.31 kB / 0.6471 GB, free: 22.49 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001754/0.4831, allocations: 0.9744 MB / 0.6481 GB, free: 22.16 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.006438/0.4896, allocations: 6.536 MB / 0.6545 GB, free: 17.28 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001168/0.4907, allocations: 0.589 MB / 0.655 GB, free: 17.05 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006387/0.4914, allocations: 387 kB / 0.6554 GB, free: 16.92 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002168/0.4936, allocations: 1.684 MB / 0.6571 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006887/0.4943, allocations: 364 kB / 0.6574 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003263/0.4946, allocations: 82.69 kB / 0.6575 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=45): time 2.074e-06/0.4946, allocations: 0 / 0.6575 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of matching and sorting (n=45): time 0.003135/0.4978, allocations: 1.312 MB / 0.6588 GB, free: 15 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.704e-05/0.4978, allocations: 61.33 kB / 0.6588 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002022/0.4998, allocations: 1.791 MB / 0.6606 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.447e-05/0.4999, allocations: 48.47 kB / 0.6606 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005473/0.5004, allocations: 0.8502 MB / 0.6614 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000114/0.5006, allocations: 161.4 kB / 0.6616 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002408/0.5008, allocations: 183.6 kB / 0.6618 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.678e-05/0.5009, allocations: 337 kB / 0.6621 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006101/0.5015, allocations: 323.9 kB / 0.6624 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008229/0.5023, allocations: 0.7391 MB / 0.6631 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001354/0.5037, allocations: 0.992 MB / 0.6641 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/0.5037, allocations: 3.469 kB / 0.6641 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002321/0.506, allocations: 1.303 MB / 0.6654 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.799e-05/0.5061, allocations: 36.41 kB / 0.6654 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.543e-05/0.5061, allocations: 11.7 kB / 0.6654 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006329/0.5067, allocations: 188.5 kB / 0.6656 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006188/0.5074, allocations: 167 kB / 0.6658 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005378/0.5079, allocations: 0.7759 MB / 0.6665 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009564/0.5089, allocations: 50.06 kB / 0.6666 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.946e-05/0.509, allocations: 48.69 kB / 0.6666 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001213/0.5102, allocations: 0.7072 MB / 0.6673 GB, free: 10.01 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007893/0.511, allocations: 0.7056 MB / 0.668 GB, free: 9.355 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001175/0.5122, allocations: 0.9201 MB / 0.6689 GB, free: 8.684 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.583e-06/0.5122, allocations: 4.125 kB / 0.6689 GB, free: 8.684 MB / 0.4981 GB Notification: Performance of matching and sorting (n=98) (initialization_lambda0): time 0.00192/0.5141, allocations: 1.278 MB / 0.6701 GB, free: 8.078 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.85e-05/0.5142, allocations: 36.8 kB / 0.6702 GB, free: 8.047 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.245e-05/0.5142, allocations: 9.906 kB / 0.6702 GB, free: 8.047 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002253/0.5144, allocations: 118.4 kB / 0.6703 GB, free: 8.02 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005574/0.515, allocations: 169.5 kB / 0.6705 GB, free: 7.996 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001835/0.5168, allocations: 2.313 MB / 0.6727 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008093/0.5177, allocations: 62.16 kB / 0.6728 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.75e-05/0.5177, allocations: 40.81 kB / 0.6728 GB, free: 6.121 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 8 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,nRes.y,from_dp.y,mergeDp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 81 * 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 {(1,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0002392/0.518, allocations: 244.1 kB / 0.6731 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002015/0.5182, allocations: 171 kB / 0.6732 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001987/0.5202, allocations: 1.005 MB / 0.6742 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.181e-05/0.5202, allocations: 9.719 kB / 0.6742 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.5202, allocations: 5 kB / 0.6742 GB, free: 5.406 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001365/0.5216, allocations: 0.9348 MB / 0.6751 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003364/0.525, allocations: 2.123 MB / 0.6772 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.525, allocations: 1.062 kB / 0.6772 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004151/0.5254, allocations: 79.48 kB / 0.6773 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002659/0.5257, allocations: 122.5 kB / 0.6774 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.19e-05/0.5257, allocations: 25.98 kB / 0.6774 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004431/0.5262, allocations: 0.7332 MB / 0.6781 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.5262, allocations: 1.062 kB / 0.6781 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002182/0.5284, allocations: 1.347 MB / 0.6794 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004248/0.5288, allocations: 304.3 kB / 0.6797 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001722/0.529, allocations: 9.297 kB / 0.6797 GB, free: 2.324 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005795/0.5296, allocations: 30.08 kB / 0.6798 GB, free: 2.316 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000103/0.5297, allocations: 41.12 kB / 0.6798 GB, free: 2.309 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.289e-05/0.5297, allocations: 24.22 kB / 0.6798 GB, free: 2.305 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001606/0.5314, allocations: 1.245 MB / 0.6811 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.41e-07/0.5314, allocations: 0 / 0.6811 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002115/0.5335, allocations: 0.7775 MB / 0.6818 GB, free: 1.703 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump.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 (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 {(1,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007768/0.5343, allocations: 394 kB / 0.6822 GB, free: 1.516 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00262/0.5369, allocations: 1.523 MB / 0.6837 GB, free: 0.8594 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.818e-06/0.5369, allocations: 1.219 kB / 0.6837 GB, free: 0.8594 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006307/0.5376, allocations: 332.2 kB / 0.684 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002869/0.5404, allocations: 0.773 MB / 0.6847 GB, free: 0.5195 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00396/0.5444, allocations: 2.93 MB / 0.6876 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008892/0.5453, allocations: 1.494 MB / 0.6891 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.00148/0.5468, allocations: 462.8 kB / 0.6895 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002512/0.5471, allocations: 126.3 kB / 0.6896 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of SimCode: time 3.61e-07/0.5471, allocations: 0 / 0.6896 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of Templates: time 0.04853/0.5956, allocations: 31.53 MB / 0.7204 GB, free: 1.695 MB / 0.5294 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.Example3.makefile (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.Example3.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.Example3.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.Example3.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.Example3.sim & ./IDEAS_IDEAS.Fluid.Examples.Performance.Example3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.Performance.Example3.pipe 2>&1)