Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v2.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: translateModel(IDEAS.Fluid.Examples.Performance.Example1v2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v2") translateModel(IDEAS.Fluid.Examples.Performance.Example1v2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008579/0.000858, allocations: 84.38 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.0009937/0.0009938, 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.38/1.38, allocations: 223.3 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.009/1.009, allocations: 135.3 MB / 426.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003426/0.0003429, allocations: 8 kB / 0.507 GB, free: 5.281 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.216/0.2164, allocations: 82.32 MB / 0.5874 GB, free: 3.137 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example1v2): time 0.3444/0.5608, allocations: 74.19 MB / 0.6598 GB, free: 7.691 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02386/0.5848, allocations: 18.03 MB / 0.6774 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004068/0.5889, allocations: 92.69 kB / 0.6775 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.003652/0.5925, allocations: 0.7721 MB / 0.6783 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.007912/0.6005, allocations: 2.28 MB / 0.6805 GB, free: 9.043 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.005916/0.6064, allocations: 1.787 MB / 0.6822 GB, free: 8.215 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.03262/0.639, allocations: 30.24 MB / 0.7118 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0205/0.6596, allocations: 13.48 MB / 0.7249 GB, free: 15.82 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02007/0.6797, allocations: 9.208 MB / 0.7339 GB, free: 6.582 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02128/0.701, allocations: 10.75 MB / 0.7444 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.004339/0.7054, allocations: 0.8164 MB / 0.7452 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009921/0.7153, allocations: 1.788 MB / 0.747 GB, free: 9.188 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.006663/0.722, allocations: 2.963 MB / 0.7499 GB, free: 6.215 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.006642/0.7287, allocations: 1.845 MB / 0.7517 GB, free: 4.359 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.02065/0.7494, allocations: 13.97 MB / 0.7653 GB, free: 6.352 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.7494, allocations: 4 kB / 0.7653 GB, free: 6.348 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.963e-06/0.7494, allocations: 0 / 0.7653 GB, free: 6.348 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0005104/0.7499, allocations: 4 kB / 0.7653 GB, free: 6.344 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: 1418 * Number of variables: 1418 Notification: Performance of Generate backend data structure: time 0.03257/0.7825, allocations: 13.15 MB / 0.7782 GB, free: 9.09 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.7826, allocations: 12.03 kB / 0.7782 GB, free: 9.078 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00933/0.7919, allocations: 1.285 MB / 0.7794 GB, free: 7.781 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02748/0.8194, allocations: 9.754 MB / 0.789 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008557/0.8203, allocations: 436.1 kB / 0.7894 GB, free: 13.53 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005515/0.8259, allocations: 0.5857 MB / 0.79 GB, free: 12.94 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03523/0.8611, allocations: 14.69 MB / 0.8043 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003141/0.8615, allocations: 19.92 kB / 0.8043 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003334/0.8648, allocations: 243.9 kB / 0.8045 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001608/0.865, allocations: 139.9 kB / 0.8047 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03498/0.9, allocations: 19.88 MB / 0.8241 GB, free: 9.688 MB / 0.6387 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.6417/1.542, allocations: 66.64 MB / 0.8892 GB, free: 182.1 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01214/1.554, allocations: 9.337 MB / 0.8983 GB, free: 178.3 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01288/1.567, allocations: 8.677 MB / 0.9068 GB, free: 174.8 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05531/1.622, allocations: 30.98 MB / 0.937 GB, free: 160.2 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009796/1.632, allocations: 7.745 MB / 0.9446 GB, free: 155.4 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02469/1.657, allocations: 11.76 MB / 0.9561 GB, free: 150 MB / 0.67 GB Notification: Performance of pre-optimization done (n=300): time 2.353e-05/1.657, allocations: 0 / 0.9561 GB, free: 150 MB / 0.67 GB Notification: Performance of matching and sorting (n=300): time 0.04273/1.699, allocations: 24.45 MB / 0.9799 GB, free: 129.5 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.228e-05/1.7, allocations: 87.92 kB / 0.98 GB, free: 129.4 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01159/1.711, allocations: 8.234 MB / 0.9881 GB, free: 121.2 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.002091/1.713, allocations: 101.7 kB / 0.9882 GB, free: 121.1 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.003395/1.717, allocations: 4.085 MB / 0.9922 GB, free: 117.1 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.002308/1.719, allocations: 1.087 MB / 0.9932 GB, free: 116 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006524/1.72, allocations: 88 kB / 0.9933 GB, free: 115.9 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001847/1.72, allocations: 491.8 kB / 0.9938 GB, free: 115.4 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007278/1.727, allocations: 6.543 MB / 1 GB, free: 108.9 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008098/1.735, allocations: 8.409 MB / 1.008 GB, free: 99.66 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00857/1.744, allocations: 7.437 MB / 1.016 GB, free: 92.2 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.301e-05/1.744, allocations: 16 kB / 1.016 GB, free: 92.18 MB / 0.67 GB Notification: Performance of matching and sorting (n=579) (initialization): time 0.02632/1.77, allocations: 17.81 MB / 1.033 GB, free: 74.32 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006979/1.771, allocations: 1.555 MB / 1.035 GB, free: 72.08 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.266e-05/1.771, allocations: 48 kB / 1.035 GB, free: 72.04 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05837/1.829, allocations: 11.5 MB / 1.046 GB, free: 60.57 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008378/1.838, allocations: 1.573 MB / 1.047 GB, free: 58.99 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008364/1.846, allocations: 6.81 MB / 1.054 GB, free: 51.97 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0114/1.858, allocations: 0.5932 MB / 1.055 GB, free: 51.38 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002664/1.86, allocations: 0.546 MB / 1.055 GB, free: 50.83 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/1.86, allocations: 5.25 kB / 1.055 GB, free: 50.82 MB / 0.67 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03154/1.892, allocations: 16.74 MB / 1.071 GB, free: 34.03 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001535/1.892, allocations: 44.94 kB / 1.072 GB, free: 33.99 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05425/1.946, allocations: 11.03 MB / 1.082 GB, free: 22.99 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008289/1.955, allocations: 1.552 MB / 1.084 GB, free: 21.44 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01219/1.967, allocations: 11.03 MB / 1.095 GB, free: 9.969 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01045/1.977, allocations: 0.5699 MB / 1.095 GB, free: 9.398 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002765/1.98, allocations: 0.5343 MB / 1.096 GB, free: 8.863 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 217 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,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 (527): * Single equations (assignments): 521 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 3 {1 3,20 21,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.00783/1.988, allocations: 2.666 MB / 1.098 GB, free: 6.188 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003689/1.992, allocations: 0.764 MB / 1.099 GB, free: 5.414 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02929/2.021, allocations: 14.36 MB / 1.113 GB, free: 7.023 MB / 0.6857 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.515e-05/2.021, allocations: 36 kB / 1.113 GB, free: 6.988 MB / 0.6857 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.157e-06/2.021, allocations: 3.953 kB / 1.113 GB, free: 6.984 MB / 0.6857 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.3187/2.34, allocations: 10.93 MB / 1.124 GB, free: 198.5 MB / 0.6857 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.03139/2.371, allocations: 24.91 MB / 1.148 GB, free: 188.5 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-05/2.371, allocations: 0 / 1.148 GB, free: 188.5 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00439/2.376, allocations: 0.7041 MB / 1.149 GB, free: 188.5 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.05776/2.434, allocations: 10.33 MB / 1.159 GB, free: 188.2 MB / 0.6857 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001603/2.435, allocations: 102 kB / 1.159 GB, free: 188.1 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006058/2.441, allocations: 4.934 MB / 1.164 GB, free: 184.7 MB / 0.6857 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.671e-06/2.441, allocations: 1.375 kB / 1.164 GB, free: 184.7 MB / 0.6857 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0345/2.476, allocations: 19.56 MB / 1.183 GB, free: 176.4 MB / 0.6857 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007348/2.483, allocations: 2.023 MB / 1.185 GB, free: 175.6 MB / 0.6857 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002893/2.486, allocations: 72.28 kB / 1.185 GB, free: 175.6 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008024/2.494, allocations: 452.4 kB / 1.185 GB, free: 175.5 MB / 0.6857 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001297/2.496, allocations: 220.3 kB / 1.186 GB, free: 175.4 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007327/2.496, allocations: 159.6 kB / 1.186 GB, free: 175.4 MB / 0.6857 GB Notification: Performance of sorting global known variables: time 0.01046/2.507, allocations: 5.668 MB / 1.191 GB, free: 173.7 MB / 0.6857 GB Notification: Performance of sort global known variables: time 5.31e-07/2.507, allocations: 0 / 1.191 GB, free: 173.7 MB / 0.6857 GB Notification: Performance of remove unused functions: time 0.02072/2.528, allocations: 4.987 MB / 1.196 GB, free: 173.2 MB / 0.6857 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 22 (pump.vol.dynBal.U,hea.outCon.T,vol[1].dynBal.U,vol[2].dynBal.U,vol[3].dynBal.U,vol[4].dynBal.U,vol[5].dynBal.U,vol[6].dynBal.U,vol[7].dynBal.U,vol[8].dynBal.U,vol[9].dynBal.U,vol[10].dynBal.U,vol[11].dynBal.U,vol[12].dynBal.U,vol[13].dynBal.U,vol[14].dynBal.U,vol[15].dynBal.U,vol[16].dynBal.U,vol[17].dynBal.U,vol[18].dynBal.U,vol[19].dynBal.U,vol[20].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 (304): * Single equations (assignments): 294 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 3 {1 3,2 5,20 21} Notification: Performance of Backend phase and start with SimCode phase: time 0.002474/2.53, allocations: 0.5644 MB / 1.197 GB, free: 173 MB / 0.6857 GB Notification: Performance of simCode: created initialization part: time 0.03697/2.567, allocations: 24.2 MB / 1.22 GB, free: 156.4 MB / 0.6857 GB Notification: Performance of simCode: created event and clocks part: time 1.214e-05/2.567, allocations: 4 kB / 1.22 GB, free: 156.4 MB / 0.6857 GB Notification: Performance of simCode: created simulation system equations: time 0.009264/2.576, allocations: 6.457 MB / 1.227 GB, free: 150.1 MB / 0.6857 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02599/2.602, allocations: 5.045 MB / 1.232 GB, free: 145.2 MB / 0.6857 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0381/2.64, allocations: 23.32 MB / 1.254 GB, free: 121.9 MB / 0.6857 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005809/2.646, allocations: 5.255 MB / 1.259 GB, free: 116.6 MB / 0.6857 GB Notification: Performance of simCode: alias equations: time 0.02125/2.668, allocations: 5.031 MB / 1.264 GB, free: 111.5 MB / 0.6857 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00647/2.674, allocations: 0.9241 MB / 1.265 GB, free: 110.6 MB / 0.6857 GB Notification: Performance of SimCode: time 8.32e-07/2.674, allocations: 0 / 1.265 GB, free: 110.6 MB / 0.6857 GB Notification: Performance of Templates: time 0.5946/3.269, allocations: 219.5 MB / 1.48 GB, free: 157.4 MB / 0.7013 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v2.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v2.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v2.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v2.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v2.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v2.pipe 2>&1)