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.006255/0.006255, allocations: 101 kB / 15.87 MB, free: 5.871 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.001189/0.001189, allocations: 192.1 kB / 16.79 MB, free: 5.816 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.344/1.344, allocations: 222.9 MB / 240.5 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9355/0.9355, allocations: 135.1 MB / 425.8 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 68.33 kB / 0.5053 GB, free: 5.711 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1632/0.1645, allocations: 80.92 MB / 0.5843 GB, free: 4.953 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example8): time 0.001687/0.1662, allocations: 0.5795 MB / 0.5849 GB, free: 4.367 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001257/0.1663, allocations: 11.98 kB / 0.5849 GB, free: 4.355 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.262e-05/0.1664, allocations: 0 / 0.5849 GB, free: 4.355 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.912e-05/0.1664, allocations: 0 / 0.5849 GB, free: 4.355 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001336/0.1665, allocations: 4 kB / 0.5849 GB, free: 4.352 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.555e-06/0.1666, allocations: 7.938 kB / 0.5849 GB, free: 4.344 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.688e-05/0.1666, allocations: 4 kB / 0.5849 GB, free: 4.34 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.074e-05/0.1666, allocations: 7.922 kB / 0.5849 GB, free: 4.332 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.409e-05/0.1667, allocations: 3.984 kB / 0.5849 GB, free: 4.328 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.273e-05/0.1667, allocations: 0 / 0.5849 GB, free: 4.328 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.124e-05/0.1667, allocations: 0 / 0.5849 GB, free: 4.328 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.78e-06/0.1667, allocations: 4 kB / 0.5849 GB, free: 4.324 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.055e-05/0.1667, allocations: 0 / 0.5849 GB, free: 4.324 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.452e-05/0.1668, allocations: 0 / 0.5849 GB, free: 4.324 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 3.127e-05/0.1668, allocations: 0 / 0.5849 GB, free: 4.324 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1668, allocations: 0 / 0.5849 GB, free: 4.324 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.32e-07/0.1668, allocations: 4 kB / 0.5849 GB, free: 4.32 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.848e-06/0.1668, allocations: 0 / 0.5849 GB, free: 4.32 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.000268/0.1671, allocations: 317.5 kB / 0.5853 GB, free: 3.965 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.1671, allocations: 8.031 kB / 0.5853 GB, free: 3.957 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.042e-05/0.1672, allocations: 8.875 kB / 0.5853 GB, free: 3.949 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.151e-05/0.1673, allocations: 164.3 kB / 0.5854 GB, free: 3.75 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.789e-06/0.1673, allocations: 384 / 0.5854 GB, free: 3.75 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.314e-06/0.1673, allocations: 384 / 0.5854 GB, free: 3.75 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001146/0.1674, allocations: 55.47 kB / 0.5855 GB, free: 3.684 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.1674, allocations: 0 / 0.5855 GB, free: 3.684 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.1674, allocations: 4 kB / 0.5855 GB, free: 3.68 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.1675, allocations: 0 / 0.5855 GB, free: 3.68 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.176e-05/0.1675, allocations: 4 kB / 0.5855 GB, free: 3.676 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001391/0.1676, allocations: 154.6 kB / 0.5856 GB, free: 3.473 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.105e-05/0.1677, allocations: 37.09 kB / 0.5857 GB, free: 3.418 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.535e-05/0.1677, allocations: 21.83 kB / 0.5857 GB, free: 3.391 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.234e-05/0.1677, allocations: 0 / 0.5857 GB, free: 3.391 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.777e-05/0.1678, allocations: 46.44 kB / 0.5857 GB, free: 3.336 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 7.22e-07/0.1678, allocations: 0 / 0.5857 GB, free: 3.336 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001337/0.1679, allocations: 33.7 kB / 0.5858 GB, free: 3.297 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.108e-05/0.168, allocations: 89.28 kB / 0.5859 GB, free: 3.191 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.27e-05/0.168, allocations: 89.86 kB / 0.5859 GB, free: 3.094 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.291e-05/0.168, allocations: 25.7 kB / 0.586 GB, free: 3.062 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.984e-05/0.1681, allocations: 80.14 kB / 0.586 GB, free: 2.98 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.567e-05/0.1681, allocations: 11.91 kB / 0.586 GB, free: 2.969 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.594e-05/0.1681, allocations: 9.719 kB / 0.5861 GB, free: 2.953 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001038/0.1683, allocations: 310.8 kB / 0.5864 GB, free: 2.641 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.061e-05/0.1683, allocations: 4 kB / 0.5864 GB, free: 2.637 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.628e-05/0.1683, allocations: 21.72 kB / 0.5864 GB, free: 2.609 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.26e-05/0.1683, allocations: 17.7 kB / 0.5864 GB, free: 2.586 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1683, allocations: 0 / 0.5864 GB, free: 2.586 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.763e-05/0.1684, allocations: 41.64 kB / 0.5864 GB, free: 2.539 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/0.1684, allocations: 7.938 kB / 0.5864 GB, free: 2.531 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.1684, allocations: 4.125 kB / 0.5864 GB, free: 2.527 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.578e-06/0.1684, allocations: 4 kB / 0.5865 GB, free: 2.523 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.039e-05/0.1685, allocations: 7.984 kB / 0.5865 GB, free: 2.516 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.92e-06/0.1685, allocations: 0 / 0.5865 GB, free: 2.516 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.535e-05/0.1686, allocations: 288 / 0.5865 GB, free: 2.516 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.1686, allocations: 0 / 0.5865 GB, free: 2.516 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 6.608e-05/0.1686, allocations: 117.7 kB / 0.5866 GB, free: 2.391 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.058e-05/0.1686, allocations: 3.938 kB / 0.5866 GB, free: 2.387 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001021/0.1688, allocations: 60.59 kB / 0.5866 GB, free: 2.32 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-06/0.1688, allocations: 0 / 0.5866 GB, free: 2.32 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/0.1688, allocations: 4 kB / 0.5866 GB, free: 2.316 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.1688, allocations: 0 / 0.5866 GB, free: 2.316 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.707e-05/0.1689, allocations: 153.7 kB / 0.5868 GB, free: 2.117 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.1689, allocations: 3.938 kB / 0.5868 GB, free: 2.113 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.462e-05/0.1689, allocations: 11.98 kB / 0.5868 GB, free: 2.102 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.1689, allocations: 3.938 kB / 0.5868 GB, free: 2.098 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-06/0.1689, allocations: 4 kB / 0.5868 GB, free: 2.094 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.1689, allocations: 0 / 0.5868 GB, free: 2.094 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.169, allocations: 4.062 kB / 0.5868 GB, free: 2.09 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.832e-05/0.169, allocations: 65.98 kB / 0.5869 GB, free: 2.004 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.64e-05/0.1691, allocations: 81.05 kB / 0.587 GB, free: 1.906 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.177e-06/0.1691, allocations: 4 kB / 0.587 GB, free: 1.902 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.515e-05/0.1691, allocations: 0 / 0.587 GB, free: 1.902 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.026e-05/0.1691, allocations: 3.938 kB / 0.587 GB, free: 1.898 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.857e-06/0.1691, allocations: 8.031 kB / 0.587 GB, free: 1.891 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.105e-05/0.1692, allocations: 75.28 kB / 0.587 GB, free: 1.816 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1692, allocations: 0 / 0.587 GB, free: 1.816 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001705/0.1694, allocations: 0 / 0.587 GB, free: 1.816 MB / 494.1 MB 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 9.967e-05/0.1695, allocations: 99.23 kB / 0.5871 GB, free: 1.707 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 6.882e-05/0.1695, allocations: 8 kB / 0.5871 GB, free: 1.699 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.1695, allocations: 0 / 0.5871 GB, free: 1.699 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.052e-05/0.1696, allocations: 12.06 kB / 0.5872 GB, free: 1.688 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001385/0.1697, allocations: 10.28 kB / 0.5872 GB, free: 1.68 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002192/0.1699, allocations: 121.2 kB / 0.5873 GB, free: 1.523 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002109/0.1701, allocations: 0.6692 MB / 0.5879 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.978e-05/0.1702, allocations: 11.44 kB / 0.5879 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1702, allocations: 0 / 0.5879 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of Templates: time 0.001439/0.1716, allocations: 357.6 kB / 0.5883 GB, free: 480 kB / 494.1 MB 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)