Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example5") translateModel(Annex60.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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.01207/0.01207, allocations: 105.8 kB / 15.74 MB, free: 6.055 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.002567/0.002567, allocations: 191.5 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.604/1.604, allocations: 205.1 MB / 222.5 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2623/0.2623, allocations: 54.96 MB / 324.9 MB, free: 4.848 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001478/0.001478, allocations: 79.83 kB / 456.2 MB, free: 2.656 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1525/0.154, allocations: 59.6 MB / 0.5037 GB, free: 7.102 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Examples.Performance.Example5): time 0.001644/0.1557, allocations: 0.5049 MB / 0.5042 GB, free: 6.598 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001967/0.1559, allocations: 43.81 kB / 0.5042 GB, free: 6.555 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.878e-05/0.1559, allocations: 4 kB / 0.5042 GB, free: 6.551 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.888e-05/0.156, allocations: 0 / 0.5042 GB, free: 6.551 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001466/0.1561, allocations: 4 kB / 0.5042 GB, free: 6.547 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.723e-05/0.1562, allocations: 7.938 kB / 0.5043 GB, free: 6.539 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.092e-05/0.1563, allocations: 15.97 kB / 0.5043 GB, free: 6.523 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.393e-05/0.1563, allocations: 0 / 0.5043 GB, free: 6.523 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.723e-05/0.1564, allocations: 4 kB / 0.5043 GB, free: 6.52 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.828e-05/0.1565, allocations: 15.92 kB / 0.5043 GB, free: 6.504 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.19e-05/0.1565, allocations: 0 / 0.5043 GB, free: 6.504 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.115e-06/0.1565, allocations: 0 / 0.5043 GB, free: 6.504 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.362e-05/0.1565, allocations: 0 / 0.5043 GB, free: 6.504 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.189e-05/0.1566, allocations: 7.938 kB / 0.5043 GB, free: 6.496 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 6.902e-05/0.1567, allocations: 19.97 kB / 0.5043 GB, free: 6.477 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.1567, allocations: 0 / 0.5043 GB, free: 6.477 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.023e-06/0.1567, allocations: 0 / 0.5043 GB, free: 6.477 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.031e-05/0.1567, allocations: 0 / 0.5043 GB, free: 6.477 MB / 398.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.0004629/0.1572, allocations: 323.5 kB / 0.5046 GB, free: 6.109 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.1572, allocations: 8.031 kB / 0.5046 GB, free: 6.102 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.507e-05/0.1572, allocations: 0.9375 kB / 0.5046 GB, free: 6.102 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001952/0.1574, allocations: 180.2 kB / 0.5048 GB, free: 5.887 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.652e-05/0.1575, allocations: 12.3 kB / 0.5048 GB, free: 5.875 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.777e-05/0.1575, allocations: 4.375 kB / 0.5048 GB, free: 5.871 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.508e-05/0.1576, allocations: 34.25 kB / 0.5048 GB, free: 5.832 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/0.1576, allocations: 192 / 0.5048 GB, free: 5.832 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.1576, allocations: 7.875 kB / 0.5049 GB, free: 5.824 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.1576, allocations: 0 / 0.5049 GB, free: 5.824 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.997e-05/0.1576, allocations: 4 kB / 0.5049 GB, free: 5.82 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001634/0.1578, allocations: 153.7 kB / 0.505 GB, free: 5.621 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.837e-05/0.1579, allocations: 22.45 kB / 0.505 GB, free: 5.59 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.457e-05/0.1579, allocations: 16.91 kB / 0.505 GB, free: 5.57 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.76e-05/0.1579, allocations: 0 / 0.505 GB, free: 5.57 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.941e-05/0.158, allocations: 30.56 kB / 0.5051 GB, free: 5.531 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 7.91e-07/0.158, allocations: 0 / 0.5051 GB, free: 5.531 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001673/0.1581, allocations: 49.62 kB / 0.5051 GB, free: 5.477 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.321e-05/0.1582, allocations: 51.41 kB / 0.5052 GB, free: 5.414 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.037e-05/0.1583, allocations: 109.8 kB / 0.5053 GB, free: 5.297 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.325e-05/0.1583, allocations: 29.83 kB / 0.5053 GB, free: 5.262 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.144e-05/0.1583, allocations: 80.14 kB / 0.5054 GB, free: 5.18 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.866e-05/0.1584, allocations: 7.906 kB / 0.5054 GB, free: 5.172 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.028e-05/0.1584, allocations: 21.64 kB / 0.5054 GB, free: 5.145 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.407e-05/0.1585, allocations: 310.8 kB / 0.5057 GB, free: 4.832 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.676e-05/0.1585, allocations: 4 kB / 0.5057 GB, free: 4.828 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.357e-05/0.1586, allocations: 21.7 kB / 0.5057 GB, free: 4.801 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.436e-05/0.1586, allocations: 21.78 kB / 0.5057 GB, free: 4.773 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1586, allocations: 0 / 0.5057 GB, free: 4.773 MB / 398.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.802e-05/0.1587, allocations: 49.62 kB / 0.5058 GB, free: 4.719 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.1587, allocations: 4 kB / 0.5058 GB, free: 4.715 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.1587, allocations: 3.938 kB / 0.5058 GB, free: 4.711 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.1587, allocations: 0 / 0.5058 GB, free: 4.711 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.593e-05/0.1588, allocations: 7.984 kB / 0.5058 GB, free: 4.703 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.1588, allocations: 0 / 0.5058 GB, free: 4.703 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.238e-05/0.1589, allocations: 8.062 kB / 0.5058 GB, free: 4.695 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.1589, allocations: 0 / 0.5058 GB, free: 4.695 MB / 398.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.748e-05/0.159, allocations: 109.8 kB / 0.5059 GB, free: 4.578 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.264e-06/0.159, allocations: 0 / 0.5059 GB, free: 4.578 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001036/0.1591, allocations: 60.67 kB / 0.506 GB, free: 4.512 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-06/0.1591, allocations: 0 / 0.506 GB, free: 4.512 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.1591, allocations: 0 / 0.506 GB, free: 4.512 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.1591, allocations: 256 / 0.506 GB, free: 4.512 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001012/0.1592, allocations: 157.7 kB / 0.5061 GB, free: 4.309 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.1592, allocations: 4 kB / 0.5061 GB, free: 4.305 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.673e-05/0.1593, allocations: 4 kB / 0.5061 GB, free: 4.301 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.1593, allocations: 0 / 0.5061 GB, free: 4.301 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/0.1593, allocations: 7.875 kB / 0.5061 GB, free: 4.293 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.1593, allocations: 0 / 0.5061 GB, free: 4.293 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1593, allocations: 4 kB / 0.5062 GB, free: 4.289 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001227/0.1594, allocations: 84.89 kB / 0.5062 GB, free: 4.188 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.531e-05/0.1595, allocations: 81.2 kB / 0.5063 GB, free: 4.09 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.47e-05/0.1595, allocations: 3.938 kB / 0.5063 GB, free: 4.086 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.151e-05/0.1595, allocations: 8.031 kB / 0.5063 GB, free: 4.078 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.528e-05/0.1595, allocations: 3.984 kB / 0.5063 GB, free: 4.074 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.284e-06/0.1595, allocations: 0 / 0.5063 GB, free: 4.074 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.619e-05/0.1596, allocations: 83.28 kB / 0.5064 GB, free: 3.992 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1596, allocations: 0 / 0.5064 GB, free: 3.992 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0001836/0.1598, allocations: 8 kB / 0.5064 GB, free: 3.984 MB / 398.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 0.0001071/0.1599, allocations: 103.1 kB / 0.5065 GB, free: 3.875 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 8.451e-05/0.16, allocations: 8 kB / 0.5065 GB, free: 3.867 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.16, allocations: 0 / 0.5065 GB, free: 3.867 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 1.536e-05/0.16, allocations: 15.92 kB / 0.5065 GB, free: 3.852 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001394/0.1602, allocations: 4 kB / 0.5065 GB, free: 3.848 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002751/0.1604, allocations: 113.5 kB / 0.5066 GB, free: 3.711 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002437/0.1607, allocations: 0.6768 MB / 0.5073 GB, free: 3.008 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 2.108e-05/0.1607, allocations: 8.188 kB / 0.5073 GB, free: 3 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.429e-05/0.1608, allocations: 11.44 kB / 0.5073 GB, free: 2.988 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1608, allocations: 0 / 0.5073 GB, free: 2.988 MB / 398.1 MB Notification: Performance of Templates: time 0.002211/0.163, allocations: 324.8 kB / 0.5076 GB, free: 2.676 MB / 398.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example5.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example5.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example5.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example5.sim & ./Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example5.pipe 2>&1)