Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.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.Example5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5") translateModel(IDEAS.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005804/0.005804, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001201/0.001201, allocations: 197.1 kB / 16.68 MB, free: 5.93 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.278/1.278, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7896/0.7896, allocations: 135.1 MB / 425.7 MB, free: 4.078 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 61.5 kB / 0.5856 GB, free: 21.73 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1505/0.1518, allocations: 80.93 MB / 0.6646 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example5): time 0.001629/0.1534, allocations: 0.521 MB / 0.6651 GB, free: 5.289 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002071/0.1537, allocations: 43.88 kB / 0.6652 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.301e-05/0.1537, allocations: 3.938 kB / 0.6652 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.045e-05/0.1538, allocations: 3.938 kB / 0.6652 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001522/0.154, allocations: 3.984 kB / 0.6652 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 7.023e-05/0.1541, allocations: 7.938 kB / 0.6652 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.977e-05/0.1541, allocations: 11.98 kB / 0.6652 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.477e-05/0.1542, allocations: 0 / 0.6652 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.931e-05/0.1542, allocations: 4 kB / 0.6652 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.748e-05/0.1543, allocations: 7.984 kB / 0.6652 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.436e-05/0.1543, allocations: 4 kB / 0.6652 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.205e-06/0.1543, allocations: 0 / 0.6652 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.251e-05/0.1544, allocations: 11.92 kB / 0.6652 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.261e-05/0.1544, allocations: 4 kB / 0.6652 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 5.92e-05/0.1545, allocations: 11.92 kB / 0.6652 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.1545, allocations: 0 / 0.6652 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.362e-06/0.1545, allocations: 0 / 0.6652 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.933e-06/0.1545, allocations: 0 / 0.6652 GB, free: 5.172 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.00038/0.1549, allocations: 327.5 kB / 0.6656 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.155, allocations: 13.09 kB / 0.6656 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.909e-05/0.155, allocations: 8.844 kB / 0.6656 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001776/0.1552, allocations: 176.3 kB / 0.6657 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.068e-05/0.1552, allocations: 384 / 0.6657 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.64e-05/0.1552, allocations: 4.312 kB / 0.6657 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.02e-05/0.1553, allocations: 37.62 kB / 0.6658 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.703e-06/0.1553, allocations: 0 / 0.6658 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.414e-06/0.1553, allocations: 0 / 0.6658 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.1553, allocations: 0 / 0.6658 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.938e-05/0.1554, allocations: 4 kB / 0.6658 GB, free: 4.523 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001538/0.1555, allocations: 157.7 kB / 0.6659 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.995e-05/0.1556, allocations: 22.56 kB / 0.666 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.132e-05/0.1556, allocations: 11.73 kB / 0.666 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.475e-05/0.1556, allocations: 3.938 kB / 0.666 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.284e-05/0.1556, allocations: 38.62 kB / 0.666 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 9.21e-07/0.1556, allocations: 0 / 0.666 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001249/0.1558, allocations: 45.62 kB / 0.6661 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.974e-05/0.1558, allocations: 51.41 kB / 0.6661 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.511e-05/0.1559, allocations: 113.8 kB / 0.6662 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.037e-05/0.1559, allocations: 25.7 kB / 0.6662 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.224e-05/0.156, allocations: 88.12 kB / 0.6663 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.818e-05/0.156, allocations: 3.906 kB / 0.6663 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.758e-05/0.156, allocations: 13.72 kB / 0.6663 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001006/0.1561, allocations: 314.8 kB / 0.6666 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.705e-05/0.1562, allocations: 16.05 kB / 0.6667 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.288e-05/0.1562, allocations: 17.72 kB / 0.6667 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.164e-05/0.1562, allocations: 21.95 kB / 0.6667 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1562, allocations: 0 / 0.6667 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.327e-05/0.1563, allocations: 57.56 kB / 0.6667 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.1563, allocations: 8.125 kB / 0.6668 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.1564, allocations: 0 / 0.6668 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.1564, allocations: 4 kB / 0.6668 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.694e-05/0.1564, allocations: 0 / 0.6668 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.1564, allocations: 4 kB / 0.6668 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.17e-05/0.1565, allocations: 0 / 0.6668 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.219e-06/0.1565, allocations: 0 / 0.6668 GB, free: 3.387 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.457e-05/0.1566, allocations: 113.8 kB / 0.6669 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.17e-05/0.1566, allocations: 7.844 kB / 0.6669 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001028/0.1567, allocations: 56.75 kB / 0.6669 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-06/0.1567, allocations: 0 / 0.6669 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.1567, allocations: 0 / 0.6669 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.1567, allocations: 0 / 0.6669 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.989e-05/0.1568, allocations: 157.7 kB / 0.6671 GB, free: 2.988 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.1568, allocations: 3.938 kB / 0.6671 GB, free: 2.984 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.786e-05/0.1569, allocations: 4 kB / 0.6671 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.1569, allocations: 0 / 0.6671 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.706e-05/0.1569, allocations: 7.984 kB / 0.6671 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1569, allocations: 0 / 0.6671 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.1569, allocations: 0 / 0.6671 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001118/0.157, allocations: 81.09 kB / 0.6672 GB, free: 2.875 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.511e-05/0.1571, allocations: 81.05 kB / 0.6672 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.517e-05/0.1571, allocations: 8.016 kB / 0.6673 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.962e-05/0.1571, allocations: 0 / 0.6673 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.272e-05/0.1571, allocations: 0 / 0.6673 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-06/0.1571, allocations: 3.938 kB / 0.6673 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.38e-05/0.1572, allocations: 91.36 kB / 0.6673 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.1572, allocations: 4 kB / 0.6674 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001855/0.1574, allocations: 4 kB / 0.6674 GB, free: 2.668 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c) * 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.003e-05/0.1575, allocations: 103.4 kB / 0.6675 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.571e-05/0.1576, allocations: 15.98 kB / 0.6675 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1576, allocations: 0 / 0.6675 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.666e-05/0.1576, allocations: 11.94 kB / 0.6675 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001335/0.1577, allocations: 4.125 kB / 0.6675 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002467/0.158, allocations: 117.4 kB / 0.6676 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002282/0.1582, allocations: 0.6768 MB / 0.6683 GB, free: 1.684 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.825e-05/0.1582, allocations: 4 kB / 0.6683 GB, free: 1.68 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.191e-05/0.1583, allocations: 11.42 kB / 0.6683 GB, free: 1.668 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.1583, allocations: 0 / 0.6683 GB, free: 1.668 MB / 0.4981 GB Notification: Performance of Templates: time 0.002111/0.1604, allocations: 309.2 kB / 0.6686 GB, free: 1.367 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.pipe 2>&1)