Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.Example5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.Example5") translateModel(IDEAS.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.004767/0.004767, allocations: 102 kB / 15.73 MB, free: 6.043 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.001153/0.001153, allocations: 195 kB / 16.67 MB, free: 5.965 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.328/1.328, 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/package.mo): time 0.813/0.813, allocations: 132.2 MB / 422.7 MB, free: 6.555 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 63.28 kB / 0.5813 GB, free: 23.75 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.171/0.1722, allocations: 80.21 MB / 0.6596 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example5): time 0.001688/0.174, allocations: 0.5133 MB / 0.6602 GB, free: 9.766 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002055/0.1742, allocations: 47.8 kB / 0.6602 GB, free: 9.719 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.682e-05/0.1742, allocations: 3.938 kB / 0.6602 GB, free: 9.715 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 5.014e-05/0.1743, allocations: 0 / 0.6602 GB, free: 9.715 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001594/0.1745, allocations: 0 / 0.6602 GB, free: 9.715 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 6.513e-05/0.1745, allocations: 15.86 kB / 0.6602 GB, free: 9.699 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.484e-05/0.1746, allocations: 12 kB / 0.6602 GB, free: 9.688 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.339e-05/0.1747, allocations: 0 / 0.6602 GB, free: 9.688 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.925e-05/0.1747, allocations: 4 kB / 0.6602 GB, free: 9.684 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.166e-05/0.1748, allocations: 11.97 kB / 0.6602 GB, free: 9.672 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.819e-05/0.1749, allocations: 0 / 0.6602 GB, free: 9.672 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.637e-06/0.1749, allocations: 0 / 0.6602 GB, free: 9.672 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.894e-05/0.1749, allocations: 11.94 kB / 0.6603 GB, free: 9.66 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.089e-05/0.175, allocations: 3.984 kB / 0.6603 GB, free: 9.656 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 6.873e-05/0.175, allocations: 7.938 kB / 0.6603 GB, free: 9.648 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.175, allocations: 0 / 0.6603 GB, free: 9.648 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.674e-06/0.1751, allocations: 0 / 0.6603 GB, free: 9.648 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.454e-06/0.1751, allocations: 4 kB / 0.6603 GB, free: 9.645 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.0004462/0.1755, allocations: 335.5 kB / 0.6606 GB, free: 9.27 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.1756, allocations: 8.031 kB / 0.6606 GB, free: 9.262 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.787e-05/0.1756, allocations: 0.9375 kB / 0.6606 GB, free: 9.262 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002129/0.1758, allocations: 184.2 kB / 0.6608 GB, free: 9.043 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/0.1758, allocations: 384 / 0.6608 GB, free: 9.043 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.101e-05/0.1759, allocations: 384 / 0.6608 GB, free: 9.043 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.071e-05/0.176, allocations: 33.64 kB / 0.6608 GB, free: 9.004 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.176, allocations: 4 kB / 0.6608 GB, free: 9 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.426e-06/0.176, allocations: 0 / 0.6608 GB, free: 9 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.176, allocations: 0 / 0.6608 GB, free: 9 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.251e-05/0.176, allocations: 7.984 kB / 0.6608 GB, free: 8.992 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001838/0.1762, allocations: 153.7 kB / 0.661 GB, free: 8.793 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.983e-05/0.1763, allocations: 26.52 kB / 0.661 GB, free: 8.758 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.451e-05/0.1763, allocations: 7.75 kB / 0.661 GB, free: 8.75 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.085e-05/0.1763, allocations: 3.938 kB / 0.661 GB, free: 8.746 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.592e-05/0.1763, allocations: 38.62 kB / 0.661 GB, free: 8.699 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.1764, allocations: 0 / 0.661 GB, free: 8.699 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001549/0.1765, allocations: 45.58 kB / 0.6611 GB, free: 8.648 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.578e-05/0.1766, allocations: 51.41 kB / 0.6611 GB, free: 8.586 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001006/0.1767, allocations: 113.8 kB / 0.6612 GB, free: 8.465 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.703e-05/0.1767, allocations: 25.7 kB / 0.6613 GB, free: 8.434 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.278e-05/0.1767, allocations: 88.08 kB / 0.6613 GB, free: 8.344 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.992e-05/0.1768, allocations: 4.125 kB / 0.6614 GB, free: 8.34 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.01e-05/0.1768, allocations: 13.72 kB / 0.6614 GB, free: 8.32 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.1769, allocations: 314.8 kB / 0.6617 GB, free: 8.004 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.908e-05/0.1769, allocations: 7.984 kB / 0.6617 GB, free: 7.996 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.338e-05/0.177, allocations: 21.66 kB / 0.6617 GB, free: 7.969 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.671e-05/0.177, allocations: 29.77 kB / 0.6617 GB, free: 7.934 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.177, allocations: 0 / 0.6617 GB, free: 7.934 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.112e-05/0.1771, allocations: 53.55 kB / 0.6618 GB, free: 7.875 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.1771, allocations: 6.031 kB / 0.6618 GB, free: 7.871 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.1771, allocations: 4 kB / 0.6618 GB, free: 7.867 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/0.1772, allocations: 0 / 0.6618 GB, free: 7.867 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.155e-05/0.1772, allocations: 4.25 kB / 0.6618 GB, free: 7.863 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.1772, allocations: 0 / 0.6618 GB, free: 7.863 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.453e-05/0.1773, allocations: 4 kB / 0.6618 GB, free: 7.859 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-06/0.1773, allocations: 0 / 0.6618 GB, free: 7.859 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 7.772e-05/0.1774, allocations: 121.9 kB / 0.6619 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.088e-05/0.1774, allocations: 7.844 kB / 0.6619 GB, free: 7.723 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.618e-05/0.1775, allocations: 52.75 kB / 0.662 GB, free: 7.66 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.1775, allocations: 0 / 0.662 GB, free: 7.66 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.1775, allocations: 0 / 0.662 GB, free: 7.66 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.1775, allocations: 0 / 0.662 GB, free: 7.66 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001075/0.1776, allocations: 149.7 kB / 0.6621 GB, free: 7.465 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.1776, allocations: 7.938 kB / 0.6621 GB, free: 7.457 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.703e-05/0.1777, allocations: 8.016 kB / 0.6621 GB, free: 7.449 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.1777, allocations: 0 / 0.6621 GB, free: 7.449 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.713e-06/0.1777, allocations: 4 kB / 0.6621 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.1777, allocations: 0 / 0.6621 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1777, allocations: 0 / 0.6621 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001235/0.1778, allocations: 77.06 kB / 0.6622 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.594e-05/0.1779, allocations: 89.06 kB / 0.6623 GB, free: 7.246 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.042e-05/0.1779, allocations: 0 / 0.6623 GB, free: 7.246 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.02e-05/0.1779, allocations: 4.094 kB / 0.6623 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.595e-05/0.1779, allocations: 0 / 0.6623 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.335e-06/0.1779, allocations: 0 / 0.6623 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.892e-05/0.178, allocations: 91.27 kB / 0.6624 GB, free: 7.152 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.178, allocations: 3.938 kB / 0.6624 GB, free: 7.148 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001805/0.1782, allocations: 4 kB / 0.6624 GB, free: 7.145 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 0.0001004/0.1783, allocations: 91.25 kB / 0.6625 GB, free: 7.043 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.039e-05/0.1784, allocations: 23.92 kB / 0.6625 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.1784, allocations: 4 kB / 0.6625 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.316e-05/0.1784, allocations: 4 kB / 0.6625 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001412/0.1786, allocations: 3.938 kB / 0.6625 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002524/0.1788, allocations: 121.4 kB / 0.6626 GB, free: 6.863 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002203/0.1791, allocations: 0.6729 MB / 0.6633 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.898e-05/0.1791, allocations: 7.984 kB / 0.6633 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.055e-05/0.1791, allocations: 11.38 kB / 0.6633 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.1791, allocations: 4.188 kB / 0.6633 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of Templates: time 0.002092/0.1812, allocations: 307.5 kB / 0.6636 GB, free: 5.844 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.Example5.makefile (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.Example5.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.Example5.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.Example5.sim & ./IDEAS_IDEAS.Fluid.Examples.Performance.Example5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.Performance.Example5.pipe 2>&1)