Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.Example4.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.Example4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.Example4") translateModel(IDEAS.Fluid.Examples.Performance.Example4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.Example4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009154/0.0009153, allocations: 99.47 kB / 15.05 MB, free: 1.105 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.0009492/0.0009493, allocations: 177.3 kB / 15.94 MB, free: 228 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.225/1.225, allocations: 223.2 MB / 239.9 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.849/0.849, allocations: 135.2 MB / 426.2 MB, free: 14.16 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002748/0.0002748, allocations: 12 kB / 0.5068 GB, free: 5.262 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/0.1342, allocations: 82.32 MB / 0.5872 GB, free: 3.121 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example4): time 0.4174/0.5516, allocations: 194.8 MB / 0.7774 GB, free: 9.66 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01907/0.5707, allocations: 14.48 MB / 0.7916 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002205/0.5729, allocations: 47.62 kB / 0.7916 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.00309/0.576, allocations: 0.9449 MB / 0.7926 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.008197/0.5842, allocations: 2.984 MB / 0.7955 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.004368/0.5886, allocations: 1.528 MB / 0.797 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003757/0.5924, allocations: 2.033 MB / 0.7989 GB, free: 3.629 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001336/0.5937, allocations: 0.9527 MB / 0.7999 GB, free: 2.66 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003609/0.5973, allocations: 1.702 MB / 0.8015 GB, free: 0.9531 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000923/0.5983, allocations: 0.7 MB / 0.8022 GB, free: 256 kB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001076/0.5984, allocations: 48 kB / 0.8023 GB, free: 208 kB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003311/0.6017, allocations: 1.673 MB / 0.8039 GB, free: 14.53 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003336/0.6021, allocations: 362.7 kB / 0.8042 GB, free: 14.17 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0003129/0.6024, allocations: 336.9 kB / 0.8046 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001988/0.6044, allocations: 1.886 MB / 0.8064 GB, free: 11.95 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 1.924e-06/0.6044, allocations: 0 / 0.8064 GB, free: 11.95 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.693e-06/0.6044, allocations: 0 / 0.8064 GB, free: 11.95 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.22e-05/0.6044, allocations: 0 / 0.8064 GB, free: 11.95 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.002673/0.6071, allocations: 1.692 MB / 0.8081 GB, free: 10.2 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.151e-05/0.6071, allocations: 8.031 kB / 0.8081 GB, free: 10.19 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002461/0.6096, allocations: 0.5493 MB / 0.8086 GB, free: 9.641 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0019/0.6115, allocations: 1.068 MB / 0.8096 GB, free: 8.52 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008506/0.6124, allocations: 273.8 kB / 0.8099 GB, free: 8.25 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001254/0.6125, allocations: 96 kB / 0.81 GB, free: 8.156 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002083/0.6146, allocations: 1.326 MB / 0.8113 GB, free: 6.742 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.862e-05/0.6146, allocations: 8 kB / 0.8113 GB, free: 6.734 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.924e-05/0.6147, allocations: 43.95 kB / 0.8113 GB, free: 6.691 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.805e-05/0.6148, allocations: 45.94 kB / 0.8114 GB, free: 6.645 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002233/0.617, allocations: 1.101 MB / 0.8125 GB, free: 5.543 MB / 0.6231 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.006636/0.6237, allocations: 6.711 MB / 0.819 GB, free: 14.38 MB / 0.6388 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001898/0.6256, allocations: 0.6369 MB / 0.8196 GB, free: 13.74 MB / 0.6388 GB Notification: Performance of preOpt evalFunc (simulation): time 7.386e-05/0.6257, allocations: 12.27 kB / 0.8197 GB, free: 13.73 MB / 0.6388 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.39e-05/0.6257, allocations: 42.78 kB / 0.8197 GB, free: 13.68 MB / 0.6388 GB Notification: Performance of pre-optimization done (n=33): time 2.164e-06/0.6257, allocations: 0 / 0.8197 GB, free: 13.68 MB / 0.6388 GB Notification: Performance of matching and sorting (n=33): time 0.002371/0.6281, allocations: 0.9189 MB / 0.8206 GB, free: 12.75 MB / 0.6388 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.897e-05/0.6281, allocations: 55.41 kB / 0.8206 GB, free: 12.68 MB / 0.6388 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001634/0.6298, allocations: 1.358 MB / 0.822 GB, free: 11.32 MB / 0.6388 GB Notification: Performance of collectPreVariables (initialization): time 5.225e-05/0.6298, allocations: 33.7 kB / 0.822 GB, free: 11.28 MB / 0.6388 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004726/0.6303, allocations: 0.6795 MB / 0.8227 GB, free: 10.59 MB / 0.6388 GB Notification: Performance of collectInitialBindings (initialization): time 9.907e-05/0.6304, allocations: 122.3 kB / 0.8228 GB, free: 10.47 MB / 0.6388 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.225e-05/0.6304, allocations: 12 kB / 0.8228 GB, free: 10.46 MB / 0.6388 GB Notification: Performance of setup shared object (initialization): time 0.0001069/0.6306, allocations: 334 kB / 0.8231 GB, free: 10.13 MB / 0.6388 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007828/0.6313, allocations: 325.1 kB / 0.8234 GB, free: 9.809 MB / 0.6388 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001018/0.6324, allocations: 0.6647 MB / 0.8241 GB, free: 8.988 MB / 0.6388 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008747/0.6333, allocations: 397.3 kB / 0.8244 GB, free: 8.602 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.6333, allocations: 4 kB / 0.8245 GB, free: 8.598 MB / 0.6388 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002064/0.6353, allocations: 1.046 MB / 0.8255 GB, free: 7.543 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 0.001238/0.6366, allocations: 3.913 MB / 0.8293 GB, free: 3.398 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.297e-05/0.6366, allocations: 8 kB / 0.8293 GB, free: 3.391 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.309e-05/0.6366, allocations: 16 kB / 0.8293 GB, free: 3.375 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000792/0.6374, allocations: 207.7 kB / 0.8295 GB, free: 3.172 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.041e-05/0.6375, allocations: 27.8 kB / 0.8295 GB, free: 3.148 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001231/0.6387, allocations: 234.7 kB / 0.8298 GB, free: 2.918 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.24e-05/0.6388, allocations: 39.98 kB / 0.8298 GB, free: 2.879 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 9.688e-06/0.6388, allocations: 7.953 kB / 0.8298 GB, free: 2.871 MB / 0.6388 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00186/0.6407, allocations: 0.8935 MB / 0.8307 GB, free: 1.977 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/0.6407, allocations: 12 kB / 0.8307 GB, free: 1.965 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.6407, allocations: 12 kB / 0.8307 GB, free: 1.953 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007478/0.6415, allocations: 216.5 kB / 0.8309 GB, free: 1.742 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.74e-05/0.6415, allocations: 23.92 kB / 0.8309 GB, free: 1.719 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001056/0.6425, allocations: 199.5 kB / 0.8311 GB, free: 1.523 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.692e-05/0.6426, allocations: 43.98 kB / 0.8312 GB, free: 1.48 MB / 0.6388 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (81): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005283/0.6432, allocations: 412.8 kB / 0.8316 GB, free: 1.066 MB / 0.6388 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001667/0.6433, allocations: 142.2 kB / 0.8317 GB, free: 0.9258 MB / 0.6388 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001541/0.6449, allocations: 0.6857 MB / 0.8324 GB, free: 232 kB / 0.6388 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.6449, allocations: 3.984 kB / 0.8324 GB, free: 228 kB / 0.6388 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.6449, allocations: 7.938 kB / 0.8324 GB, free: 220 kB / 0.6388 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.6449, allocations: 0 / 0.8324 GB, free: 220 kB / 0.6388 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004087/0.649, allocations: 2.531 MB / 0.8349 GB, free: 13.53 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.2e-05/0.649, allocations: 8 kB / 0.8349 GB, free: 13.52 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000461/0.6495, allocations: 116 kB / 0.835 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.044e-05/0.6495, allocations: 12 kB / 0.835 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.206e-05/0.6496, allocations: 16 kB / 0.835 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.941e-05/0.6496, allocations: 19.92 kB / 0.835 GB, free: 13.36 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.091e-06/0.6496, allocations: 8 kB / 0.835 GB, free: 13.35 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001764/0.6514, allocations: 1.396 MB / 0.8364 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000463/0.6518, allocations: 287.2 kB / 0.8367 GB, free: 11.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002146/0.6521, allocations: 19.95 kB / 0.8367 GB, free: 11.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009946/0.6531, allocations: 115.8 kB / 0.8368 GB, free: 11.19 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.096e-05/0.6531, allocations: 47.98 kB / 0.8368 GB, free: 11.14 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.924e-05/0.6532, allocations: 35.97 kB / 0.8369 GB, free: 11.11 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001247/0.6545, allocations: 0.92 MB / 0.8378 GB, free: 10.19 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.81e-07/0.6545, allocations: 4 kB / 0.8378 GB, free: 10.18 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001622/0.6561, allocations: 0.5809 MB / 0.8383 GB, free: 9.602 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005854/0.6567, allocations: 278.2 kB / 0.8386 GB, free: 9.332 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002695/0.6594, allocations: 1.155 MB / 0.8397 GB, free: 8.18 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.6594, allocations: 0 / 0.8397 GB, free: 8.18 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0006865/0.6601, allocations: 302.4 kB / 0.84 GB, free: 7.887 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002553/0.6627, allocations: 0.6255 MB / 0.8406 GB, free: 7.277 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003621/0.6663, allocations: 2.655 MB / 0.8432 GB, free: 4.492 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007758/0.6671, allocations: 1.212 MB / 0.8444 GB, free: 3.25 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001368/0.6685, allocations: 351.5 kB / 0.8447 GB, free: 2.902 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002261/0.6687, allocations: 95.36 kB / 0.8448 GB, free: 2.809 MB / 0.6544 GB Notification: Performance of SimCode: time 4.8e-07/0.6687, allocations: 0 / 0.8448 GB, free: 2.809 MB / 0.6544 GB Notification: Performance of Templates: time 0.2631/0.9318, allocations: 21.39 MB / 0.8657 GB, free: 215.9 MB / 0.67 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.Example4.makefile Environment - environmentSimulation: (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.Example4.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.Example4.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.Example4.sim & ./IDEAS_IDEAS.Fluid.Examples.Performance.Example4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.Performance.Example4.pipe 2>&1) Environment - environmentSimulation: