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: translateModel(IDEAS.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.Example2") translateModel(IDEAS.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.Example2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001368/0.001368, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001733/0.001733, allocations: 192.8 kB / 16.13 MB, free: 6.707 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.357/1.357, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7987/0.7987, allocations: 132.2 MB / 422.2 MB, free: 1.996 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001176, allocations: 64.66 kB / 0.5011 GB, free: 4.312 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4867/0.4879, allocations: 80.2 MB / 0.5794 GB, free: 4.539 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example2): time 0.03268/0.5207, allocations: 29.45 MB / 0.6082 GB, free: 15.02 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01649/0.5372, allocations: 10 MB / 0.6179 GB, free: 7.012 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002684/0.5399, allocations: 41.53 kB / 0.618 GB, free: 6.996 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002487/0.5424, allocations: 0.6032 MB / 0.6186 GB, free: 6.539 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005129/0.5476, allocations: 1.347 MB / 0.6199 GB, free: 5.484 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004748/0.5524, allocations: 1.223 MB / 0.6211 GB, free: 4.629 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.01009/0.5625, allocations: 5.025 MB / 0.626 GB, free: 1.883 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002863/0.5654, allocations: 1.134 MB / 0.6271 GB, free: 0.7969 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003444/0.5689, allocations: 1.307 MB / 0.6284 GB, free: 15.48 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002016/0.5709, allocations: 1.054 MB / 0.6294 GB, free: 14.43 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002092/0.5712, allocations: 64 kB / 0.6295 GB, free: 14.36 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002793/0.574, allocations: 1.065 MB / 0.6305 GB, free: 13.3 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004315/0.5744, allocations: 342.6 kB / 0.6308 GB, free: 12.96 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001133/0.5755, allocations: 0.7305 MB / 0.6315 GB, free: 12.23 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004133/0.5797, allocations: 2.376 MB / 0.6339 GB, free: 9.844 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.5797, allocations: 0 / 0.6339 GB, free: 9.844 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.5797, allocations: 0 / 0.6339 GB, free: 9.844 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.884e-05/0.5798, allocations: 0 / 0.6339 GB, free: 9.844 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.004608/0.5844, allocations: 1.942 MB / 0.6358 GB, free: 7.84 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.196e-05/0.5844, allocations: 19.95 kB / 0.6358 GB, free: 7.82 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001167/0.5856, allocations: 242.9 kB / 0.636 GB, free: 7.582 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002741/0.5884, allocations: 1.335 MB / 0.6373 GB, free: 6.195 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.337e-05/0.5884, allocations: 62 kB / 0.6374 GB, free: 6.133 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001381/0.5886, allocations: 84 kB / 0.6375 GB, free: 6.051 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00194/0.5905, allocations: 0.9802 MB / 0.6384 GB, free: 5.02 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.678e-05/0.5906, allocations: 3.938 kB / 0.6384 GB, free: 5.016 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.662e-05/0.5907, allocations: 35.98 kB / 0.6384 GB, free: 4.98 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.02e-05/0.5907, allocations: 20 kB / 0.6385 GB, free: 4.961 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001737/0.5924, allocations: 0.7142 MB / 0.6392 GB, free: 4.242 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.007181/0.5996, allocations: 4.94 MB / 0.644 GB, free: 14.94 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001368/0.601, allocations: 0.5681 MB / 0.6445 GB, free: 14.36 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006506/0.6017, allocations: 318.5 kB / 0.6448 GB, free: 14.05 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002604/0.6043, allocations: 1.568 MB / 0.6464 GB, free: 12.33 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007354/0.6051, allocations: 335 kB / 0.6467 GB, free: 11.99 MB / 494.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000475/0.6055, allocations: 95.47 kB / 0.6468 GB, free: 11.9 MB / 494.1 MB Notification: Performance of pre-optimization done (n=44): time 4.218e-06/0.6056, allocations: 0 / 0.6468 GB, free: 11.9 MB / 494.1 MB Notification: Performance of matching and sorting (n=44): time 0.003318/0.6089, allocations: 1.147 MB / 0.6479 GB, free: 10.72 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.982e-05/0.6089, allocations: 63.41 kB / 0.648 GB, free: 10.65 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001947/0.6109, allocations: 1.259 MB / 0.6492 GB, free: 9.375 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.433e-05/0.611, allocations: 45.7 kB / 0.6492 GB, free: 9.324 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006035/0.6116, allocations: 0.645 MB / 0.6499 GB, free: 8.672 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001491/0.6117, allocations: 157.8 kB / 0.65 GB, free: 8.516 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003127/0.6121, allocations: 154.6 kB / 0.6502 GB, free: 8.359 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001945/0.6123, allocations: 337.9 kB / 0.6505 GB, free: 8.023 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006763/0.6129, allocations: 268.7 kB / 0.6507 GB, free: 7.758 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001008/0.614, allocations: 0.5887 MB / 0.6513 GB, free: 7.02 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001343/0.6153, allocations: 0.8028 MB / 0.6521 GB, free: 6.105 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.063e-06/0.6153, allocations: 4 kB / 0.6521 GB, free: 6.102 MB / 494.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002612/0.618, allocations: 1.082 MB / 0.6532 GB, free: 5 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.834e-05/0.618, allocations: 37.7 kB / 0.6532 GB, free: 4.957 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.845e-05/0.618, allocations: 11.94 kB / 0.6532 GB, free: 4.945 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006781/0.6187, allocations: 181.2 kB / 0.6534 GB, free: 4.766 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005575/0.6193, allocations: 143.7 kB / 0.6535 GB, free: 4.625 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008085/0.6201, allocations: 0.774 MB / 0.6543 GB, free: 3.828 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001002/0.6211, allocations: 76.5 kB / 0.6544 GB, free: 3.754 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.854e-05/0.6212, allocations: 39.98 kB / 0.6544 GB, free: 3.715 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001046/0.6223, allocations: 0.5525 MB / 0.6549 GB, free: 3.156 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007163/0.623, allocations: 0.5497 MB / 0.6555 GB, free: 2.453 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001169/0.6242, allocations: 0.744 MB / 0.6562 GB, free: 1.598 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.477e-06/0.6242, allocations: 0 / 0.6562 GB, free: 1.598 MB / 494.1 MB Notification: Performance of matching and sorting (n=85) (initialization_lambda0): time 0.001965/0.6262, allocations: 1.061 MB / 0.6572 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.028e-05/0.6262, allocations: 33.7 kB / 0.6573 GB, free: 468 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.282e-05/0.6262, allocations: 11.98 kB / 0.6573 GB, free: 456 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002397/0.6265, allocations: 109.3 kB / 0.6574 GB, free: 344 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004651/0.627, allocations: 131.8 kB / 0.6575 GB, free: 212 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002203/0.6292, allocations: 2.155 MB / 0.6596 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009372/0.6301, allocations: 76.52 kB / 0.6597 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.368e-05/0.6302, allocations: 32 kB / 0.6597 GB, free: 13.8 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 (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 (72): * Single equations (assignments): 69 * 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.0003162/0.6305, allocations: 232.1 kB / 0.6599 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003035/0.6308, allocations: 130.3 kB / 0.6601 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002201/0.633, allocations: 0.8604 MB / 0.6609 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-05/0.6331, allocations: 8 kB / 0.6609 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.6331, allocations: 0 / 0.6609 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001457/0.6346, allocations: 0.8647 MB / 0.6618 GB, free: 11.62 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.003855/0.6384, allocations: 1.846 MB / 0.6636 GB, free: 9.695 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.6384, allocations: 3.938 kB / 0.6636 GB, free: 9.691 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004121/0.6389, allocations: 75.94 kB / 0.6636 GB, free: 9.617 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00032/0.6392, allocations: 124.8 kB / 0.6637 GB, free: 9.492 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.177e-05/0.6393, allocations: 19.98 kB / 0.6638 GB, free: 9.473 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007412/0.64, allocations: 0.7473 MB / 0.6645 GB, free: 8.699 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.64, allocations: 128 / 0.6645 GB, free: 8.699 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002342/0.6424, allocations: 1.166 MB / 0.6656 GB, free: 7.504 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005587/0.6429, allocations: 259.4 kB / 0.6659 GB, free: 7.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002646/0.6432, allocations: 15.92 kB / 0.6659 GB, free: 7.215 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007663/0.644, allocations: 67.84 kB / 0.666 GB, free: 7.148 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001118/0.6441, allocations: 40.38 kB / 0.666 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.06e-05/0.6442, allocations: 23.98 kB / 0.666 GB, free: 7.086 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00156/0.6457, allocations: 0.8741 MB / 0.6669 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6457, allocations: 0 / 0.6669 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002349/0.6481, allocations: 0.6472 MB / 0.6675 GB, free: 5.562 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 (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.001134/0.6492, allocations: 359.8 kB / 0.6679 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002999/0.6523, allocations: 1.3 MB / 0.6691 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/0.6523, allocations: 7.938 kB / 0.6691 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007933/0.6531, allocations: 319.5 kB / 0.6694 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003082/0.6562, allocations: 0.5645 MB / 0.67 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004942/0.6611, allocations: 2.68 MB / 0.6726 GB, free: 296 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00118/0.6623, allocations: 1.275 MB / 0.6738 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001441/0.6638, allocations: 306.2 kB / 0.6741 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002881/0.6641, allocations: 95.41 kB / 0.6742 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of SimCode: time 2.315e-06/0.6641, allocations: 4 kB / 0.6742 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of Templates: time 0.0484/0.7125, allocations: 24.5 MB / 0.6982 GB, free: 6.426 MB / 0.5294 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.Example2.makefile (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 & ./IDEAS_IDEAS.Fluid.Examples.Performance.Example2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.Performance.Example2.pipe 2>&1)