Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.Example1v2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.Example1v2") translateModel(IDEAS.Fluid.Examples.Performance.Example1v2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.0009454/0.0009455, allocations: 86.41 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.001157/0.001157, 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.316/1.316, 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/package.mo): time 0.7334/0.7334, allocations: 132.3 MB / 423.4 MB, free: 2.09 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002851/0.0002852, allocations: 8 kB / 0.5034 GB, free: 4.27 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3362/0.3365, allocations: 81.58 MB / 0.5831 GB, free: 3.992 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example1v2): time 0.06777/0.4043, allocations: 74.22 MB / 0.6556 GB, free: 6.207 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.02392/0.4282, allocations: 18.02 MB / 0.6732 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003063/0.4313, allocations: 91.44 kB / 0.6732 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002683/0.4341, allocations: 0.7763 MB / 0.674 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006116/0.4402, allocations: 2.276 MB / 0.6762 GB, free: 0.9961 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004751/0.4449, allocations: 1.793 MB / 0.678 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.02719/0.4722, allocations: 30.25 MB / 0.7075 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01733/0.4895, allocations: 13.48 MB / 0.7207 GB, free: 3.34 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01492/0.5045, allocations: 9.196 MB / 0.7297 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01733/0.5218, allocations: 10.76 MB / 0.7402 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.003412/0.5253, allocations: 0.8125 MB / 0.741 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008326/0.5336, allocations: 1.784 MB / 0.7427 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.00564/0.5393, allocations: 2.975 MB / 0.7456 GB, free: 9.734 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00438/0.5437, allocations: 1.841 MB / 0.7474 GB, free: 7.883 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01455/0.5582, allocations: 13.97 MB / 0.761 GB, free: 9.879 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.5583, allocations: 0 / 0.761 GB, free: 9.879 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.502e-06/0.5583, allocations: 0 / 0.761 GB, free: 9.879 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0004041/0.5587, allocations: 0 / 0.761 GB, free: 9.879 MB / 0.5919 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.02945/0.5881, allocations: 13.17 MB / 0.7739 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.47e-05/0.5882, allocations: 8.031 kB / 0.7739 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006293/0.5945, allocations: 1.288 MB / 0.7752 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01896/0.6135, allocations: 9.747 MB / 0.7847 GB, free: 1.477 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004759/0.614, allocations: 444.1 kB / 0.7851 GB, free: 1.043 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003156/0.6172, allocations: 0.574 MB / 0.7857 GB, free: 480 kB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0262/0.6434, allocations: 14.69 MB / 0.8 GB, free: 1.512 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001245/0.6436, allocations: 19.78 kB / 0.8 GB, free: 1.492 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001108/0.6447, allocations: 244 kB / 0.8003 GB, free: 1.254 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.452e-05/0.6448, allocations: 136 kB / 0.8004 GB, free: 1.121 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.507/1.152, allocations: 19.88 MB / 0.8198 GB, free: 198.4 MB / 0.6388 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.08338/1.235, allocations: 66.67 MB / 0.8849 GB, free: 150.9 MB / 0.6388 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009819/1.245, allocations: 9.318 MB / 0.894 GB, free: 141.6 MB / 0.6388 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008414/1.253, allocations: 8.673 MB / 0.9025 GB, free: 132.9 MB / 0.6388 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03861/1.292, allocations: 30.98 MB / 0.9327 GB, free: 101.7 MB / 0.6388 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008073/1.3, allocations: 7.748 MB / 0.9403 GB, free: 93.91 MB / 0.6388 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02309/1.323, allocations: 11.76 MB / 0.9518 GB, free: 82.27 MB / 0.6388 GB Notification: Performance of pre-optimization done (n=300): time 1.315e-05/1.323, allocations: 0 / 0.9518 GB, free: 82.27 MB / 0.6388 GB Notification: Performance of matching and sorting (n=300): time 0.03853/1.362, allocations: 24.45 MB / 0.9757 GB, free: 57.69 MB / 0.6388 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.483e-05/1.362, allocations: 81.77 kB / 0.9758 GB, free: 57.59 MB / 0.6388 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008237/1.37, allocations: 8.241 MB / 0.9838 GB, free: 49.38 MB / 0.6388 GB Notification: Performance of collectPreVariables (initialization): time 0.0006901/1.371, allocations: 97.7 kB / 0.9839 GB, free: 49.27 MB / 0.6388 GB Notification: Performance of collectInitialEqns (initialization): time 0.002523/1.373, allocations: 4.094 MB / 0.9879 GB, free: 45.17 MB / 0.6388 GB Notification: Performance of collectInitialBindings (initialization): time 0.001228/1.375, allocations: 1.076 MB / 0.9889 GB, free: 44.11 MB / 0.6388 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006151/1.375, allocations: 95.94 kB / 0.989 GB, free: 44.01 MB / 0.6388 GB Notification: Performance of setup shared object (initialization): time 0.0001499/1.375, allocations: 495.8 kB / 0.9895 GB, free: 43.52 MB / 0.6388 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007094/1.382, allocations: 6.543 MB / 0.9959 GB, free: 36.96 MB / 0.6388 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00778/1.39, allocations: 8.404 MB / 1.004 GB, free: 27.71 MB / 0.6388 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008079/1.398, allocations: 7.445 MB / 1.011 GB, free: 20.24 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-05/1.398, allocations: 16 kB / 1.011 GB, free: 20.23 MB / 0.6388 GB Notification: Performance of matching and sorting (n=579) (initialization): time 0.02506/1.423, allocations: 17.8 MB / 1.029 GB, free: 2.367 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006049/1.424, allocations: 1.56 MB / 1.03 GB, free: 128 kB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.023e-05/1.424, allocations: 48 kB / 1.03 GB, free: 80 kB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06385/1.488, allocations: 11.5 MB / 1.042 GB, free: 4.574 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007963/1.496, allocations: 1.565 MB / 1.043 GB, free: 3.008 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009003/1.505, allocations: 6.807 MB / 1.05 GB, free: 11.98 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009185/1.514, allocations: 0.6009 MB / 1.05 GB, free: 11.38 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001082/1.515, allocations: 0.5382 MB / 1.051 GB, free: 10.84 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 7.033e-06/1.515, allocations: 7.953 kB / 1.051 GB, free: 10.83 MB / 0.67 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02669/1.542, allocations: 16.75 MB / 1.067 GB, free: 10.03 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.129e-05/1.542, allocations: 48 kB / 1.067 GB, free: 9.98 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3216/1.864, allocations: 11.02 MB / 1.078 GB, free: 227.6 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008161/1.872, allocations: 1.557 MB / 1.08 GB, free: 227.6 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01375/1.886, allocations: 11.01 MB / 1.09 GB, free: 223.1 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009174/1.895, allocations: 0.5683 MB / 1.091 GB, free: 223.1 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001282/1.896, allocations: 0.5331 MB / 1.091 GB, free: 223 MB / 0.6857 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.004869/1.901, allocations: 2.662 MB / 1.094 GB, free: 222.1 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001959/1.903, allocations: 0.7616 MB / 1.095 GB, free: 222.1 MB / 0.6857 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02332/1.926, allocations: 14.36 MB / 1.109 GB, free: 216.6 MB / 0.6857 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-05/1.926, allocations: 40.27 kB / 1.109 GB, free: 216.6 MB / 0.6857 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/1.926, allocations: 0 / 1.109 GB, free: 216.6 MB / 0.6857 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01296/1.939, allocations: 10.93 MB / 1.119 GB, free: 211.7 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.02738/1.967, allocations: 24.93 MB / 1.144 GB, free: 193.8 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.337e-06/1.967, allocations: 0 / 1.144 GB, free: 193.8 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004201/1.971, allocations: 0.7018 MB / 1.144 GB, free: 193.1 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.05534/2.026, allocations: 10.34 MB / 1.155 GB, free: 183 MB / 0.6857 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001073/2.027, allocations: 99.94 kB / 1.155 GB, free: 182.9 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004274/2.032, allocations: 4.933 MB / 1.16 GB, free: 177.8 MB / 0.6857 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/2.032, allocations: 8.094 kB / 1.16 GB, free: 177.8 MB / 0.6857 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02358/2.055, allocations: 19.55 MB / 1.179 GB, free: 158.1 MB / 0.6857 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004419/2.06, allocations: 2.017 MB / 1.181 GB, free: 156.1 MB / 0.6857 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001207/2.061, allocations: 71.98 kB / 1.181 GB, free: 156 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004874/2.066, allocations: 452.2 kB / 1.181 GB, free: 155.6 MB / 0.6857 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005653/2.066, allocations: 218.4 kB / 1.181 GB, free: 155.4 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004426/2.067, allocations: 159.9 kB / 1.181 GB, free: 155.2 MB / 0.6857 GB Notification: Performance of sorting global known variables: time 0.006342/2.073, allocations: 5.668 MB / 1.187 GB, free: 149.6 MB / 0.6857 GB Notification: Performance of sort global known variables: time 1.6e-07/2.073, allocations: 0 / 1.187 GB, free: 149.6 MB / 0.6857 GB Notification: Performance of remove unused functions: time 0.01166/2.085, allocations: 4.984 MB / 1.192 GB, free: 144.8 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.001227/2.086, allocations: 0.572 MB / 1.192 GB, free: 144.3 MB / 0.6857 GB Notification: Performance of simCode: created initialization part: time 0.02834/2.115, allocations: 24.18 MB / 1.216 GB, free: 120.1 MB / 0.6857 GB Notification: Performance of simCode: created event and clocks part: time 6.803e-06/2.115, allocations: 5 kB / 1.216 GB, free: 120.1 MB / 0.6857 GB Notification: Performance of simCode: created simulation system equations: time 0.007437/2.122, allocations: 6.476 MB / 1.222 GB, free: 113.6 MB / 0.6857 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01851/2.141, allocations: 5.035 MB / 1.227 GB, free: 108.7 MB / 0.6857 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02421/2.165, allocations: 23.31 MB / 1.25 GB, free: 85.34 MB / 0.6857 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00328/2.168, allocations: 5.257 MB / 1.255 GB, free: 80.05 MB / 0.6857 GB Notification: Performance of simCode: alias equations: time 0.0159/2.184, allocations: 5.023 MB / 1.26 GB, free: 75.05 MB / 0.6857 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003757/2.188, allocations: 0.928 MB / 1.261 GB, free: 74.12 MB / 0.6857 GB Notification: Performance of SimCode: time 7.62e-07/2.188, allocations: 0 / 1.261 GB, free: 74.12 MB / 0.6857 GB Notification: Performance of Templates: time 0.496/2.684, allocations: 219.5 MB / 1.475 GB, free: 102.4 MB / 0.6857 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.Example1v2.makefile (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.Example1v2.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.Example1v2.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.Example1v2.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.Example1v2.sim & ./IDEAS_IDEAS.Fluid.Examples.Performance.Example1v2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.Performance.Example1v2.pipe 2>&1)