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.001099/0.001099, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001095/0.001095, allocations: 194 kB / 16.14 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.323/1.323, allocations: 222.9 MB / 239.8 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9804/0.9804, allocations: 135.1 MB / 425.1 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.00124, allocations: 56.06 kB / 0.5047 GB, free: 5.742 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1732/0.1745, allocations: 80.93 MB / 0.5837 GB, free: 4.977 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example5): time 0.001769/0.1763, allocations: 0.5683 MB / 0.5843 GB, free: 4.398 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001702/0.1765, allocations: 47.8 kB / 0.5843 GB, free: 4.352 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.01e-05/0.1765, allocations: 0 / 0.5843 GB, free: 4.352 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.029e-05/0.1766, allocations: 0 / 0.5843 GB, free: 4.352 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001408/0.1767, allocations: 4 kB / 0.5843 GB, free: 4.348 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.299e-05/0.1768, allocations: 0 / 0.5843 GB, free: 4.348 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.04e-05/0.1768, allocations: 15.92 kB / 0.5843 GB, free: 4.332 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.773e-05/0.1769, allocations: 4 kB / 0.5843 GB, free: 4.328 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.014e-05/0.1769, allocations: 7.922 kB / 0.5843 GB, free: 4.32 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.953e-05/0.177, allocations: 11.98 kB / 0.5843 GB, free: 4.309 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.983e-05/0.1771, allocations: 0 / 0.5843 GB, free: 4.309 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.919e-06/0.1771, allocations: 4 kB / 0.5843 GB, free: 4.305 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.342e-05/0.1771, allocations: 0 / 0.5843 GB, free: 4.305 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.911e-05/0.1772, allocations: 7.938 kB / 0.5844 GB, free: 4.297 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 5.244e-05/0.1772, allocations: 11.92 kB / 0.5844 GB, free: 4.285 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.1772, allocations: 0 / 0.5844 GB, free: 4.285 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1772, allocations: 0 / 0.5844 GB, free: 4.285 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.379e-06/0.1772, allocations: 4 kB / 0.5844 GB, free: 4.281 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.0003942/0.1776, allocations: 331.4 kB / 0.5847 GB, free: 3.91 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.1777, allocations: 12.03 kB / 0.5847 GB, free: 3.898 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.037e-05/0.1777, allocations: 4.938 kB / 0.5847 GB, free: 3.895 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001723/0.1779, allocations: 176.6 kB / 0.5849 GB, free: 3.684 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.183e-06/0.1779, allocations: 384 / 0.5849 GB, free: 3.684 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.552e-05/0.1779, allocations: 384 / 0.5849 GB, free: 3.684 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.377e-05/0.178, allocations: 41.75 kB / 0.5849 GB, free: 3.637 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.071e-06/0.178, allocations: 0 / 0.5849 GB, free: 3.637 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.675e-06/0.178, allocations: 0 / 0.5849 GB, free: 3.637 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.178, allocations: 0 / 0.5849 GB, free: 3.637 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.934e-05/0.1781, allocations: 4 kB / 0.5849 GB, free: 3.633 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001626/0.1782, allocations: 161.7 kB / 0.5851 GB, free: 3.426 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.112e-05/0.1783, allocations: 18.58 kB / 0.5851 GB, free: 3.398 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.966e-05/0.1783, allocations: 8.844 kB / 0.5851 GB, free: 3.387 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.381e-05/0.1783, allocations: 8 kB / 0.5851 GB, free: 3.379 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.599e-05/0.1784, allocations: 38.5 kB / 0.5851 GB, free: 3.332 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.1784, allocations: 0 / 0.5851 GB, free: 3.332 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001395/0.1785, allocations: 45.67 kB / 0.5852 GB, free: 3.281 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.054e-05/0.1786, allocations: 51.41 kB / 0.5852 GB, free: 3.219 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.423e-05/0.1786, allocations: 109.8 kB / 0.5853 GB, free: 3.102 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.013e-05/0.1787, allocations: 25.7 kB / 0.5854 GB, free: 3.07 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.404e-05/0.1787, allocations: 84.14 kB / 0.5854 GB, free: 2.984 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.071e-05/0.1787, allocations: 7.938 kB / 0.5854 GB, free: 2.977 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.752e-05/0.1788, allocations: 13.7 kB / 0.5855 GB, free: 2.957 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001027/0.1789, allocations: 315 kB / 0.5858 GB, free: 2.641 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.434e-05/0.1789, allocations: 8 kB / 0.5858 GB, free: 2.633 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.564e-05/0.1789, allocations: 25.64 kB / 0.5858 GB, free: 2.602 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.418e-05/0.179, allocations: 17.72 kB / 0.5858 GB, free: 2.578 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.179, allocations: 0 / 0.5858 GB, free: 2.578 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.04e-05/0.1791, allocations: 57.47 kB / 0.5859 GB, free: 2.516 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.1791, allocations: 8.125 kB / 0.5859 GB, free: 2.508 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.1791, allocations: 7.938 kB / 0.5859 GB, free: 2.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.08e-05/0.1791, allocations: 0 / 0.5859 GB, free: 2.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.09e-05/0.1792, allocations: 7.984 kB / 0.5859 GB, free: 2.492 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.1792, allocations: 0 / 0.5859 GB, free: 2.492 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.104e-05/0.1792, allocations: 0 / 0.5859 GB, free: 2.492 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.573e-06/0.1792, allocations: 0 / 0.5859 GB, free: 2.492 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.78e-05/0.1793, allocations: 109.8 kB / 0.586 GB, free: 2.375 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.909e-06/0.1793, allocations: 3.938 kB / 0.586 GB, free: 2.371 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000106/0.1794, allocations: 60.73 kB / 0.5861 GB, free: 2.305 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.1794, allocations: 0 / 0.5861 GB, free: 2.305 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.1794, allocations: 0 / 0.5861 GB, free: 2.305 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.1794, allocations: 3.938 kB / 0.5861 GB, free: 2.301 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001222/0.1796, allocations: 157.7 kB / 0.5862 GB, free: 2.098 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1796, allocations: 0 / 0.5862 GB, free: 2.098 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.707e-05/0.1796, allocations: 3.938 kB / 0.5862 GB, free: 2.094 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.1796, allocations: 4 kB / 0.5862 GB, free: 2.09 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.1797, allocations: 0 / 0.5862 GB, free: 2.09 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.1797, allocations: 0 / 0.5862 GB, free: 2.09 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1797, allocations: 4.031 kB / 0.5862 GB, free: 2.086 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001191/0.1798, allocations: 84.95 kB / 0.5863 GB, free: 1.984 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.367e-05/0.1798, allocations: 85.08 kB / 0.5864 GB, free: 1.883 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.226e-05/0.1799, allocations: 256 / 0.5864 GB, free: 1.883 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.204e-05/0.1799, allocations: 4 kB / 0.5864 GB, free: 1.879 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.621e-05/0.1799, allocations: 3.984 kB / 0.5864 GB, free: 1.875 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.059e-06/0.1799, allocations: 4 kB / 0.5864 GB, free: 1.871 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.33e-05/0.18, allocations: 87.38 kB / 0.5865 GB, free: 1.785 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.18, allocations: 0 / 0.5865 GB, free: 1.785 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001764/0.1802, allocations: 4 kB / 0.5865 GB, free: 1.781 MB / 494.1 MB 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 9.843e-05/0.1803, allocations: 95.23 kB / 0.5866 GB, free: 1.676 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 7.258e-05/0.1803, allocations: 12 kB / 0.5866 GB, free: 1.664 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1803, allocations: 0 / 0.5866 GB, free: 1.664 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.671e-05/0.1804, allocations: 11.92 kB / 0.5866 GB, free: 1.652 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001567/0.1805, allocations: 16.12 kB / 0.5866 GB, free: 1.637 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002662/0.1808, allocations: 115.5 kB / 0.5867 GB, free: 1.496 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00027/0.1811, allocations: 0.677 MB / 0.5874 GB, free: 0.793 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.722e-05/0.1811, allocations: 4 kB / 0.5874 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.243e-05/0.1811, allocations: 7.438 kB / 0.5874 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of SimCode: time 5.3e-07/0.1811, allocations: 0 / 0.5874 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of Templates: time 0.00209/0.1832, allocations: 302.7 kB / 0.5877 GB, free: 500 kB / 494.1 MB 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)