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.001428/0.001427, 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.001547/0.001547, allocations: 195.5 kB / 16.14 MB, free: 6.664 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.494/1.494, allocations: 205.1 MB / 222 MB, free: 4.992 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4031/0.4031, allocations: 54.93 MB / 324.3 MB, free: 108 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.001541/0.001541, allocations: 63.91 kB / 394.7 MB, free: 12.28 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.1152, allocations: 59.59 MB / 454.3 MB, free: 0.6328 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Examples.Performance.Example5): time 0.001716/0.117, allocations: 0.5792 MB / 454.9 MB, free: 48 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001678/0.1172, allocations: 39.86 kB / 454.9 MB, free: 8 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.391e-05/0.1172, allocations: 0 / 454.9 MB, free: 8 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.637e-05/0.1173, allocations: 7.938 kB / 454.9 MB, free: 0 / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001292/0.1174, allocations: 0 / 454.9 MB, free: 0 / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2037/0.3212, allocations: 5.328 kB / 454.9 MB, free: 39.08 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 7.386e-05/0.3213, allocations: 6.578 kB / 454.9 MB, free: 39.08 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.612e-05/0.3214, allocations: 3.734 kB / 454.9 MB, free: 39.08 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.189e-05/0.3214, allocations: 5.719 kB / 455 MB, free: 39.08 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.034e-05/0.3215, allocations: 11.36 kB / 455 MB, free: 39.08 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.183e-05/0.3215, allocations: 1.141 kB / 455 MB, free: 39.08 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.022e-05/0.3215, allocations: 2.531 kB / 455 MB, free: 39.08 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.69e-05/0.3216, allocations: 7.438 kB / 455 MB, free: 39.08 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.664e-05/0.3217, allocations: 9.156 kB / 455 MB, free: 39.08 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 6.989e-05/0.3218, allocations: 5.938 kB / 455 MB, free: 39.08 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.3218, allocations: 0 / 455 MB, free: 39.08 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.3218, allocations: 2.719 kB / 455 MB, free: 39.08 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.178e-06/0.3218, allocations: 0 / 455 MB, free: 39.08 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.0004436/0.3222, allocations: 329.9 kB / 455.3 MB, free: 38.73 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.349e-05/0.3223, allocations: 11.59 kB / 455.3 MB, free: 38.73 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.18e-05/0.3223, allocations: 2.969 kB / 455.3 MB, free: 38.73 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000134/0.3225, allocations: 174.9 kB / 455.5 MB, free: 38.54 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.813e-06/0.3225, allocations: 384 / 455.5 MB, free: 38.54 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.607e-05/0.3225, allocations: 4.875 kB / 455.5 MB, free: 38.54 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.242e-05/0.3226, allocations: 35.94 kB / 455.5 MB, free: 38.51 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.202e-06/0.3226, allocations: 1.594 kB / 455.5 MB, free: 38.51 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.736e-06/0.3226, allocations: 3.938 kB / 455.5 MB, free: 38.5 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.3226, allocations: 0.5938 kB / 455.5 MB, free: 38.5 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.022e-05/0.3227, allocations: 7.438 kB / 455.6 MB, free: 38.5 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001171/0.3228, allocations: 153.6 kB / 455.7 MB, free: 38.32 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.248e-05/0.3228, allocations: 20.98 kB / 455.7 MB, free: 38.29 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.76e-05/0.3229, allocations: 9.141 kB / 455.7 MB, free: 38.29 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.212e-05/0.3229, allocations: 0 / 455.7 MB, free: 38.29 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.756e-05/0.3229, allocations: 33.75 kB / 455.8 MB, free: 38.25 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.763e-06/0.3229, allocations: 3.938 kB / 455.8 MB, free: 38.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001371/0.3231, allocations: 51.86 kB / 455.8 MB, free: 38.21 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.309e-05/0.3231, allocations: 54.22 kB / 455.9 MB, free: 38.15 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.599e-05/0.3232, allocations: 110.4 kB / 456 MB, free: 38.05 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.384e-06/0.3232, allocations: 25.7 kB / 456 MB, free: 38.02 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.518e-05/0.3232, allocations: 82.61 kB / 456.1 MB, free: 37.94 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.035e-05/0.3232, allocations: 8.25 kB / 456.1 MB, free: 37.93 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.376e-05/0.3233, allocations: 13.16 kB / 456.1 MB, free: 37.92 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.076e-05/0.3233, allocations: 320.3 kB / 456.4 MB, free: 37.61 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.425e-05/0.3233, allocations: 6.5 kB / 456.4 MB, free: 37.61 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.044e-05/0.3234, allocations: 15.78 kB / 456.4 MB, free: 37.59 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.443e-05/0.3234, allocations: 28.33 kB / 456.5 MB, free: 37.57 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.3234, allocations: 0 / 456.5 MB, free: 37.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.029e-05/0.3235, allocations: 44.3 kB / 456.5 MB, free: 37.54 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.3235, allocations: 6.906 kB / 456.5 MB, free: 37.54 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.3235, allocations: 6.719 kB / 456.5 MB, free: 37.54 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.3235, allocations: 1.219 kB / 456.5 MB, free: 37.54 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.384e-05/0.3236, allocations: 6.25 kB / 456.5 MB, free: 37.54 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.3236, allocations: 0 / 456.5 MB, free: 37.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.436e-05/0.3236, allocations: 4 kB / 456.5 MB, free: 37.54 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.3237, allocations: 0 / 456.5 MB, free: 37.54 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.775e-05/0.3237, allocations: 112.9 kB / 456.6 MB, free: 37.43 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.746e-06/0.3237, allocations: 4.625 kB / 456.7 MB, free: 37.42 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.733e-05/0.3238, allocations: 56.83 kB / 456.7 MB, free: 37.39 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.3238, allocations: 7.438 kB / 456.7 MB, free: 37.39 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.3238, allocations: 0.6562 kB / 456.7 MB, free: 37.39 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.3238, allocations: 0.6875 kB / 456.7 MB, free: 37.39 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.224e-05/0.3239, allocations: 153.6 kB / 456.9 MB, free: 37.2 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.3239, allocations: 0.5 kB / 456.9 MB, free: 37.2 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.556e-05/0.324, allocations: 5.281 kB / 456.9 MB, free: 37.2 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/0.324, allocations: 0 / 456.9 MB, free: 37.2 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.324, allocations: 14.06 kB / 456.9 MB, free: 37.2 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.324, allocations: 0.75 kB / 456.9 MB, free: 37.2 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.324, allocations: 0 / 456.9 MB, free: 37.2 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001025/0.3241, allocations: 76.42 kB / 457 MB, free: 37.13 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.734e-05/0.3241, allocations: 81.59 kB / 457 MB, free: 37.04 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.374e-05/0.3242, allocations: 7.922 kB / 457 MB, free: 37.03 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.019e-05/0.3242, allocations: 0.5938 kB / 457 MB, free: 37.03 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.233e-05/0.3242, allocations: 2.406 kB / 457 MB, free: 37.03 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.397e-06/0.3242, allocations: 3.031 kB / 457.1 MB, free: 37.03 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.293e-05/0.3243, allocations: 94.19 kB / 457.1 MB, free: 36.95 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3243, allocations: 1.156 kB / 457.1 MB, free: 36.95 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002152/0.3245, allocations: 3.188 kB / 457.1 MB, free: 36.95 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 8.252e-05/0.3246, allocations: 93.03 kB / 457.2 MB, free: 36.87 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 7.897e-05/0.3247, allocations: 17.75 kB / 457.3 MB, free: 36.87 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.3247, allocations: 0 / 457.3 MB, free: 36.87 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.581e-05/0.3247, allocations: 11.91 kB / 457.3 MB, free: 36.87 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001462/0.3248, allocations: 4 kB / 457.3 MB, free: 36.87 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002536/0.3251, allocations: 116.8 kB / 457.4 MB, free: 36.76 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001376/0.3253, allocations: 0.6826 MB / 458.1 MB, free: 36.06 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.792e-05/0.3253, allocations: 6.031 kB / 458.1 MB, free: 36.06 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.443e-05/0.3253, allocations: 7.438 kB / 458.1 MB, free: 36.06 MB / 382.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3253, allocations: 1.375 kB / 458.1 MB, free: 36.06 MB / 382.1 MB Notification: Performance of Templates: time 0.002118/0.3274, allocations: 303.7 kB / 458.4 MB, free: 36.05 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)