Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.Average.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.Average") translateModel(IBPSA.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.Average") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001015/0.001015, allocations: 182.7 kB / 16.08 MB, free: 5.48 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4389/0.4389, allocations: 89.07 MB / 105.9 MB, free: 12.46 MB / 90.72 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.254/1.254, allocations: 225.7 MB / 353.2 MB, free: 1.074 MB / 282.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007379/0.000738, allocations: 91.91 kB / 425.4 MB, free: 6.637 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003584/0.0003584, allocations: 12 kB / 0.4955 GB, free: 4.523 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2703/0.2707, allocations: 71.33 MB / 0.5652 GB, free: 42.35 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Average): time 0.001331/0.2721, allocations: 1.241 MB / 0.5664 GB, free: 41.1 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003028/0.2724, allocations: 176.9 kB / 0.5666 GB, free: 40.91 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.484e-05/0.2724, allocations: 1.375 kB / 0.5666 GB, free: 40.91 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001003/0.2725, allocations: 3.938 kB / 0.5666 GB, free: 40.9 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 2.295e-05/0.2726, allocations: 13.11 kB / 0.5666 GB, free: 40.89 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001762/0.2728, allocations: 19.97 kB / 0.5666 GB, free: 40.87 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 6.499e-05/0.2728, allocations: 55.84 kB / 0.5667 GB, free: 40.82 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.613e-05/0.2729, allocations: 26.73 kB / 0.5667 GB, free: 40.79 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.255e-05/0.273, allocations: 19.92 kB / 0.5667 GB, free: 40.77 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.35e-05/0.2731, allocations: 20.67 kB / 0.5667 GB, free: 40.75 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.306e-05/0.2731, allocations: 7.984 kB / 0.5667 GB, free: 40.75 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.831e-05/0.2731, allocations: 8.516 kB / 0.5667 GB, free: 40.74 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.259e-05/0.2732, allocations: 11.94 kB / 0.5668 GB, free: 40.73 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.712e-05/0.2732, allocations: 47.22 kB / 0.5668 GB, free: 40.68 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 9.476e-05/0.2733, allocations: 55.8 kB / 0.5669 GB, free: 40.62 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.2733, allocations: 0 / 0.5669 GB, free: 40.62 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2733, allocations: 3.938 kB / 0.5669 GB, free: 40.62 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.847e-06/0.2733, allocations: 1.031 kB / 0.5669 GB, free: 40.62 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004286/0.2738, allocations: 385.3 kB / 0.5672 GB, free: 40.2 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.965e-05/0.2738, allocations: 8.031 kB / 0.5672 GB, free: 40.19 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.761e-05/0.2738, allocations: 8.844 kB / 0.5672 GB, free: 40.18 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001087/0.274, allocations: 184.3 kB / 0.5674 GB, free: 39.96 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.913e-06/0.274, allocations: 4.359 kB / 0.5674 GB, free: 39.96 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.421e-05/0.274, allocations: 4.375 kB / 0.5674 GB, free: 39.95 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002416/0.2742, allocations: 106.1 kB / 0.5675 GB, free: 39.84 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.203e-06/0.2742, allocations: 4.125 kB / 0.5675 GB, free: 39.84 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.247e-06/0.2743, allocations: 3.938 kB / 0.5675 GB, free: 39.84 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-06/0.2743, allocations: 0 / 0.5675 GB, free: 39.84 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002723/0.2745, allocations: 103.9 kB / 0.5676 GB, free: 39.73 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00039/0.2749, allocations: 340.7 kB / 0.568 GB, free: 39.35 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001636/0.2751, allocations: 70.53 kB / 0.568 GB, free: 39.27 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001303/0.2753, allocations: 56.91 kB / 0.5681 GB, free: 39.21 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.199e-05/0.2753, allocations: 4 kB / 0.5681 GB, free: 39.21 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.49e-05/0.2753, allocations: 30.56 kB / 0.5681 GB, free: 39.17 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.2753, allocations: 0 / 0.5681 GB, free: 39.17 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.0004696/0.2758, allocations: 177.5 kB / 0.5683 GB, free: 38.99 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.166e-05/0.2758, allocations: 51.41 kB / 0.5683 GB, free: 38.93 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.569e-05/0.2759, allocations: 121.8 kB / 0.5684 GB, free: 38.8 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.705e-06/0.2759, allocations: 25.7 kB / 0.5685 GB, free: 38.77 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.99e-05/0.2759, allocations: 92.05 kB / 0.5686 GB, free: 38.68 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.563e-05/0.276, allocations: 11.84 kB / 0.5686 GB, free: 38.66 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.857e-06/0.276, allocations: 0 / 0.5686 GB, free: 38.66 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.247e-05/0.276, allocations: 322.8 kB / 0.5689 GB, free: 38.34 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001318/0.2762, allocations: 43.97 kB / 0.5689 GB, free: 38.3 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001172/0.2763, allocations: 47.95 kB / 0.569 GB, free: 38.25 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002602/0.2766, allocations: 96.78 kB / 0.5691 GB, free: 38.15 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.2766, allocations: 0 / 0.5691 GB, free: 38.15 MB / 410.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002698/0.2768, allocations: 133.5 kB / 0.5692 GB, free: 38.02 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.11e-05/0.2769, allocations: 7.906 kB / 0.5692 GB, free: 38.01 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-06/0.2769, allocations: 0 / 0.5692 GB, free: 38.01 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.2769, allocations: 0 / 0.5692 GB, free: 38.01 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001058/0.277, allocations: 23.98 kB / 0.5692 GB, free: 37.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.277, allocations: 0 / 0.5692 GB, free: 37.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.872e-05/0.2771, allocations: 19.98 kB / 0.5692 GB, free: 37.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.659e-05/0.2771, allocations: 7.984 kB / 0.5692 GB, free: 37.96 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * 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.628e-05/0.2772, allocations: 117.8 kB / 0.5694 GB, free: 37.83 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.136e-05/0.2772, allocations: 0 / 0.5694 GB, free: 37.83 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003138/0.2775, allocations: 145.7 kB / 0.5695 GB, free: 37.67 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.2775, allocations: 0 / 0.5695 GB, free: 37.67 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.2775, allocations: 4 kB / 0.5695 GB, free: 37.67 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.923e-06/0.2775, allocations: 48 / 0.5695 GB, free: 37.67 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000112/0.2776, allocations: 185.6 kB / 0.5697 GB, free: 37.44 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.2776, allocations: 0 / 0.5697 GB, free: 37.44 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.809e-05/0.2777, allocations: 23.92 kB / 0.5697 GB, free: 37.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.2778, allocations: 0 / 0.5697 GB, free: 37.41 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.921e-06/0.2778, allocations: 0 / 0.5697 GB, free: 37.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.2778, allocations: 4 kB / 0.5697 GB, free: 37.41 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.2778, allocations: 0 / 0.5697 GB, free: 37.41 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000288/0.2781, allocations: 227.3 kB / 0.5699 GB, free: 37.17 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.605e-05/0.2781, allocations: 85.02 kB / 0.57 GB, free: 37.07 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.24e-05/0.2781, allocations: 0 / 0.57 GB, free: 37.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.833e-05/0.2782, allocations: 19.97 kB / 0.57 GB, free: 37.05 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.464e-05/0.2783, allocations: 7.938 kB / 0.57 GB, free: 37.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.941e-06/0.2783, allocations: 4 kB / 0.57 GB, free: 37.04 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.604e-05/0.2783, allocations: 95.27 kB / 0.5701 GB, free: 36.95 MB / 410.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2783, allocations: 0 / 0.5701 GB, free: 36.95 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001875/0.2785, allocations: 8 kB / 0.5701 GB, free: 36.94 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * 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.531e-05/0.2786, allocations: 113.1 kB / 0.5702 GB, free: 36.82 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003054/0.2789, allocations: 95.91 kB / 0.5703 GB, free: 36.73 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.2789, allocations: 4 kB / 0.5703 GB, free: 36.72 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001315/0.279, allocations: 55.95 kB / 0.5704 GB, free: 36.67 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002262/0.2793, allocations: 4 kB / 0.5704 GB, free: 36.66 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002398/0.2795, allocations: 172.6 kB / 0.5706 GB, free: 36.47 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.172e-05/0.2796, allocations: 0.6926 MB / 0.5712 GB, free: 35.75 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.031e-05/0.2797, allocations: 4 kB / 0.5712 GB, free: 35.75 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.95e-05/0.2797, allocations: 11.44 kB / 0.5712 GB, free: 35.73 MB / 410.7 MB Notification: Performance of SimCode: time 2.2e-07/0.2797, allocations: 0 / 0.5712 GB, free: 35.73 MB / 410.7 MB Notification: Performance of Templates: time 0.002128/0.2818, allocations: 0.6207 MB / 0.5718 GB, free: 35.12 MB / 410.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Average.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Average.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.Average.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.Average.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.Average.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.Average -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.Average.pipe 2>&1)