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.006922/0.006923, allocations: 99.95 kB / 15.73 MB, free: 6.062 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.001601/0.001601, allocations: 189.3 kB / 16.67 MB, free: 5.973 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.384/1.384, allocations: 222.9 MB / 240.4 MB, free: 4.152 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9612/0.9612, allocations: 135.1 MB / 425.7 MB, free: 12.08 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001375/0.001375, allocations: 63.91 kB / 0.5856 GB, free: 3.336 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.416/0.4174, allocations: 80.92 MB / 0.6646 GB, free: 7.59 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example1v2): time 0.07559/0.4931, allocations: 80.62 MB / 0.7434 GB, free: 0.75 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02792/0.521, allocations: 19.25 MB / 0.7622 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004155/0.5252, allocations: 107.4 kB / 0.7623 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.00363/0.5289, allocations: 1.147 MB / 0.7634 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.007847/0.5368, allocations: 2.762 MB / 0.7661 GB, free: 9.422 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.005918/0.5427, allocations: 2.395 MB / 0.7684 GB, free: 7.043 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.02623/0.5689, allocations: 26.85 MB / 0.7946 GB, free: 12.12 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02292/0.5919, allocations: 17.05 MB / 0.8113 GB, free: 10.96 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02235/0.6143, allocations: 11.28 MB / 0.8223 GB, free: 15.71 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02157/0.6359, allocations: 11.68 MB / 0.8337 GB, free: 3.992 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.005354/0.6413, allocations: 1.277 MB / 0.835 GB, free: 2.715 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01053/0.6519, allocations: 2.572 MB / 0.8375 GB, free: 144 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.007199/0.6591, allocations: 3.634 MB / 0.841 GB, free: 12.5 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.01661/0.6757, allocations: 6.485 MB / 0.8474 GB, free: 5.984 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.02598/0.7017, allocations: 18.56 MB / 0.8655 GB, free: 3.367 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.7018, allocations: 0 / 0.8655 GB, free: 3.367 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.793e-06/0.7018, allocations: 0 / 0.8655 GB, free: 3.367 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0005686/0.7024, allocations: 8 kB / 0.8655 GB, free: 3.359 MB / 0.6856 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.7124/1.415, allocations: 12.5 MB / 0.8777 GB, free: 175.6 MB / 0.6857 GB Notification: Performance of prepare preOptimizeDAE: time 4.958e-05/1.415, allocations: 9.406 kB / 0.8777 GB, free: 175.6 MB / 0.6857 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008515/1.423, allocations: 1.311 MB / 0.879 GB, free: 175 MB / 0.6857 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02105/1.444, allocations: 10.18 MB / 0.8889 GB, free: 169.5 MB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004696/1.445, allocations: 438 kB / 0.8894 GB, free: 169.3 MB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003097/1.448, allocations: 0.5827 MB / 0.8899 GB, free: 169.1 MB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03276/1.481, allocations: 14.61 MB / 0.9042 GB, free: 160 MB / 0.6857 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001753/1.481, allocations: 21.73 kB / 0.9042 GB, free: 160 MB / 0.6857 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001348/1.482, allocations: 243.7 kB / 0.9044 GB, free: 159.8 MB / 0.6857 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.567e-05/1.482, allocations: 142.2 kB / 0.9046 GB, free: 159.8 MB / 0.6857 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02613/1.509, allocations: 19.75 MB / 0.9239 GB, free: 141.4 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 preOpt removeSimpleEquations (simulation): time 0.1012/1.61, allocations: 60.12 MB / 0.9826 GB, free: 80.11 MB / 0.6857 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01379/1.624, allocations: 9.17 MB / 0.9915 GB, free: 70.92 MB / 0.6857 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0121/1.636, allocations: 8.589 MB / 0.9999 GB, free: 62.31 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05086/1.687, allocations: 27.44 MB / 1.027 GB, free: 34.5 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01249/1.699, allocations: 7.639 MB / 1.034 GB, free: 26.82 MB / 0.6857 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01667/1.716, allocations: 4.5 MB / 1.039 GB, free: 22.31 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=299): time 3.28e-05/1.716, allocations: 0 / 1.039 GB, free: 22.31 MB / 0.6857 GB Notification: Performance of matching and sorting (n=299): time 0.05179/1.768, allocations: 23.35 MB / 1.061 GB, free: 14.84 MB / 0.7013 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.959e-05/1.768, allocations: 81.77 kB / 1.061 GB, free: 14.75 MB / 0.7013 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0212/1.789, allocations: 8.249 MB / 1.07 GB, free: 6.52 MB / 0.7013 GB Notification: Performance of collectPreVariables (initialization): time 0.002994/1.792, allocations: 93.7 kB / 1.07 GB, free: 6.422 MB / 0.7013 GB Notification: Performance of collectInitialEqns (initialization): time 0.005826/1.798, allocations: 4.138 MB / 1.074 GB, free: 2.262 MB / 0.7013 GB Notification: Performance of collectInitialBindings (initialization): time 0.003786/1.802, allocations: 1.119 MB / 1.075 GB, free: 1.133 MB / 0.7013 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007728/1.81, allocations: 1.678 MB / 1.076 GB, free: 15.44 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001125/1.81, allocations: 301.1 kB / 1.077 GB, free: 15.14 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01119/1.821, allocations: 6.548 MB / 1.083 GB, free: 8.57 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01306/1.834, allocations: 8.329 MB / 1.091 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02861/1.863, allocations: 15.25 MB / 1.106 GB, free: 15.44 MB / 0.7482 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.804e-05/1.863, allocations: 12 kB / 1.106 GB, free: 15.43 MB / 0.7482 GB Notification: Performance of matching and sorting (n=578) (initialization): time 0.04793/1.911, allocations: 17.61 MB / 1.123 GB, free: 13.76 MB / 0.7638 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001368/1.911, allocations: 53.7 kB / 1.123 GB, free: 13.7 MB / 0.7638 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000129/1.911, allocations: 48 kB / 1.123 GB, free: 13.65 MB / 0.7638 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06867/1.98, allocations: 11.57 MB / 1.135 GB, free: 2.059 MB / 0.7638 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009442/1.989, allocations: 1.553 MB / 1.136 GB, free: 0.5039 MB / 0.7638 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006396/1.996, allocations: 3.787 MB / 1.14 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01188/2.008, allocations: 344.5 kB / 1.14 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00303/2.011, allocations: 0.5459 MB / 1.141 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01787/2.029, allocations: 8.814 MB / 1.149 GB, free: 2.926 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01318/2.042, allocations: 8.28 MB / 1.157 GB, free: 9.797 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.4451/2.487, allocations: 15.15 MB / 1.172 GB, free: 266.8 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.397e-05/2.487, allocations: 14.22 kB / 1.172 GB, free: 266.8 MB / 0.795 GB Notification: Performance of matching and sorting (n=578) (initialization_lambda0): time 0.03475/2.522, allocations: 17.45 MB / 1.189 GB, free: 260.8 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 7.944e-05/2.522, allocations: 58.44 kB / 1.189 GB, free: 260.7 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.96e-05/2.522, allocations: 49.5 kB / 1.189 GB, free: 260.7 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06295/2.585, allocations: 11.14 MB / 1.2 GB, free: 257.4 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008123/2.593, allocations: 1.55 MB / 1.202 GB, free: 256.8 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00844/2.602, allocations: 8.167 MB / 1.21 GB, free: 250.6 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009567/2.611, allocations: 352.5 kB / 1.21 GB, free: 250.5 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001795/2.613, allocations: 0.5343 MB / 1.211 GB, free: 250.2 MB / 0.795 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 (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 (524): * Single equations (assignments): 519 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(2,5), (20,21), (2,5)} Notification: Performance of prepare postOptimizeDAE: time 0.002052/2.615, allocations: 496.5 kB / 1.211 GB, free: 249.8 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002634/2.618, allocations: 0.8012 MB / 1.212 GB, free: 249.8 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02158/2.639, allocations: 14.18 MB / 1.226 GB, free: 238.5 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.748e-05/2.639, allocations: 36 kB / 1.226 GB, free: 238.5 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.784e-06/2.639, allocations: 0 / 1.226 GB, free: 238.5 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01379/2.653, allocations: 10.77 MB / 1.236 GB, free: 227.6 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03229/2.686, allocations: 24.57 MB / 1.26 GB, free: 203 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-05/2.686, allocations: 0 / 1.26 GB, free: 203 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004619/2.69, allocations: 0.6845 MB / 1.261 GB, free: 202.3 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06091/2.751, allocations: 10.74 MB / 1.271 GB, free: 191.6 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001252/2.752, allocations: 103.9 kB / 1.272 GB, free: 191.5 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003254/2.756, allocations: 3.116 MB / 1.275 GB, free: 188.4 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.287e-06/2.756, allocations: 4.031 kB / 1.275 GB, free: 188.4 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02531/2.781, allocations: 19.22 MB / 1.293 GB, free: 169.2 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006366/2.787, allocations: 1.853 MB / 1.295 GB, free: 167.3 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003722/2.791, allocations: 71.98 kB / 1.295 GB, free: 167.2 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008984/2.8, allocations: 202.3 kB / 1.295 GB, free: 167 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001456/2.802, allocations: 218.3 kB / 1.296 GB, free: 166.8 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006447/2.802, allocations: 155.9 kB / 1.296 GB, free: 166.7 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.009384/2.812, allocations: 5.695 MB / 1.301 GB, free: 161 MB / 0.795 GB Notification: Performance of sort global known variables: time 6.41e-07/2.812, allocations: 3.938 kB / 1.301 GB, free: 161 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.01994/2.832, allocations: 4.804 MB / 1.306 GB, free: 156.4 MB / 0.795 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 (301): * Single equations (assignments): 292 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(3,4), (2,5), (20,21)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002565/2.834, allocations: 0.5986 MB / 1.307 GB, free: 155.9 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0364/2.871, allocations: 23.49 MB / 1.33 GB, free: 132.4 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.132e-05/2.871, allocations: 4.5 kB / 1.33 GB, free: 132.4 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.008981/2.88, allocations: 6.327 MB / 1.336 GB, free: 126.1 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02509/2.905, allocations: 4.906 MB / 1.341 GB, free: 121.3 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03174/2.937, allocations: 20.66 MB / 1.361 GB, free: 100.6 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004658/2.941, allocations: 5.242 MB / 1.366 GB, free: 95.35 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.01711/2.959, allocations: 5.031 MB / 1.371 GB, free: 90.31 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005905/2.965, allocations: 0.9124 MB / 1.372 GB, free: 89.4 MB / 0.795 GB Notification: Performance of SimCode: time 1.012e-06/2.965, allocations: 0 / 1.372 GB, free: 89.4 MB / 0.795 GB Notification: Performance of Templates: time 0.6077/3.572, allocations: 222.9 MB / 1.589 GB, free: 183.5 MB / 0.8107 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)