Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.Example1v1.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.Example1v1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.Example1v1") translateModel(IDEAS.Fluid.Examples.Performance.Example1v1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.Example1v1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001555/0.001555, allocations: 107.2 kB / 16.41 MB, free: 6.484 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.001752/0.001752, allocations: 193.4 kB / 17.34 MB, free: 5.762 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.484/1.484, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8075/0.8075, allocations: 132.2 MB / 423.4 MB, free: 6.578 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001238, allocations: 66.27 kB / 0.582 GB, free: 23.77 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1629/0.1641, allocations: 80.21 MB / 0.6603 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example1v1): time 0.06861/0.2328, allocations: 72.3 MB / 0.7309 GB, free: 1.703 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02398/0.2568, allocations: 16.98 MB / 0.7475 GB, free: 0.6758 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0038/0.2606, allocations: 95.44 kB / 0.7476 GB, free: 0.582 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.4065/0.6672, allocations: 0.9953 MB / 0.7486 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.008481/0.6757, allocations: 2.355 MB / 0.7509 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00689/0.6826, allocations: 2.073 MB / 0.7529 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0135/0.6961, allocations: 8.031 MB / 0.7608 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009682/0.7059, allocations: 6.123 MB / 0.7667 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009373/0.7153, allocations: 3.341 MB / 0.77 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005892/0.7212, allocations: 2.499 MB / 0.7724 GB, free: 9.82 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.00111/0.7224, allocations: 254.1 kB / 0.7727 GB, free: 9.82 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00528/0.7277, allocations: 1.368 MB / 0.774 GB, free: 9.801 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001233/0.7289, allocations: 0.7763 MB / 0.7748 GB, free: 9.664 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.004207/0.7331, allocations: 1.765 MB / 0.7765 GB, free: 9.145 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00802/0.7412, allocations: 4.753 MB / 0.7811 GB, free: 8.43 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.7412, allocations: 3.375 kB / 0.7811 GB, free: 8.43 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.104e-06/0.7412, allocations: 0 / 0.7811 GB, free: 8.43 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001256/0.7414, allocations: 0 / 0.7811 GB, free: 8.43 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 398 * Number of variables: 398 Notification: Performance of Generate backend data structure: time 0.008408/0.7498, allocations: 3.949 MB / 0.785 GB, free: 6.57 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.509e-05/0.7498, allocations: 10.38 kB / 0.785 GB, free: 6.57 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002423/0.7523, allocations: 0.5486 MB / 0.7855 GB, free: 6.371 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005719/0.758, allocations: 2.748 MB / 0.7882 GB, free: 5.586 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001219/0.7582, allocations: 137.2 kB / 0.7884 GB, free: 5.582 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003192/0.7585, allocations: 184.3 kB / 0.7885 GB, free: 5.582 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003651/0.7622, allocations: 2.324 MB / 0.7908 GB, free: 4.668 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.667e-05/0.7622, allocations: 5.594 kB / 0.7908 GB, free: 4.668 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00017/0.7624, allocations: 69.47 kB / 0.7909 GB, free: 4.668 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.177e-05/0.7624, allocations: 43.97 kB / 0.7909 GB, free: 4.664 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003172/0.7656, allocations: 1.866 MB / 0.7927 GB, free: 4.34 MB / 0.5762 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.01381/0.7794, allocations: 11.08 MB / 0.8036 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002664/0.7821, allocations: 1.343 MB / 0.8049 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00154/0.7837, allocations: 1.014 MB / 0.8059 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006586/0.7903, allocations: 3.638 MB / 0.8094 GB, free: 7.723 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00143/0.7918, allocations: 0.7707 MB / 0.8102 GB, free: 7.262 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0015/0.7933, allocations: 234.5 kB / 0.8104 GB, free: 7.145 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=95): time 5.64e-06/0.7933, allocations: 0 / 0.8104 GB, free: 7.145 MB / 0.5919 GB Notification: Performance of matching and sorting (n=95): time 0.01198/0.8053, allocations: 4.154 MB / 0.8145 GB, free: 3.496 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.947e-05/0.8054, allocations: 60.41 kB / 0.8145 GB, free: 3.422 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004366/0.8098, allocations: 2.884 MB / 0.8173 GB, free: 0.5391 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0003359/0.8101, allocations: 61.3 kB / 0.8174 GB, free: 488 kB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.001383/0.8115, allocations: 1.42 MB / 0.8188 GB, free: 15.08 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004065/0.8119, allocations: 344.2 kB / 0.8191 GB, free: 14.75 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005131/0.8125, allocations: 351.7 kB / 0.8194 GB, free: 14.4 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.995e-05/0.8126, allocations: 307 kB / 0.8197 GB, free: 14.1 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001342/0.8139, allocations: 0.6861 MB / 0.8204 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001792/0.8157, allocations: 1.433 MB / 0.8218 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002884/0.8186, allocations: 1.905 MB / 0.8237 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.055e-05/0.8186, allocations: 11.98 kB / 0.8237 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of matching and sorting (n=183) (initialization): time 0.006244/0.8249, allocations: 2.84 MB / 0.8264 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.57e-05/0.825, allocations: 39.64 kB / 0.8265 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.282e-05/0.825, allocations: 20 kB / 0.8265 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002386/0.8274, allocations: 0.6818 MB / 0.8272 GB, free: 6.094 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001248/0.8287, allocations: 299.6 kB / 0.8275 GB, free: 5.816 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001882/0.8305, allocations: 1.905 MB / 0.8293 GB, free: 3.871 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002317/0.8329, allocations: 100.8 kB / 0.8294 GB, free: 3.77 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002479/0.8331, allocations: 87.95 kB / 0.8295 GB, free: 3.684 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002722/0.8359, allocations: 1.277 MB / 0.8307 GB, free: 2.402 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001827/0.8377, allocations: 1.385 MB / 0.8321 GB, free: 0.6797 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002829/0.8406, allocations: 1.82 MB / 0.8339 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.479e-05/0.8406, allocations: 4 kB / 0.8339 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of matching and sorting (n=183) (initialization_lambda0): time 0.005372/0.846, allocations: 2.694 MB / 0.8365 GB, free: 12.08 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 4.676e-05/0.846, allocations: 37.7 kB / 0.8365 GB, free: 12.04 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.663e-05/0.8461, allocations: 16.84 kB / 0.8366 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009401/0.847, allocations: 470 kB / 0.837 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001164/0.8482, allocations: 294.9 kB / 0.8373 GB, free: 11.29 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007256/0.8555, allocations: 6.34 MB / 0.8435 GB, free: 4.699 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002627/0.8581, allocations: 109.5 kB / 0.8436 GB, free: 4.594 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000362/0.8585, allocations: 75.97 kB / 0.8437 GB, free: 4.52 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * Number of states: 0 () * Number of discrete variables: 8 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,from_dp.y,nRes.y,allowFlowReversal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (135): * Single equations (assignments): 131 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,40), (2,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0006755/0.8592, allocations: 287.3 kB / 0.8439 GB, free: 4.246 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001034/0.8602, allocations: 300.2 kB / 0.8442 GB, free: 3.949 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005408/0.8657, allocations: 2.422 MB / 0.8466 GB, free: 1.559 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.09e-05/0.8657, allocations: 15.94 kB / 0.8466 GB, free: 1.543 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.8657, allocations: 3.938 kB / 0.8466 GB, free: 1.539 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003466/0.8692, allocations: 2.057 MB / 0.8486 GB, free: 15.45 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009818/0.879, allocations: 4.376 MB / 0.8529 GB, free: 11.07 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.418e-05/0.8791, allocations: 7.938 kB / 0.8529 GB, free: 11.07 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008745/0.88, allocations: 174.6 kB / 0.8531 GB, free: 10.91 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001064/0.8811, allocations: 477.9 kB / 0.8535 GB, free: 10.44 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.956e-05/0.8812, allocations: 27.98 kB / 0.8535 GB, free: 10.41 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001754/0.8829, allocations: 1.86 MB / 0.8554 GB, free: 8.508 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.883, allocations: 0 / 0.8554 GB, free: 8.508 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006016/0.889, allocations: 3.113 MB / 0.8584 GB, free: 5.391 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001673/0.8907, allocations: 489.2 kB / 0.8589 GB, free: 4.891 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000918/0.8916, allocations: 20 kB / 0.8589 GB, free: 4.871 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001815/0.8935, allocations: 67.78 kB / 0.8589 GB, free: 4.805 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001979/0.8937, allocations: 84.83 kB / 0.859 GB, free: 4.723 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001245/0.8938, allocations: 43.97 kB / 0.8591 GB, free: 4.68 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.004354/0.8982, allocations: 1.971 MB / 0.861 GB, free: 2.719 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8982, allocations: 0 / 0.861 GB, free: 2.719 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.006474/0.9047, allocations: 1.341 MB / 0.8623 GB, free: 1.375 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pump.vol.dynBal.U,hea.outCon.T) * 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 (79): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(2,5), (1,40)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001726/0.9064, allocations: 483 kB / 0.8628 GB, free: 0.9414 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.006744/0.9132, allocations: 3.172 MB / 0.8659 GB, free: 13.72 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 7.374e-06/0.9132, allocations: 0 / 0.8659 GB, free: 13.72 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001724/0.915, allocations: 0.793 MB / 0.8666 GB, free: 12.93 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006851/0.9218, allocations: 1.259 MB / 0.8679 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01107/0.9329, allocations: 5.195 MB / 0.8729 GB, free: 6.484 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002315/0.9353, allocations: 2.054 MB / 0.8749 GB, free: 4.406 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008918/0.9362, allocations: 219.4 kB / 0.8751 GB, free: 4.191 MB / 0.6544 GB Notification: Performance of SimCode: time 7.52e-07/0.9362, allocations: 0 / 0.8751 GB, free: 4.191 MB / 0.6544 GB Notification: Performance of Templates: time 0.1037/1.04, allocations: 75.76 MB / 0.9491 GB, free: 8.707 MB / 0.7325 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.Example1v1.makefile (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.Example1v1.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.Example1v1.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.Example1v1.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.Example1v1.sim & ./IDEAS_IDEAS.Fluid.Examples.Performance.Example1v1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.Performance.Example1v1.pipe 2>&1)