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.005721/0.005721, allocations: 96.31 kB / 15.73 MB, free: 6.035 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.001184/0.001184, allocations: 195.6 kB / 16.67 MB, free: 5.961 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.359/1.359, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7644/0.7644, allocations: 132.2 MB / 422.7 MB, free: 1.691 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001159/0.001159, allocations: 63.89 kB / 0.5813 GB, free: 7.551 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.445/0.4462, allocations: 80.2 MB / 0.6597 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example3): time 0.03201/0.4782, allocations: 32.74 MB / 0.6916 GB, free: 400 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01818/0.4964, allocations: 10.48 MB / 0.7019 GB, free: 7.914 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002222/0.4987, allocations: 52.56 kB / 0.7019 GB, free: 7.895 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.002476/0.5012, allocations: 0.7364 MB / 0.7026 GB, free: 7.309 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.004936/0.5062, allocations: 1.563 MB / 0.7042 GB, free: 6.07 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003693/0.5099, allocations: 1.419 MB / 0.7055 GB, free: 5.051 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.006688/0.5166, allocations: 4.867 MB / 0.7103 GB, free: 2.25 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003201/0.5198, allocations: 2.079 MB / 0.7123 GB, free: 144 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00467/0.5245, allocations: 1.9 MB / 0.7142 GB, free: 14.24 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002469/0.527, allocations: 1.365 MB / 0.7155 GB, free: 12.87 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0003129/0.5273, allocations: 140 kB / 0.7156 GB, free: 12.73 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002824/0.5302, allocations: 1.17 MB / 0.7168 GB, free: 11.56 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0005685/0.5308, allocations: 466.3 kB / 0.7172 GB, free: 11.1 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001264/0.532, allocations: 1.014 MB / 0.7182 GB, free: 10.08 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.004496/0.5365, allocations: 2.954 MB / 0.7211 GB, free: 7.121 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.411e-06/0.5366, allocations: 4 kB / 0.7211 GB, free: 7.117 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.904e-06/0.5366, allocations: 0 / 0.7211 GB, free: 7.117 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.437e-05/0.5366, allocations: 3.984 kB / 0.7211 GB, free: 7.113 MB / 0.545 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.003937/0.5406, allocations: 2.456 MB / 0.7235 GB, free: 4.586 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.5406, allocations: 8.031 kB / 0.7235 GB, free: 4.578 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001129/0.5418, allocations: 311.4 kB / 0.7238 GB, free: 4.273 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002878/0.5446, allocations: 1.696 MB / 0.7255 GB, free: 2.531 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.926e-05/0.5447, allocations: 81.98 kB / 0.7256 GB, free: 2.449 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001471/0.5449, allocations: 104 kB / 0.7257 GB, free: 2.348 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002066/0.547, allocations: 1.287 MB / 0.7269 GB, free: 0.9844 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.788e-05/0.547, allocations: 0 / 0.7269 GB, free: 0.9844 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001059/0.5471, allocations: 44 kB / 0.727 GB, free: 0.9414 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.12e-05/0.5471, allocations: 31.94 kB / 0.727 GB, free: 0.9102 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001794/0.5489, allocations: 0.9678 MB / 0.7279 GB, free: 15.94 MB / 0.5606 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.007096/0.556, allocations: 6.519 MB / 0.7343 GB, free: 8.996 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0012/0.5573, allocations: 0.5837 MB / 0.7349 GB, free: 8.406 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000659/0.5579, allocations: 392.6 kB / 0.7352 GB, free: 8.023 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002349/0.5603, allocations: 1.704 MB / 0.7369 GB, free: 6.184 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000705/0.561, allocations: 363.2 kB / 0.7373 GB, free: 5.816 MB / 0.5606 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003582/0.5614, allocations: 79.53 kB / 0.7373 GB, free: 5.738 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=45): time 2.134e-06/0.5614, allocations: 0 / 0.7373 GB, free: 5.738 MB / 0.5606 GB Notification: Performance of matching and sorting (n=45): time 0.003258/0.5647, allocations: 1.314 MB / 0.7386 GB, free: 4.395 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.887e-05/0.5647, allocations: 59.41 kB / 0.7387 GB, free: 4.324 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002145/0.5669, allocations: 1.793 MB / 0.7404 GB, free: 2.488 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.443e-05/0.5669, allocations: 41.7 kB / 0.7405 GB, free: 2.441 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007152/0.5677, allocations: 0.8669 MB / 0.7413 GB, free: 1.566 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001434/0.5678, allocations: 166.6 kB / 0.7415 GB, free: 1.402 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002615/0.5681, allocations: 194.5 kB / 0.7416 GB, free: 1.203 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001208/0.5682, allocations: 334 kB / 0.742 GB, free: 0.8711 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006272/0.5688, allocations: 312.6 kB / 0.7423 GB, free: 0.5625 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009301/0.5698, allocations: 0.7479 MB / 0.743 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001491/0.5713, allocations: 0.9876 MB / 0.744 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/0.5713, allocations: 4 kB / 0.744 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002456/0.5738, allocations: 1.306 MB / 0.7452 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.166e-05/0.5738, allocations: 41.73 kB / 0.7453 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.455e-05/0.5738, allocations: 8 kB / 0.7453 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006563/0.5745, allocations: 184.7 kB / 0.7455 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006199/0.5751, allocations: 175.6 kB / 0.7456 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006551/0.5758, allocations: 0.7699 MB / 0.7464 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000994/0.5768, allocations: 48.62 kB / 0.7464 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.942e-05/0.5769, allocations: 43.98 kB / 0.7465 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001263/0.5782, allocations: 0.7204 MB / 0.7472 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008182/0.579, allocations: 0.7089 MB / 0.7479 GB, free: 10.22 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00124/0.5803, allocations: 0.9171 MB / 0.7488 GB, free: 9.156 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.617e-06/0.5803, allocations: 4 kB / 0.7488 GB, free: 9.152 MB / 0.5762 GB Notification: Performance of matching and sorting (n=98) (initialization_lambda0): time 0.002132/0.5824, allocations: 1.278 MB / 0.75 GB, free: 7.84 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.247e-05/0.5825, allocations: 33.7 kB / 0.75 GB, free: 7.801 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.5825, allocations: 12 kB / 0.7501 GB, free: 7.789 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002257/0.5827, allocations: 124.8 kB / 0.7502 GB, free: 7.664 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005594/0.5833, allocations: 163.7 kB / 0.7503 GB, free: 7.504 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002197/0.5855, allocations: 2.33 MB / 0.7526 GB, free: 5.035 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008669/0.5864, allocations: 44.64 kB / 0.7527 GB, free: 4.992 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.183e-05/0.5865, allocations: 51.92 kB / 0.7527 GB, free: 4.941 MB / 0.5762 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.0002796/0.5867, allocations: 254.5 kB / 0.7529 GB, free: 4.688 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002242/0.587, allocations: 178.8 kB / 0.7531 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002038/0.589, allocations: 0.9939 MB / 0.7541 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.081e-05/0.589, allocations: 7.984 kB / 0.7541 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.589, allocations: 3.938 kB / 0.7541 GB, free: 3.496 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001504/0.5906, allocations: 0.9467 MB / 0.755 GB, free: 2.477 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003391/0.594, allocations: 2.093 MB / 0.7571 GB, free: 320 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.441e-06/0.594, allocations: 0 / 0.7571 GB, free: 320 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004373/0.5944, allocations: 91.8 kB / 0.7572 GB, free: 228 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002935/0.5947, allocations: 116.8 kB / 0.7573 GB, free: 108 kB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.571e-05/0.5948, allocations: 27.92 kB / 0.7573 GB, free: 80 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000635/0.5954, allocations: 0.732 MB / 0.758 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.5954, allocations: 3.938 kB / 0.758 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002341/0.5978, allocations: 1.349 MB / 0.7593 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005016/0.5983, allocations: 303.9 kB / 0.7596 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000184/0.5985, allocations: 15.98 kB / 0.7596 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006067/0.5991, allocations: 31.92 kB / 0.7597 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001017/0.5992, allocations: 40.33 kB / 0.7597 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.839e-05/0.5993, allocations: 36.03 kB / 0.7597 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001632/0.6009, allocations: 1.239 MB / 0.7609 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.6e-07/0.6009, allocations: 0 / 0.7609 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001999/0.6029, allocations: 0.7876 MB / 0.7617 GB, free: 11.45 MB / 0.5919 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.0009108/0.6039, allocations: 389 kB / 0.7621 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00273/0.6066, allocations: 1.465 MB / 0.7635 GB, free: 9.57 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.6066, allocations: 0 / 0.7635 GB, free: 9.57 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0006958/0.6073, allocations: 335.5 kB / 0.7638 GB, free: 9.242 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003028/0.6104, allocations: 0.7846 MB / 0.7646 GB, free: 8.488 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004472/0.6148, allocations: 2.941 MB / 0.7675 GB, free: 5.504 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001013/0.6159, allocations: 1.491 MB / 0.7689 GB, free: 3.984 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001445/0.6173, allocations: 454 kB / 0.7694 GB, free: 3.535 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002581/0.6176, allocations: 127.4 kB / 0.7695 GB, free: 3.41 MB / 0.5919 GB Notification: Performance of SimCode: time 1.142e-06/0.6176, allocations: 0 / 0.7695 GB, free: 3.41 MB / 0.5919 GB Notification: Performance of Templates: time 0.0518/0.6694, allocations: 31.71 MB / 0.8004 GB, free: 4.133 MB / 0.6231 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)