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.001728/0.001727, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002043/0.002043, allocations: 193.3 kB / 16.25 MB, free: 6.621 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.486/1.486, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.014/1.014, allocations: 135.1 MB / 425.2 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 64.03 kB / 0.5048 GB, free: 5.629 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.172/0.1732, allocations: 80.94 MB / 0.5839 GB, free: 4.859 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example8): time 0.00218/0.1754, allocations: 0.5566 MB / 0.5844 GB, free: 4.293 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001397/0.1756, allocations: 15.97 kB / 0.5844 GB, free: 4.277 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.36e-05/0.1756, allocations: 3.938 kB / 0.5844 GB, free: 4.273 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.615e-05/0.1757, allocations: 0 / 0.5844 GB, free: 4.273 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000145/0.1758, allocations: 11.98 kB / 0.5845 GB, free: 4.262 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.037e-06/0.1759, allocations: 0 / 0.5845 GB, free: 4.262 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.245e-05/0.1759, allocations: 0 / 0.5845 GB, free: 4.262 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.454e-05/0.176, allocations: 0 / 0.5845 GB, free: 4.262 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.98e-05/0.176, allocations: 4 kB / 0.5845 GB, free: 4.258 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.324e-05/0.176, allocations: 3.938 kB / 0.5845 GB, free: 4.254 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.354e-05/0.1761, allocations: 0 / 0.5845 GB, free: 4.254 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.432e-06/0.1761, allocations: 4 kB / 0.5845 GB, free: 4.25 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.068e-05/0.1761, allocations: 0 / 0.5845 GB, free: 4.25 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.61e-05/0.1761, allocations: 4 kB / 0.5845 GB, free: 4.246 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 4.578e-05/0.1762, allocations: 7.969 kB / 0.5845 GB, free: 4.238 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1762, allocations: 4 kB / 0.5845 GB, free: 4.234 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1762, allocations: 0 / 0.5845 GB, free: 4.234 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.1762, allocations: 0 / 0.5845 GB, free: 4.234 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.0003202/0.1765, allocations: 307.6 kB / 0.5848 GB, free: 3.887 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.1766, allocations: 8.031 kB / 0.5848 GB, free: 3.879 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.173e-05/0.1766, allocations: 0.9375 kB / 0.5848 GB, free: 3.879 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001429/0.1767, allocations: 172.3 kB / 0.585 GB, free: 3.672 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.1768, allocations: 4.312 kB / 0.585 GB, free: 3.668 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.003e-05/0.1768, allocations: 4.375 kB / 0.585 GB, free: 3.664 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001195/0.1769, allocations: 47.55 kB / 0.585 GB, free: 3.605 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.223e-06/0.1769, allocations: 3.938 kB / 0.585 GB, free: 3.602 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.817e-06/0.1769, allocations: 4 kB / 0.585 GB, free: 3.598 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.1769, allocations: 0 / 0.585 GB, free: 3.598 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.568e-05/0.177, allocations: 7.938 kB / 0.585 GB, free: 3.59 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001734/0.1772, allocations: 158.5 kB / 0.5852 GB, free: 3.383 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.621e-05/0.1772, allocations: 33.22 kB / 0.5852 GB, free: 3.332 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.785e-05/0.1773, allocations: 17.84 kB / 0.5852 GB, free: 3.309 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.093e-05/0.1773, allocations: 3.938 kB / 0.5852 GB, free: 3.305 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.252e-05/0.1773, allocations: 38.5 kB / 0.5853 GB, free: 3.258 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 8.31e-07/0.1773, allocations: 0 / 0.5853 GB, free: 3.258 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001439/0.1775, allocations: 45.62 kB / 0.5853 GB, free: 3.207 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.1e-05/0.1775, allocations: 81.11 kB / 0.5854 GB, free: 3.109 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.633e-05/0.1776, allocations: 89.86 kB / 0.5855 GB, free: 3.012 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.282e-05/0.1776, allocations: 25.7 kB / 0.5855 GB, free: 2.98 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.703e-05/0.1776, allocations: 84.14 kB / 0.5856 GB, free: 2.895 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.214e-05/0.1777, allocations: 4.156 kB / 0.5856 GB, free: 2.891 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.857e-05/0.1777, allocations: 21.7 kB / 0.5856 GB, free: 2.863 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.1778, allocations: 314.8 kB / 0.5859 GB, free: 2.547 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.221e-05/0.1778, allocations: 0 / 0.5859 GB, free: 2.547 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.756e-05/0.1779, allocations: 13.72 kB / 0.5859 GB, free: 2.527 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.411e-05/0.1779, allocations: 17.66 kB / 0.5859 GB, free: 2.504 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1779, allocations: 4.062 kB / 0.5859 GB, free: 2.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.81e-05/0.178, allocations: 45.69 kB / 0.586 GB, free: 2.449 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.178, allocations: 7.938 kB / 0.586 GB, free: 2.441 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.178, allocations: 0 / 0.586 GB, free: 2.441 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.178, allocations: 0 / 0.586 GB, free: 2.441 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.761e-05/0.1781, allocations: 7.938 kB / 0.586 GB, free: 2.434 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.1781, allocations: 0 / 0.586 GB, free: 2.434 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.787e-05/0.1782, allocations: 288 / 0.586 GB, free: 2.434 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-06/0.1782, allocations: 4 kB / 0.586 GB, free: 2.43 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 8.125e-05/0.1783, allocations: 113.8 kB / 0.5861 GB, free: 2.309 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.445e-05/0.1783, allocations: 11.92 kB / 0.5861 GB, free: 2.297 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001088/0.1784, allocations: 52.66 kB / 0.5862 GB, free: 2.238 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.1784, allocations: 0 / 0.5862 GB, free: 2.238 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.1784, allocations: 0 / 0.5862 GB, free: 2.238 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.451e-06/0.1784, allocations: 3.984 kB / 0.5862 GB, free: 2.234 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001128/0.1785, allocations: 153.6 kB / 0.5863 GB, free: 2.035 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.1785, allocations: 4.062 kB / 0.5863 GB, free: 2.031 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.449e-05/0.1786, allocations: 4 kB / 0.5863 GB, free: 2.027 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.12e-06/0.1786, allocations: 11.86 kB / 0.5863 GB, free: 2.016 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.262e-06/0.1786, allocations: 0 / 0.5863 GB, free: 2.016 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.1786, allocations: 0 / 0.5863 GB, free: 2.016 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1786, allocations: 0 / 0.5863 GB, free: 2.016 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.613e-05/0.1787, allocations: 69.94 kB / 0.5864 GB, free: 1.926 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.124e-05/0.1788, allocations: 89.06 kB / 0.5865 GB, free: 1.82 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.029e-05/0.1788, allocations: 0 / 0.5865 GB, free: 1.82 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.689e-05/0.1788, allocations: 4 kB / 0.5865 GB, free: 1.816 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.428e-05/0.1788, allocations: 4 kB / 0.5865 GB, free: 1.812 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.886e-06/0.1788, allocations: 0 / 0.5865 GB, free: 1.812 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.938e-05/0.1789, allocations: 79.28 kB / 0.5866 GB, free: 1.734 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1789, allocations: 0 / 0.5866 GB, free: 1.734 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002004/0.1791, allocations: 4 kB / 0.5866 GB, free: 1.73 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 0.0001143/0.1792, allocations: 97.88 kB / 0.5867 GB, free: 1.625 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 8.119e-05/0.1793, allocations: 15.92 kB / 0.5867 GB, free: 1.609 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.1793, allocations: 0 / 0.5867 GB, free: 1.609 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.002e-05/0.1793, allocations: 4 kB / 0.5867 GB, free: 1.605 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001402/0.1795, allocations: 8.859 kB / 0.5867 GB, free: 1.602 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001878/0.1797, allocations: 93.73 kB / 0.5868 GB, free: 1.48 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003075/0.18, allocations: 0.6809 MB / 0.5874 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.755e-05/0.18, allocations: 0 / 0.5874 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.965e-05/0.18, allocations: 7.438 kB / 0.5875 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of SimCode: time 1.763e-06/0.18, allocations: 0 / 0.5875 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of Templates: time 0.001882/0.1819, allocations: 199.7 kB / 0.5876 GB, free: 0.5742 MB / 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)