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.000912/0.0009119, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.006967/0.006967, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.401/1.401, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7714/0.7714, allocations: 132.4 MB / 423.8 MB, free: 1.945 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003249/0.000325, allocations: 8 kB / 0.504 GB, free: 3.898 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4246/0.4249, allocations: 81.58 MB / 0.5837 GB, free: 4.035 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example1v2): time 0.07637/0.5013, allocations: 78.61 MB / 0.6604 GB, free: 1.582 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.02629/0.5276, allocations: 19.11 MB / 0.6791 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005216/0.5329, allocations: 87.44 kB / 0.6792 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.003798/0.5367, allocations: 0.9715 MB / 0.6801 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.007675/0.5444, allocations: 2.583 MB / 0.6826 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.005396/0.5498, allocations: 2.152 MB / 0.6847 GB, free: 8.648 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.03162/0.5815, allocations: 35.94 MB / 0.7198 GB, free: 4.613 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01821/0.5997, allocations: 14.96 MB / 0.7345 GB, free: 5.535 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01712/0.6169, allocations: 9.167 MB / 0.7434 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01917/0.6361, allocations: 11.31 MB / 0.7545 GB, free: 0.9922 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.004063/0.6402, allocations: 0.8047 MB / 0.7552 GB, free: 192 kB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008321/0.6485, allocations: 2.06 MB / 0.7572 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.005068/0.6536, allocations: 3.021 MB / 0.7602 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.01008/0.6637, allocations: 5.803 MB / 0.7659 GB, free: 5.258 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01918/0.6829, allocations: 17.58 MB / 0.783 GB, free: 3.625 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.683, allocations: 0 / 0.783 GB, free: 3.625 MB / 0.6075 GB Notification: Performance of FrontEnd: time 4.007e-06/0.683, allocations: 3.984 kB / 0.783 GB, free: 3.621 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0004356/0.6834, allocations: 0 / 0.783 GB, free: 3.621 MB / 0.6075 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.03/0.7134, allocations: 12.95 MB / 0.7957 GB, free: 6.562 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.7135, allocations: 8.031 kB / 0.7957 GB, free: 6.555 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006062/0.7196, allocations: 1.292 MB / 0.797 GB, free: 5.25 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01851/0.7381, allocations: 10.01 MB / 0.8067 GB, free: 11.15 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003313/0.7385, allocations: 440.1 kB / 0.8072 GB, free: 10.72 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001898/0.7404, allocations: 0.5857 MB / 0.8077 GB, free: 10.13 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5833/1.324, allocations: 14.62 MB / 0.822 GB, free: 197.9 MB / 0.6388 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001559/1.324, allocations: 17.81 kB / 0.822 GB, free: 197.9 MB / 0.6388 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00122/1.325, allocations: 251.2 kB / 0.8223 GB, free: 197.7 MB / 0.6388 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001266/1.325, allocations: 138.4 kB / 0.8224 GB, free: 197.7 MB / 0.6388 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02909/1.354, allocations: 19.79 MB / 0.8417 GB, free: 189.6 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.09457/1.449, allocations: 66.14 MB / 0.9063 GB, free: 129.3 MB / 0.6388 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0111/1.46, allocations: 9.199 MB / 0.9153 GB, free: 120.1 MB / 0.6388 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009451/1.47, allocations: 8.607 MB / 0.9237 GB, free: 111.5 MB / 0.6388 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04516/1.515, allocations: 30.62 MB / 0.9536 GB, free: 80.61 MB / 0.6388 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00873/1.524, allocations: 7.662 MB / 0.9611 GB, free: 72.9 MB / 0.6388 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02584/1.549, allocations: 11.77 MB / 0.9726 GB, free: 61.26 MB / 0.6388 GB Notification: Performance of pre-optimization done (n=300): time 2.248e-05/1.549, allocations: 3.984 kB / 0.9726 GB, free: 61.25 MB / 0.6388 GB Notification: Performance of matching and sorting (n=300): time 0.04102/1.59, allocations: 23.89 MB / 0.9959 GB, free: 37.23 MB / 0.6388 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.455e-05/1.591, allocations: 85.77 kB / 0.996 GB, free: 37.13 MB / 0.6388 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01061/1.601, allocations: 8.03 MB / 1.004 GB, free: 29.12 MB / 0.6388 GB Notification: Performance of collectPreVariables (initialization): time 0.001223/1.602, allocations: 105.6 kB / 1.004 GB, free: 29.02 MB / 0.6388 GB Notification: Performance of collectInitialEqns (initialization): time 0.002994/1.605, allocations: 4.072 MB / 1.008 GB, free: 24.94 MB / 0.6388 GB Notification: Performance of collectInitialBindings (initialization): time 0.001786/1.607, allocations: 1.08 MB / 1.009 GB, free: 23.86 MB / 0.6388 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001268/1.608, allocations: 379.5 kB / 1.009 GB, free: 23.48 MB / 0.6388 GB Notification: Performance of setup shared object (initialization): time 3.202e-05/1.609, allocations: 305.1 kB / 1.01 GB, free: 23.18 MB / 0.6388 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007971/1.616, allocations: 6.535 MB / 1.016 GB, free: 16.64 MB / 0.6388 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008637/1.625, allocations: 8.333 MB / 1.024 GB, free: 7.461 MB / 0.6388 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01995/1.645, allocations: 15.27 MB / 1.039 GB, free: 7.488 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.65e-05/1.645, allocations: 16 kB / 1.039 GB, free: 7.473 MB / 0.6544 GB Notification: Performance of matching and sorting (n=579) (initialization): time 0.03557/1.681, allocations: 17.7 MB / 1.056 GB, free: 5.715 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.001121/1.682, allocations: 1.56 MB / 1.058 GB, free: 3.477 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.687e-05/1.682, allocations: 55.92 kB / 1.058 GB, free: 3.422 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07205/1.754, allocations: 11.38 MB / 1.069 GB, free: 8.059 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008609/1.763, allocations: 1.557 MB / 1.071 GB, free: 6.496 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2958/2.059, allocations: 6.465 MB / 1.077 GB, free: 226.8 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01084/2.069, allocations: 0.5228 MB / 1.077 GB, free: 226.8 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001957/2.071, allocations: 0.5417 MB / 1.078 GB, free: 226.8 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/2.071, allocations: 9.406 kB / 1.078 GB, free: 226.8 MB / 0.6857 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0281/2.1, allocations: 16.83 MB / 1.094 GB, free: 222.5 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001219/2.1, allocations: 51.44 kB / 1.094 GB, free: 222.5 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06958/2.169, allocations: 10.93 MB / 1.105 GB, free: 221.8 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008316/2.178, allocations: 1.546 MB / 1.107 GB, free: 221.7 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01128/2.189, allocations: 10.37 MB / 1.117 GB, free: 214.6 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009967/2.199, allocations: 0.5041 MB / 1.117 GB, free: 214.4 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002821/2.202, allocations: 0.5403 MB / 1.118 GB, free: 214.1 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 (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 (527): * Single equations (assignments): 521 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (20,21), (2,5)} Notification: Performance of prepare postOptimizeDAE: time 0.01032/2.212, allocations: 2.666 MB / 1.12 GB, free: 212.6 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004228/2.216, allocations: 0.7589 MB / 1.121 GB, free: 212.6 MB / 0.6857 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02965/2.246, allocations: 14.17 MB / 1.135 GB, free: 202.7 MB / 0.6857 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.745e-05/2.246, allocations: 36 kB / 1.135 GB, free: 202.7 MB / 0.6857 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.245e-05/2.246, allocations: 0 / 1.135 GB, free: 202.7 MB / 0.6857 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01543/2.262, allocations: 10.77 MB / 1.145 GB, free: 191.8 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.03727/2.299, allocations: 24.56 MB / 1.169 GB, free: 167.2 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-05/2.299, allocations: 4.062 kB / 1.169 GB, free: 167.2 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005212/2.304, allocations: 0.6884 MB / 1.17 GB, free: 166.5 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06592/2.37, allocations: 10.27 MB / 1.18 GB, free: 156.3 MB / 0.6857 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001172/2.371, allocations: 103.9 kB / 1.18 GB, free: 156.2 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004488/2.376, allocations: 4.703 MB / 1.185 GB, free: 151.3 MB / 0.6857 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.097e-06/2.376, allocations: 8.156 kB / 1.185 GB, free: 151.3 MB / 0.6857 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02653/2.402, allocations: 19.31 MB / 1.204 GB, free: 132.2 MB / 0.6857 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004874/2.407, allocations: 1.947 MB / 1.206 GB, free: 130.3 MB / 0.6857 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00221/2.41, allocations: 75.81 kB / 1.206 GB, free: 130.2 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006613/2.416, allocations: 384.2 kB / 1.206 GB, free: 129.8 MB / 0.6857 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009679/2.417, allocations: 222.5 kB / 1.206 GB, free: 129.6 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000739/2.418, allocations: 159.9 kB / 1.206 GB, free: 129.5 MB / 0.6857 GB Notification: Performance of sorting global known variables: time 0.008443/2.426, allocations: 5.531 MB / 1.212 GB, free: 124 MB / 0.6857 GB Notification: Performance of sort global known variables: time 2.81e-07/2.426, allocations: 0 / 1.212 GB, free: 124 MB / 0.6857 GB Notification: Performance of remove unused functions: time 0.01646/2.443, allocations: 4.852 MB / 1.217 GB, free: 119.3 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (2,5), (20,21)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002066/2.445, allocations: 0.5745 MB / 1.217 GB, free: 118.8 MB / 0.6857 GB Notification: Performance of simCode: created initialization part: time 0.03337/2.478, allocations: 24 MB / 1.241 GB, free: 94.75 MB / 0.6857 GB Notification: Performance of simCode: created event and clocks part: time 9.398e-06/2.478, allocations: 4 kB / 1.241 GB, free: 94.75 MB / 0.6857 GB Notification: Performance of simCode: created simulation system equations: time 0.008539/2.487, allocations: 6.408 MB / 1.247 GB, free: 88.32 MB / 0.6857 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02538/2.512, allocations: 4.674 MB / 1.251 GB, free: 83.79 MB / 0.6857 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03075/2.543, allocations: 23.83 MB / 1.275 GB, free: 59.94 MB / 0.6857 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004654/2.548, allocations: 5.254 MB / 1.28 GB, free: 54.65 MB / 0.6857 GB Notification: Performance of simCode: alias equations: time 0.01888/2.567, allocations: 5.044 MB / 1.285 GB, free: 49.62 MB / 0.6857 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005375/2.572, allocations: 0.9086 MB / 1.286 GB, free: 48.71 MB / 0.6857 GB Notification: Performance of SimCode: time 8.81e-07/2.572, allocations: 0 / 1.286 GB, free: 48.71 MB / 0.6857 GB Notification: Performance of Templates: time 0.5707/3.143, allocations: 217.3 MB / 1.498 GB, free: 82.58 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)