Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8.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.Example8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8") translateModel(IDEAS.Fluid.Examples.Performance.Example8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009432/0.0009433, allocations: 92.23 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.001053/0.001053, allocations: 181.9 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.317/1.317, allocations: 223.3 MB / 241 MB, free: 5.266 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.917/0.917, allocations: 135.3 MB / 427.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003334/0.0003335, allocations: 12.84 kB / 0.5082 GB, free: 4.738 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1602/0.1606, allocations: 82.32 MB / 0.5886 GB, free: 2.594 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example8): time 0.000633/0.1613, allocations: 238.9 kB / 0.5888 GB, free: 2.355 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001125/0.1614, allocations: 15.97 kB / 0.5889 GB, free: 2.34 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.174e-05/0.1614, allocations: 0 / 0.5889 GB, free: 2.34 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.338e-05/0.1614, allocations: 0 / 0.5889 GB, free: 2.34 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001248/0.1616, allocations: 7.984 kB / 0.5889 GB, free: 2.332 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.515e-06/0.1616, allocations: 3.938 kB / 0.5889 GB, free: 2.328 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.954e-05/0.1616, allocations: 8 kB / 0.5889 GB, free: 2.32 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.668e-05/0.1617, allocations: 0 / 0.5889 GB, free: 2.32 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.324e-05/0.1617, allocations: 0 / 0.5889 GB, free: 2.32 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.06e-05/0.1617, allocations: 7.938 kB / 0.5889 GB, free: 2.312 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.358e-05/0.1618, allocations: 0 / 0.5889 GB, free: 2.312 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.252e-06/0.1618, allocations: 0 / 0.5889 GB, free: 2.312 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.299e-05/0.1618, allocations: 0 / 0.5889 GB, free: 2.312 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.459e-05/0.1618, allocations: 25.7 kB / 0.5889 GB, free: 2.281 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 2.959e-05/0.1619, allocations: 0 / 0.5889 GB, free: 2.281 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.1619, allocations: 3.984 kB / 0.5889 GB, free: 2.277 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1619, allocations: 0 / 0.5889 GB, free: 2.277 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.546e-06/0.1619, allocations: 4 kB / 0.5889 GB, free: 2.273 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002233/0.1621, allocations: 307.6 kB / 0.5892 GB, free: 1.926 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.1622, allocations: 8.031 kB / 0.5892 GB, free: 1.918 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.479e-05/0.1622, allocations: 0.9375 kB / 0.5892 GB, free: 1.918 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.281e-05/0.1623, allocations: 160.4 kB / 0.5894 GB, free: 1.723 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.313e-05/0.1623, allocations: 8.375 kB / 0.5894 GB, free: 1.715 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.256e-06/0.1623, allocations: 384 / 0.5894 GB, free: 1.715 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001081/0.1624, allocations: 55.47 kB / 0.5894 GB, free: 1.648 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.672e-06/0.1624, allocations: 0 / 0.5894 GB, free: 1.648 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.195e-06/0.1625, allocations: 0 / 0.5894 GB, free: 1.648 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.1625, allocations: 0 / 0.5894 GB, free: 1.648 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.246e-05/0.1625, allocations: 4 kB / 0.5894 GB, free: 1.645 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001398/0.1626, allocations: 158.5 kB / 0.5896 GB, free: 1.438 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.167e-05/0.1627, allocations: 41.16 kB / 0.5896 GB, free: 1.379 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.626e-05/0.1627, allocations: 17.84 kB / 0.5896 GB, free: 1.355 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.33e-05/0.1628, allocations: 3.938 kB / 0.5897 GB, free: 1.352 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.617e-05/0.1628, allocations: 42.44 kB / 0.5897 GB, free: 1.301 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 8.91e-07/0.1628, allocations: 0 / 0.5897 GB, free: 1.301 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001345/0.1629, allocations: 45.69 kB / 0.5897 GB, free: 1.25 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.908e-05/0.163, allocations: 81.3 kB / 0.5898 GB, free: 1.152 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.51e-05/0.163, allocations: 97.8 kB / 0.5899 GB, free: 1.047 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.164e-05/0.163, allocations: 25.7 kB / 0.5899 GB, free: 1.016 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.218e-05/0.1631, allocations: 80.14 kB / 0.59 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.677e-05/0.1631, allocations: 3.906 kB / 0.59 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.099e-05/0.1631, allocations: 13.72 kB / 0.59 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.656e-05/0.1632, allocations: 314.8 kB / 0.5903 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.121e-05/0.1632, allocations: 3.984 kB / 0.5903 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.691e-05/0.1633, allocations: 17.72 kB / 0.5903 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.41e-05/0.1633, allocations: 17.72 kB / 0.5904 GB, free: 0.543 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1633, allocations: 0 / 0.5904 GB, free: 0.543 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.893e-05/0.1634, allocations: 41.62 kB / 0.5904 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.1634, allocations: 11.94 kB / 0.5904 GB, free: 496 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.1634, allocations: 0 / 0.5904 GB, free: 496 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/0.1634, allocations: 0 / 0.5904 GB, free: 496 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.605e-05/0.1635, allocations: 4.125 kB / 0.5904 GB, free: 492 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.1635, allocations: 4 kB / 0.5904 GB, free: 488 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.732e-05/0.1635, allocations: 4.281 kB / 0.5904 GB, free: 484 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.564e-06/0.1635, allocations: 4 kB / 0.5904 GB, free: 480 kB / 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 6.902e-05/0.1636, allocations: 117.7 kB / 0.5905 GB, free: 352 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.247e-06/0.1636, allocations: 3.938 kB / 0.5905 GB, free: 348 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001047/0.1637, allocations: 56.64 kB / 0.5906 GB, free: 284 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.1638, allocations: 8.062 kB / 0.5906 GB, free: 276 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.1638, allocations: 0 / 0.5906 GB, free: 276 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.1638, allocations: 0 / 0.5906 GB, free: 276 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.601e-05/0.1639, allocations: 145.7 kB / 0.5907 GB, free: 80 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.1639, allocations: 4 kB / 0.5907 GB, free: 76 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.862e-05/0.1639, allocations: 0 / 0.5907 GB, free: 76 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.1639, allocations: 7.938 kB / 0.5908 GB, free: 68 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.71e-06/0.1639, allocations: 0 / 0.5908 GB, free: 68 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.1639, allocations: 0 / 0.5908 GB, free: 68 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.1639, allocations: 0 / 0.5908 GB, free: 68 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.089e-05/0.164, allocations: 77.92 kB / 0.5908 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.766e-05/0.1641, allocations: 81.05 kB / 0.5909 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.127e-05/0.1641, allocations: 0 / 0.5909 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.637e-05/0.1641, allocations: 0 / 0.5909 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.429e-05/0.1641, allocations: 11.92 kB / 0.5909 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.867e-06/0.1641, allocations: 4 kB / 0.5909 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.549e-05/0.1642, allocations: 75.31 kB / 0.591 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1642, allocations: 4 kB / 0.591 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001725/0.1643, allocations: 0 / 0.591 GB, free: 15.78 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * 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 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.0001111/0.1645, allocations: 95.25 kB / 0.5911 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.176e-05/0.1645, allocations: 4 kB / 0.5911 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1645, allocations: 7.938 kB / 0.5911 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.648e-06/0.1645, allocations: 3.938 kB / 0.5911 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001351/0.1647, allocations: 12.17 kB / 0.5911 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002146/0.1649, allocations: 117.3 kB / 0.5912 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002052/0.1651, allocations: 0.6692 MB / 0.5919 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.076e-05/0.1652, allocations: 15.42 kB / 0.5919 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of SimCode: time 3e-07/0.1652, allocations: 0 / 0.5919 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of Templates: time 0.001372/0.1665, allocations: 357.5 kB / 0.5922 GB, free: 14.43 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8.pipe 2>&1)