Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example2") translateModel(IDEAS.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001244/0.001244, allocations: 109.6 kB / 16.37 MB, free: 6.477 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.001208/0.001208, allocations: 193.1 kB / 17.31 MB, free: 5.824 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.252/1.252, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7505/0.7505, allocations: 135.1 MB / 426.3 MB, free: 4.203 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 63.91 kB / 0.5068 GB, free: 7.738 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3497/0.351, allocations: 80.91 MB / 0.5858 GB, free: 25.62 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example2): time 0.02117/0.3722, allocations: 29.61 MB / 0.6147 GB, free: 12.93 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01301/0.3853, allocations: 9.912 MB / 0.6244 GB, free: 3.008 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001362/0.3867, allocations: 43.75 kB / 0.6244 GB, free: 2.965 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001751/0.3884, allocations: 0.6815 MB / 0.6251 GB, free: 2.281 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003261/0.3918, allocations: 1.458 MB / 0.6265 GB, free: 0.8164 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002979/0.3947, allocations: 1.382 MB / 0.6278 GB, free: 15.45 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.004108/0.3989, allocations: 3.819 MB / 0.6316 GB, free: 11.61 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001638/0.4005, allocations: 1.361 MB / 0.6329 GB, free: 10.21 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00269/0.4032, allocations: 1.492 MB / 0.6344 GB, free: 8.723 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001172/0.4044, allocations: 1.046 MB / 0.6354 GB, free: 7.672 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001633/0.4046, allocations: 116 kB / 0.6355 GB, free: 7.559 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002002/0.4066, allocations: 1.127 MB / 0.6366 GB, free: 6.43 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003712/0.407, allocations: 398.6 kB / 0.637 GB, free: 6.039 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008007/0.4078, allocations: 0.789 MB / 0.6377 GB, free: 5.246 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002585/0.4104, allocations: 2.45 MB / 0.6401 GB, free: 2.793 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.4104, allocations: 0 / 0.6401 GB, free: 2.793 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.4104, allocations: 3.938 kB / 0.6401 GB, free: 2.789 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.72e-05/0.4104, allocations: 0 / 0.6401 GB, free: 2.789 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.002912/0.4133, allocations: 1.938 MB / 0.642 GB, free: 0.793 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.4134, allocations: 9.109 kB / 0.642 GB, free: 0.7852 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009873/0.4144, allocations: 250.8 kB / 0.6423 GB, free: 0.5391 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002292/0.4167, allocations: 1.355 MB / 0.6436 GB, free: 15.13 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.724e-05/0.4167, allocations: 62 kB / 0.6437 GB, free: 15.07 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001219/0.4169, allocations: 80 kB / 0.6437 GB, free: 14.99 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001451/0.4183, allocations: 0.9849 MB / 0.6447 GB, free: 13.95 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.046e-05/0.4184, allocations: 0 / 0.6447 GB, free: 13.95 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.195e-05/0.4184, allocations: 32 kB / 0.6447 GB, free: 13.92 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.502e-05/0.4185, allocations: 20 kB / 0.6447 GB, free: 13.9 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001346/0.4198, allocations: 0.7064 MB / 0.6454 GB, free: 13.19 MB / 494.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.004988/0.4248, allocations: 4.852 MB / 0.6502 GB, free: 8.008 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001066/0.4259, allocations: 0.5428 MB / 0.6507 GB, free: 7.457 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005743/0.4265, allocations: 318 kB / 0.651 GB, free: 7.145 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001979/0.4285, allocations: 1.58 MB / 0.6526 GB, free: 5.414 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006105/0.4291, allocations: 331 kB / 0.6529 GB, free: 5.078 MB / 494.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001951/0.4293, allocations: 47.53 kB / 0.6529 GB, free: 5.031 MB / 494.1 MB Notification: Performance of pre-optimization done (n=43): time 5.941e-06/0.4293, allocations: 3.984 kB / 0.6529 GB, free: 5.027 MB / 494.1 MB Notification: Performance of matching and sorting (n=43): time 0.002801/0.4321, allocations: 1.162 MB / 0.6541 GB, free: 3.836 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.702e-05/0.4322, allocations: 59.34 kB / 0.6541 GB, free: 3.766 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00135/0.4335, allocations: 1.286 MB / 0.6554 GB, free: 2.465 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.287e-05/0.4336, allocations: 41.7 kB / 0.6554 GB, free: 2.418 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004624/0.434, allocations: 0.645 MB / 0.656 GB, free: 1.766 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00011/0.4342, allocations: 149.9 kB / 0.6562 GB, free: 1.617 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002033/0.4344, allocations: 158.1 kB / 0.6563 GB, free: 1.457 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.4345, allocations: 333.9 kB / 0.6566 GB, free: 1.125 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000547/0.435, allocations: 275.6 kB / 0.6569 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007134/0.4358, allocations: 0.5826 MB / 0.6575 GB, free: 120 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001193/0.437, allocations: 0.8137 MB / 0.6583 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.78e-06/0.437, allocations: 4 kB / 0.6583 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001987/0.439, allocations: 1.094 MB / 0.6593 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.632e-05/0.439, allocations: 33.7 kB / 0.6594 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.439, allocations: 8 kB / 0.6594 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006153/0.4397, allocations: 193.1 kB / 0.6596 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004994/0.4402, allocations: 139.7 kB / 0.6597 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006538/0.4408, allocations: 0.7669 MB / 0.6604 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006101/0.4415, allocations: 44.69 kB / 0.6605 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.619e-05/0.4415, allocations: 39.92 kB / 0.6605 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007625/0.4423, allocations: 0.5599 MB / 0.6611 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000604/0.4429, allocations: 0.5553 MB / 0.6616 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009502/0.4439, allocations: 0.7473 MB / 0.6623 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.366e-06/0.4439, allocations: 4 kB / 0.6624 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of matching and sorting (n=84) (initialization_lambda0): time 0.001584/0.4455, allocations: 1.061 MB / 0.6634 GB, free: 9.602 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.028e-05/0.4455, allocations: 38.22 kB / 0.6634 GB, free: 9.559 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.4455, allocations: 12 kB / 0.6634 GB, free: 9.547 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000179/0.4457, allocations: 99.53 kB / 0.6635 GB, free: 9.449 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004401/0.4462, allocations: 139.7 kB / 0.6637 GB, free: 9.312 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001954/0.4481, allocations: 2.353 MB / 0.666 GB, free: 6.809 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005652/0.4487, allocations: 44.55 kB / 0.666 GB, free: 6.766 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.738e-05/0.4488, allocations: 35.98 kB / 0.666 GB, free: 6.73 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * 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 (71): * Single equations (assignments): 68 * 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.0001917/0.449, allocations: 234.1 kB / 0.6663 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001448/0.4491, allocations: 126.4 kB / 0.6664 GB, free: 6.371 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00165/0.4508, allocations: 0.8765 MB / 0.6672 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.417e-06/0.4508, allocations: 4 kB / 0.6672 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.4508, allocations: 3.938 kB / 0.6672 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001272/0.4521, allocations: 0.8764 MB / 0.6681 GB, free: 4.523 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002656/0.4548, allocations: 1.795 MB / 0.6699 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.4548, allocations: 0 / 0.6699 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003873/0.4552, allocations: 79.94 kB / 0.6699 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000253/0.4554, allocations: 121.6 kB / 0.67 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.889e-05/0.4555, allocations: 19.98 kB / 0.6701 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005501/0.456, allocations: 0.7519 MB / 0.6708 GB, free: 1.664 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.456, allocations: 0 / 0.6708 GB, free: 1.664 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001914/0.458, allocations: 1.174 MB / 0.6719 GB, free: 472 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004076/0.4584, allocations: 259.4 kB / 0.6722 GB, free: 192 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001209/0.4585, allocations: 8 kB / 0.6722 GB, free: 184 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005013/0.459, allocations: 31.97 kB / 0.6722 GB, free: 152 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.222e-05/0.4591, allocations: 36.38 kB / 0.6723 GB, free: 116 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.029e-05/0.4592, allocations: 23.98 kB / 0.6723 GB, free: 92 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001081/0.4603, allocations: 0.8896 MB / 0.6732 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4603, allocations: 0 / 0.6732 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001677/0.462, allocations: 0.6472 MB / 0.6738 GB, free: 14.55 MB / 0.5137 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 (38): * Single equations (assignments): 32 * 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.0008068/0.4628, allocations: 389.6 kB / 0.6742 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002474/0.4653, allocations: 1.319 MB / 0.6755 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/0.4653, allocations: 0 / 0.6755 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0006892/0.466, allocations: 327.4 kB / 0.6758 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002172/0.4682, allocations: 0.589 MB / 0.6763 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003341/0.4715, allocations: 2.233 MB / 0.6785 GB, free: 9.668 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007338/0.4723, allocations: 1.267 MB / 0.6798 GB, free: 8.371 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0009441/0.4732, allocations: 317.1 kB / 0.6801 GB, free: 8.059 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002095/0.4734, allocations: 103.4 kB / 0.6802 GB, free: 7.957 MB / 0.5137 GB Notification: Performance of SimCode: time 7.61e-07/0.4734, allocations: 0 / 0.6802 GB, free: 7.957 MB / 0.5137 GB Notification: Performance of Templates: time 0.04175/0.5152, allocations: 25.6 MB / 0.7052 GB, free: 14.66 MB / 0.545 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example2.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example2.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example2.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example2.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example2.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example2 -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example2.pipe 2>&1)