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.0008657/0.0008657, allocations: 91.92 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001116/0.001116, allocations: 179.7 kB / 16.92 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.416/1.416, allocations: 223.3 MB / 241 MB, free: 5.215 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.052/1.052, allocations: 135.3 MB / 427.4 MB, free: 14.21 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003684/0.0003684, allocations: 8 kB / 0.5082 GB, free: 4.785 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.187/0.1873, allocations: 82.32 MB / 0.5886 GB, free: 2.645 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example2): time 0.4008/0.5882, allocations: 28.68 MB / 0.6166 GB, free: 33.96 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01263/0.6009, allocations: 9.851 MB / 0.6262 GB, free: 32.09 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001869/0.6028, allocations: 39.56 kB / 0.6263 GB, free: 32.07 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001916/0.6047, allocations: 0.6026 MB / 0.6269 GB, free: 31.87 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003886/0.6086, allocations: 1.35 MB / 0.6282 GB, free: 31.34 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003464/0.6121, allocations: 1.228 MB / 0.6294 GB, free: 30.86 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.005419/0.6175, allocations: 5.016 MB / 0.6343 GB, free: 29.04 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001748/0.6193, allocations: 1.112 MB / 0.6354 GB, free: 28.57 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002587/0.6219, allocations: 1.27 MB / 0.6366 GB, free: 28.06 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001612/0.6235, allocations: 1.016 MB / 0.6376 GB, free: 27.62 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001572/0.6237, allocations: 51.44 kB / 0.6377 GB, free: 27.62 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002381/0.6261, allocations: 1.053 MB / 0.6387 GB, free: 27.3 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003666/0.6265, allocations: 317.7 kB / 0.639 GB, free: 27.17 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008703/0.6273, allocations: 0.7213 MB / 0.6397 GB, free: 26.73 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002149/0.6295, allocations: 1.8 MB / 0.6414 GB, free: 26.3 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.6295, allocations: 0 / 0.6414 GB, free: 26.3 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.785e-06/0.6295, allocations: 0 / 0.6414 GB, free: 26.3 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.144e-05/0.6296, allocations: 0 / 0.6414 GB, free: 26.3 MB / 0.4981 GB 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.002618/0.6322, allocations: 1.678 MB / 0.6431 GB, free: 25.18 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.6322, allocations: 8.938 kB / 0.6431 GB, free: 25.18 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009971/0.6332, allocations: 249.7 kB / 0.6433 GB, free: 25.09 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002159/0.6354, allocations: 1.328 MB / 0.6446 GB, free: 24.34 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.468e-05/0.6355, allocations: 74.36 kB / 0.6447 GB, free: 24.3 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001267/0.6356, allocations: 90.7 kB / 0.6448 GB, free: 24.27 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001499/0.6371, allocations: 0.9817 MB / 0.6457 GB, free: 23.8 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.271e-05/0.6372, allocations: 2.625 kB / 0.6457 GB, free: 23.8 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.549e-05/0.6372, allocations: 34.88 kB / 0.6458 GB, free: 23.78 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.546e-05/0.6373, allocations: 18.38 kB / 0.6458 GB, free: 23.78 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001306/0.6386, allocations: 0.7249 MB / 0.6465 GB, free: 23.54 MB / 0.4981 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.005177/0.6438, allocations: 4.957 MB / 0.6513 GB, free: 19.76 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001249/0.645, allocations: 0.5806 MB / 0.6519 GB, free: 19.54 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00068/0.6457, allocations: 326 kB / 0.6522 GB, free: 19.43 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002719/0.6485, allocations: 1.571 MB / 0.6538 GB, free: 18.21 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007889/0.6493, allocations: 329.4 kB / 0.6541 GB, free: 18.09 MB / 0.4981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005925/0.6499, allocations: 104.7 kB / 0.6542 GB, free: 18.04 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=44): time 2.786e-06/0.6499, allocations: 0 / 0.6542 GB, free: 18.04 MB / 0.4981 GB Notification: Performance of matching and sorting (n=44): time 0.003519/0.6534, allocations: 1.17 MB / 0.6553 GB, free: 17.61 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.31e-05/0.6535, allocations: 61.27 kB / 0.6554 GB, free: 17.54 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002282/0.6557, allocations: 1.266 MB / 0.6566 GB, free: 17.06 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001019/0.6559, allocations: 42.89 kB / 0.6567 GB, free: 17.02 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006609/0.6565, allocations: 0.643 MB / 0.6573 GB, free: 16.51 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001637/0.6567, allocations: 152.1 kB / 0.6574 GB, free: 16.39 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001296/0.6568, allocations: 66.7 kB / 0.6575 GB, free: 16.36 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001057/0.657, allocations: 337.1 kB / 0.6578 GB, free: 16.04 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007055/0.6577, allocations: 269.5 kB / 0.6581 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007875/0.6585, allocations: 0.5953 MB / 0.6586 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001245/0.6597, allocations: 0.811 MB / 0.6594 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.334e-06/0.6597, allocations: 2.406 kB / 0.6594 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002389/0.6621, allocations: 1.107 MB / 0.6605 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001735/0.6623, allocations: 350 kB / 0.6609 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.973e-05/0.6623, allocations: 12.31 kB / 0.6609 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006462/0.663, allocations: 187.2 kB / 0.661 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005433/0.6636, allocations: 140.7 kB / 0.6612 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006731/0.6642, allocations: 0.7715 MB / 0.6619 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001092/0.6653, allocations: 79.09 kB / 0.662 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.709e-05/0.6654, allocations: 37.62 kB / 0.662 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.6655, allocations: 6.812 kB / 0.6621 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001684/0.6672, allocations: 0.9212 MB / 0.663 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.324e-05/0.6672, allocations: 7.5 kB / 0.663 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000215/0.6674, allocations: 113.3 kB / 0.6631 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004719/0.6679, allocations: 134.9 kB / 0.6632 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001999/0.6699, allocations: 2.164 MB / 0.6653 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001023/0.6709, allocations: 81.84 kB / 0.6654 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.737e-05/0.671, allocations: 32.31 kB / 0.6654 GB, free: 11.07 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (72): * Single equations (assignments): 69 * 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.0009141/0.6719, allocations: 474.8 kB / 0.6659 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002309/0.6722, allocations: 131.8 kB / 0.666 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001922/0.6741, allocations: 0.8619 MB / 0.6668 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.518e-05/0.6741, allocations: 9.859 kB / 0.6668 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.6741, allocations: 1.031 kB / 0.6668 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001321/0.6755, allocations: 0.879 MB / 0.6677 GB, free: 9.793 MB / 0.4981 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.003273/0.6787, allocations: 1.858 MB / 0.6695 GB, free: 8.859 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.162e-06/0.6788, allocations: 1.797 kB / 0.6695 GB, free: 8.859 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003972/0.6792, allocations: 77.27 kB / 0.6696 GB, free: 8.855 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002923/0.6795, allocations: 124.8 kB / 0.6697 GB, free: 8.816 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.079e-05/0.6795, allocations: 16.72 kB / 0.6697 GB, free: 8.809 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005533/0.6801, allocations: 0.7487 MB / 0.6705 GB, free: 8.215 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.6801, allocations: 5.219 kB / 0.6705 GB, free: 8.211 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002259/0.6824, allocations: 1.188 MB / 0.6716 GB, free: 7.656 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006067/0.683, allocations: 274.1 kB / 0.6719 GB, free: 7.449 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001323/0.6831, allocations: 7.016 kB / 0.6719 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000621/0.6838, allocations: 69.17 kB / 0.672 GB, free: 7.43 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000103/0.6839, allocations: 40.3 kB / 0.672 GB, free: 7.422 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.726e-05/0.6839, allocations: 21.89 kB / 0.672 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001417/0.6854, allocations: 0.8755 MB / 0.6729 GB, free: 7.086 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6854, allocations: 0 / 0.6729 GB, free: 7.086 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002227/0.6876, allocations: 0.6436 MB / 0.6735 GB, free: 6.965 MB / 0.4981 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 (39): * Single equations (assignments): 33 * 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.000949/0.6885, allocations: 371.4 kB / 0.6739 GB, free: 6.785 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002848/0.6914, allocations: 1.33 MB / 0.6752 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.6914, allocations: 0 / 0.6752 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007544/0.6922, allocations: 323.3 kB / 0.6755 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002982/0.6952, allocations: 0.5641 MB / 0.676 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004337/0.6995, allocations: 2.763 MB / 0.6787 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009156/0.7005, allocations: 1.263 MB / 0.6799 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003795/0.7009, allocations: 107.6 kB / 0.68 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of SimCode: time 2.304e-06/0.7009, allocations: 0 / 0.68 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of Templates: time 0.04547/0.7464, allocations: 28.45 MB / 0.7078 GB, free: 0.832 MB / 0.5137 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example2.pipe 2>&1)