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.0008044/0.0008044, allocations: 98.56 kB / 16.02 MB, free: 76 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.001003/0.001003, allocations: 184.2 kB / 16.92 MB, free: 6.918 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.356/1.356, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9621/0.9621, allocations: 135.3 MB / 427.4 MB, free: 14.2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003449/0.0003451, allocations: 8.625 kB / 0.5082 GB, free: 4.793 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1631/0.1634, allocations: 82.31 MB / 0.5886 GB, free: 2.656 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example5): time 0.0007186/0.1642, allocations: 238.9 kB / 0.5888 GB, free: 2.418 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001918/0.1644, allocations: 47.86 kB / 0.5889 GB, free: 2.371 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.125e-05/0.1645, allocations: 0 / 0.5889 GB, free: 2.371 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.862e-05/0.1645, allocations: 0 / 0.5889 GB, free: 2.371 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001449/0.1647, allocations: 3.938 kB / 0.5889 GB, free: 2.367 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.095e-05/0.1648, allocations: 8 kB / 0.5889 GB, free: 2.359 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.202e-05/0.1648, allocations: 11.98 kB / 0.5889 GB, free: 2.348 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.596e-05/0.1649, allocations: 0 / 0.5889 GB, free: 2.348 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.133e-05/0.1649, allocations: 7.938 kB / 0.5889 GB, free: 2.34 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.742e-05/0.165, allocations: 11.97 kB / 0.5889 GB, free: 2.328 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.717e-05/0.165, allocations: 0 / 0.5889 GB, free: 2.328 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.488e-06/0.1651, allocations: 0 / 0.5889 GB, free: 2.328 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.068e-05/0.1651, allocations: 4 kB / 0.5889 GB, free: 2.324 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.229e-05/0.1652, allocations: 33.64 kB / 0.589 GB, free: 2.285 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 5.137e-05/0.1652, allocations: 7.984 kB / 0.589 GB, free: 2.277 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1652, allocations: 0 / 0.589 GB, free: 2.277 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.1652, allocations: 7.938 kB / 0.589 GB, free: 2.27 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.817e-06/0.1652, allocations: 0 / 0.589 GB, free: 2.27 MB / 494.1 MB 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.0004454/0.1657, allocations: 323.5 kB / 0.5893 GB, free: 1.906 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.1657, allocations: 12.03 kB / 0.5893 GB, free: 1.895 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.808e-05/0.1658, allocations: 4.875 kB / 0.5893 GB, free: 1.891 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000168/0.1659, allocations: 172.7 kB / 0.5895 GB, free: 1.684 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.083e-05/0.166, allocations: 384 / 0.5895 GB, free: 1.684 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.89e-05/0.166, allocations: 384 / 0.5895 GB, free: 1.684 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.91e-05/0.1661, allocations: 41.81 kB / 0.5895 GB, free: 1.637 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.8e-06/0.1661, allocations: 0 / 0.5895 GB, free: 1.637 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.188e-06/0.1661, allocations: 0 / 0.5895 GB, free: 1.637 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.1661, allocations: 4 kB / 0.5895 GB, free: 1.633 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.792e-05/0.1661, allocations: 0 / 0.5895 GB, free: 1.633 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001472/0.1663, allocations: 153.7 kB / 0.5897 GB, free: 1.434 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.064e-05/0.1663, allocations: 22.55 kB / 0.5897 GB, free: 1.402 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.183e-05/0.1664, allocations: 12.91 kB / 0.5897 GB, free: 1.387 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.673e-05/0.1664, allocations: 4 kB / 0.5897 GB, free: 1.383 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.314e-05/0.1664, allocations: 34.5 kB / 0.5897 GB, free: 1.34 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 2.274e-06/0.1664, allocations: 0 / 0.5897 GB, free: 1.34 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001432/0.1666, allocations: 49.53 kB / 0.5898 GB, free: 1.285 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.132e-05/0.1666, allocations: 59.34 kB / 0.5898 GB, free: 1.215 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.422e-05/0.1667, allocations: 105.8 kB / 0.5899 GB, free: 1.102 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.647e-05/0.1667, allocations: 25.7 kB / 0.59 GB, free: 1.07 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.147e-05/0.1668, allocations: 80.27 kB / 0.59 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.148e-05/0.1668, allocations: 15.94 kB / 0.59 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.187e-05/0.1668, allocations: 9.719 kB / 0.5901 GB, free: 0.957 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.474e-05/0.1669, allocations: 314.8 kB / 0.5904 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.535e-05/0.1669, allocations: 4 kB / 0.5904 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.824e-05/0.167, allocations: 21.72 kB / 0.5904 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.906e-05/0.167, allocations: 25.77 kB / 0.5904 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.167, allocations: 0 / 0.5904 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.48e-05/0.1671, allocations: 61.45 kB / 0.5905 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.1671, allocations: 6.188 kB / 0.5905 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.1671, allocations: 0 / 0.5905 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.1672, allocations: 4 kB / 0.5905 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.432e-05/0.1672, allocations: 0 / 0.5905 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.1672, allocations: 4 kB / 0.5905 GB, free: 0.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.34e-05/0.1673, allocations: 3.984 kB / 0.5905 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.093e-06/0.1673, allocations: 0 / 0.5905 GB, free: 0.4961 MB / 494.1 MB 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.242e-05/0.1674, allocations: 113.9 kB / 0.5906 GB, free: 384 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.346e-06/0.1674, allocations: 7.875 kB / 0.5906 GB, free: 376 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.554e-05/0.1675, allocations: 48.81 kB / 0.5906 GB, free: 320 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.1675, allocations: 3.938 kB / 0.5906 GB, free: 316 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.1675, allocations: 256 / 0.5906 GB, free: 316 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.1675, allocations: 3.984 kB / 0.5907 GB, free: 312 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001044/0.1676, allocations: 161.7 kB / 0.5908 GB, free: 100 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-06/0.1676, allocations: 0 / 0.5908 GB, free: 100 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.929e-05/0.1677, allocations: 11.97 kB / 0.5908 GB, free: 88 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.1677, allocations: 0 / 0.5908 GB, free: 88 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/0.1677, allocations: 0 / 0.5908 GB, free: 88 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.1677, allocations: 7.984 kB / 0.5908 GB, free: 80 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1677, allocations: 0 / 0.5908 GB, free: 80 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001293/0.1678, allocations: 77.05 kB / 0.5909 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.569e-05/0.1679, allocations: 84.95 kB / 0.591 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.372e-05/0.1679, allocations: 7.969 kB / 0.591 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.005e-05/0.1679, allocations: 4.094 kB / 0.591 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.503e-05/0.168, allocations: 4 kB / 0.591 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-06/0.168, allocations: 0 / 0.591 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.271e-05/0.168, allocations: 87.27 kB / 0.5911 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.168, allocations: 0 / 0.5911 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001753/0.1682, allocations: 4 kB / 0.5911 GB, free: 15.78 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.0001027/0.1683, allocations: 95.25 kB / 0.5912 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.994e-05/0.1684, allocations: 19.92 kB / 0.5912 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1684, allocations: 0 / 0.5912 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.283e-05/0.1684, allocations: 8 kB / 0.5912 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000144/0.1686, allocations: 3.938 kB / 0.5912 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002575/0.1688, allocations: 142.7 kB / 0.5913 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002088/0.1691, allocations: 0.6809 MB / 0.592 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.537e-05/0.1691, allocations: 7.438 kB / 0.592 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of SimCode: time 2.61e-07/0.1691, allocations: 4.188 kB / 0.592 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of Templates: time 0.001739/0.1708, allocations: 0.5052 MB / 0.5925 GB, free: 14.25 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)