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.001221/0.001221, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001414/0.001414, allocations: 190.1 kB / 16.25 MB, free: 6.625 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.471/1.471, allocations: 205.1 MB / 222.1 MB, free: 4.707 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3886/0.3886, allocations: 54.94 MB / 324.4 MB, free: 76 kB / 254.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.001539/0.001539, allocations: 71.89 kB / 394.9 MB, free: 12.14 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.103, allocations: 59.58 MB / 454.5 MB, free: 0.4922 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Examples.Performance.Example5): time 0.2296/0.3326, allocations: 0.5722 MB / 455 MB, free: 39 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000214/0.3329, allocations: 40.73 kB / 455.1 MB, free: 39 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.7e-05/0.333, allocations: 0.5625 kB / 455.1 MB, free: 39 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 4.161e-05/0.3331, allocations: 0 / 455.1 MB, free: 39 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001583/0.3333, allocations: 5.938 kB / 455.1 MB, free: 39 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.173e-05/0.3333, allocations: 8.453 kB / 455.1 MB, free: 39 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.742e-05/0.3334, allocations: 9.875 kB / 455.1 MB, free: 39 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.427e-05/0.3335, allocations: 5.625 kB / 455.1 MB, free: 39 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.633e-05/0.3335, allocations: 7.406 kB / 455.1 MB, free: 39 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.06e-05/0.3336, allocations: 8.5 kB / 455.1 MB, free: 39 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.767e-05/0.3337, allocations: 2.078 kB / 455.1 MB, free: 39 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.416e-06/0.3337, allocations: 2.688 kB / 455.1 MB, free: 39 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.693e-05/0.3337, allocations: 4.906 kB / 455.1 MB, free: 39 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.187e-05/0.3338, allocations: 11.31 kB / 455.1 MB, free: 39 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 6.354e-05/0.3338, allocations: 6.594 kB / 455.1 MB, free: 39 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.3339, allocations: 1.875 kB / 455.1 MB, free: 39 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.3339, allocations: 0 / 455.1 MB, free: 39 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.3339, allocations: 1.125 kB / 455.1 MB, free: 39 MB / 382.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.0003725/0.3343, allocations: 326.9 kB / 455.5 MB, free: 38.66 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.3343, allocations: 11.69 kB / 455.5 MB, free: 38.66 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.74e-05/0.3344, allocations: 9.344 kB / 455.5 MB, free: 38.66 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001591/0.3345, allocations: 172.2 kB / 455.6 MB, free: 38.46 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.344e-06/0.3345, allocations: 1.594 kB / 455.6 MB, free: 38.46 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.06e-05/0.3346, allocations: 1.625 kB / 455.7 MB, free: 38.46 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.806e-05/0.3346, allocations: 34.91 kB / 455.7 MB, free: 38.43 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.743e-06/0.3347, allocations: 192 / 455.7 MB, free: 38.43 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.3347, allocations: 8.828 kB / 455.7 MB, free: 38.43 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.3347, allocations: 0 / 455.7 MB, free: 38.43 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.015e-05/0.3347, allocations: 2.656 kB / 455.7 MB, free: 38.43 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00013/0.3348, allocations: 160.5 kB / 455.9 MB, free: 38.24 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.767e-05/0.3349, allocations: 19.95 kB / 455.9 MB, free: 38.21 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.783e-05/0.3349, allocations: 7.359 kB / 455.9 MB, free: 38.21 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.493e-05/0.3349, allocations: 4.078 kB / 455.9 MB, free: 38.21 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.759e-05/0.335, allocations: 31.44 kB / 455.9 MB, free: 38.17 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.543e-06/0.335, allocations: 2.5 kB / 455.9 MB, free: 38.17 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001448/0.3351, allocations: 51.69 kB / 456 MB, free: 38.13 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.637e-05/0.3352, allocations: 52.16 kB / 456 MB, free: 38.07 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.421e-05/0.3352, allocations: 109.6 kB / 456.1 MB, free: 37.97 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.915e-06/0.3353, allocations: 27.25 kB / 456.2 MB, free: 37.94 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.065e-05/0.3353, allocations: 83.64 kB / 456.2 MB, free: 37.86 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.263e-05/0.3353, allocations: 9.078 kB / 456.2 MB, free: 37.86 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.804e-05/0.3353, allocations: 16.91 kB / 456.3 MB, free: 37.84 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.965e-05/0.3354, allocations: 314.7 kB / 456.6 MB, free: 37.53 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.782e-05/0.3354, allocations: 4.156 kB / 456.6 MB, free: 37.53 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.386e-05/0.3354, allocations: 24.36 kB / 456.6 MB, free: 37.51 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.96e-05/0.3355, allocations: 24.69 kB / 456.6 MB, free: 37.5 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.3355, allocations: 0 / 456.6 MB, free: 37.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.226e-05/0.3356, allocations: 43.78 kB / 456.7 MB, free: 37.46 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.3356, allocations: 7.469 kB / 456.7 MB, free: 37.46 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.3356, allocations: 3.938 kB / 456.7 MB, free: 37.46 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.3356, allocations: 3.891 kB / 456.7 MB, free: 37.46 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.199e-05/0.3357, allocations: 4.641 kB / 456.7 MB, free: 37.46 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.3357, allocations: 4.219 kB / 456.7 MB, free: 37.46 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.298e-05/0.3358, allocations: 0 / 456.7 MB, free: 37.46 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.3358, allocations: 0.5 kB / 456.7 MB, free: 37.46 MB / 382.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 4.86e-05/0.3358, allocations: 109.8 kB / 456.8 MB, free: 37.35 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.223e-05/0.3358, allocations: 10.56 kB / 456.8 MB, free: 37.34 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.563e-05/0.3359, allocations: 55.64 kB / 456.9 MB, free: 37.31 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.336, allocations: 1.656 kB / 456.9 MB, free: 37.31 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.336, allocations: 2.062 kB / 456.9 MB, free: 37.31 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.336, allocations: 0.6875 kB / 456.9 MB, free: 37.31 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.505e-05/0.3361, allocations: 157.6 kB / 457 MB, free: 37.12 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.3361, allocations: 3.656 kB / 457 MB, free: 37.12 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.295e-05/0.3361, allocations: 4.062 kB / 457 MB, free: 37.12 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.3361, allocations: 2.688 kB / 457 MB, free: 37.12 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.979e-06/0.3362, allocations: 5.938 kB / 457 MB, free: 37.11 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.3362, allocations: 1.719 kB / 457 MB, free: 37.11 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.3362, allocations: 1.594 kB / 457 MB, free: 37.11 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001154/0.3363, allocations: 83 kB / 457.1 MB, free: 37.05 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.19e-05/0.3363, allocations: 81.05 kB / 457.2 MB, free: 36.95 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.594e-05/0.3364, allocations: 6.5 kB / 457.2 MB, free: 36.95 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.195e-05/0.3364, allocations: 2.5 kB / 457.2 MB, free: 36.95 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.25e-05/0.3364, allocations: 0 / 457.2 MB, free: 36.95 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.771e-06/0.3364, allocations: 9.891 kB / 457.2 MB, free: 36.95 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.047e-05/0.3364, allocations: 80.66 kB / 457.3 MB, free: 36.88 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3364, allocations: 0 / 457.3 MB, free: 36.88 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002038/0.3367, allocations: 2.812 kB / 457.3 MB, free: 36.88 MB / 382.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.063e-05/0.3368, allocations: 101.6 kB / 457.4 MB, free: 36.79 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 8.513e-05/0.3368, allocations: 13.84 kB / 457.4 MB, free: 36.79 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3369, allocations: 0.8438 kB / 457.4 MB, free: 36.79 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.546e-05/0.3369, allocations: 12.34 kB / 457.4 MB, free: 36.79 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001832/0.3371, allocations: 3.719 kB / 457.4 MB, free: 36.79 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002849/0.3374, allocations: 119.3 kB / 457.5 MB, free: 36.68 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001152/0.3375, allocations: 0.6778 MB / 458.2 MB, free: 35.99 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.794e-05/0.3375, allocations: 6.812 kB / 458.2 MB, free: 35.99 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.122e-05/0.3375, allocations: 10.03 kB / 458.2 MB, free: 35.98 MB / 382.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3375, allocations: 2.719 kB / 458.2 MB, free: 35.98 MB / 382.1 MB Notification: Performance of Templates: time 0.002251/0.3398, allocations: 312.7 kB / 458.5 MB, free: 35.98 MB / 382.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)