Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.VectorFunctions.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.VectorFunctions") translateModel(IBPSA.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.VectorFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001039/0.001039, allocations: 108.5 kB / 17.03 MB, free: 5.656 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.001013/0.001013, allocations: 190.9 kB / 17.97 MB, free: 5.062 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.389/1.389, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7341/0.7341, allocations: 115.1 MB / 406.9 MB, free: 6.348 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 63.91 kB / 494.8 MB, free: 15.89 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3302/0.3315, allocations: 76.15 MB / 0.5576 GB, free: 36.8 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.VectorFunctions): time 0.00233/0.3338, allocations: 1.571 MB / 0.5591 GB, free: 35.73 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006745/0.3345, allocations: 0.5009 MB / 0.5596 GB, free: 35.38 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.439e-05/0.3346, allocations: 2.75 kB / 0.5596 GB, free: 35.38 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 9.512e-05/0.3347, allocations: 9.984 kB / 0.5596 GB, free: 35.37 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.113e-05/0.3347, allocations: 16.72 kB / 0.5596 GB, free: 35.36 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002089/0.335, allocations: 38.36 kB / 0.5597 GB, free: 35.34 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.913e-05/0.3351, allocations: 85 kB / 0.5597 GB, free: 35.3 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001348/0.3352, allocations: 41.41 kB / 0.5598 GB, free: 35.28 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.83e-05/0.3353, allocations: 38.27 kB / 0.5598 GB, free: 35.26 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.575e-05/0.3354, allocations: 43.92 kB / 0.5599 GB, free: 35.24 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.798e-05/0.3354, allocations: 6.906 kB / 0.5599 GB, free: 35.24 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.828e-05/0.3355, allocations: 11.16 kB / 0.5599 GB, free: 35.24 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.821e-05/0.3355, allocations: 25.89 kB / 0.5599 GB, free: 35.22 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.575e-05/0.3356, allocations: 36.17 kB / 0.5599 GB, free: 35.2 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001394/0.3357, allocations: 96.83 kB / 0.56 GB, free: 35.16 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.3357, allocations: 3.938 kB / 0.56 GB, free: 35.15 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.3357, allocations: 0 / 0.56 GB, free: 35.15 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.469e-06/0.3357, allocations: 0 / 0.56 GB, free: 35.15 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004271/0.3362, allocations: 397.5 kB / 0.5604 GB, free: 34.77 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.122e-05/0.3362, allocations: 8.844 kB / 0.5604 GB, free: 34.77 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.692e-05/0.3362, allocations: 16.09 kB / 0.5604 GB, free: 34.76 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001291/0.3364, allocations: 189.8 kB / 0.5606 GB, free: 34.55 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.844e-06/0.3364, allocations: 8.094 kB / 0.5606 GB, free: 34.55 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.89e-05/0.3364, allocations: 5.156 kB / 0.5606 GB, free: 34.55 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002296/0.3367, allocations: 116 kB / 0.5607 GB, free: 34.5 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-06/0.3367, allocations: 1.031 kB / 0.5607 GB, free: 34.5 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.3367, allocations: 5.344 kB / 0.5607 GB, free: 34.49 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.3367, allocations: 2.078 kB / 0.5607 GB, free: 34.49 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002285/0.3369, allocations: 100.5 kB / 0.5608 GB, free: 34.47 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005234/0.3375, allocations: 372.7 kB / 0.5612 GB, free: 34.16 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000137/0.3376, allocations: 62.14 kB / 0.5613 GB, free: 34.12 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000108/0.3377, allocations: 46.28 kB / 0.5613 GB, free: 34.11 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.276e-05/0.3378, allocations: 8.688 kB / 0.5613 GB, free: 34.11 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.311e-05/0.3378, allocations: 41.64 kB / 0.5613 GB, free: 34.06 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 2.254e-06/0.3378, allocations: 3.094 kB / 0.5614 GB, free: 34.06 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004309/0.3382, allocations: 166.3 kB / 0.5615 GB, free: 33.99 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.935e-05/0.3383, allocations: 54.2 kB / 0.5616 GB, free: 33.93 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.253e-05/0.3384, allocations: 141.5 kB / 0.5617 GB, free: 33.81 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.157e-06/0.3384, allocations: 25.7 kB / 0.5617 GB, free: 33.78 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.448e-05/0.3384, allocations: 105.9 kB / 0.5618 GB, free: 33.68 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.215e-05/0.3384, allocations: 19.16 kB / 0.5618 GB, free: 33.67 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.956e-05/0.3385, allocations: 22.12 kB / 0.5619 GB, free: 33.65 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.436e-05/0.3385, allocations: 320.5 kB / 0.5622 GB, free: 33.33 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001067/0.3387, allocations: 40.97 kB / 0.5622 GB, free: 33.32 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.339e-05/0.3388, allocations: 37.53 kB / 0.5622 GB, free: 33.32 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000198/0.339, allocations: 93.91 kB / 0.5623 GB, free: 33.29 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.339, allocations: 3.938 kB / 0.5623 GB, free: 33.29 MB / 446.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002443/0.3392, allocations: 127.8 kB / 0.5625 GB, free: 33.23 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.3392, allocations: 5.406 kB / 0.5625 GB, free: 33.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.616e-06/0.3392, allocations: 0 / 0.5625 GB, free: 33.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.3393, allocations: 0.6562 kB / 0.5625 GB, free: 33.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001312/0.3394, allocations: 21.72 kB / 0.5625 GB, free: 33.22 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.3394, allocations: 1.375 kB / 0.5625 GB, free: 33.22 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.963e-05/0.3395, allocations: 8.891 kB / 0.5625 GB, free: 33.22 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.943e-05/0.3395, allocations: 3.656 kB / 0.5625 GB, free: 33.22 MB / 446.1 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 (6): * Single equations (assignments): 6 * 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 5.783e-05/0.3396, allocations: 121.9 kB / 0.5626 GB, free: 33.1 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.115e-05/0.3396, allocations: 8.297 kB / 0.5626 GB, free: 33.1 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003134/0.3399, allocations: 147.6 kB / 0.5628 GB, free: 33.03 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.34, allocations: 6.312 kB / 0.5628 GB, free: 33.03 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.34, allocations: 0.5781 kB / 0.5628 GB, free: 33.03 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.34, allocations: 4 kB / 0.5628 GB, free: 33.02 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001598/0.3401, allocations: 208.8 kB / 0.563 GB, free: 32.81 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.3401, allocations: 1.562 kB / 0.563 GB, free: 32.81 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001031/0.3403, allocations: 18.55 kB / 0.563 GB, free: 32.81 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.3403, allocations: 1.094 kB / 0.563 GB, free: 32.81 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.3403, allocations: 2.641 kB / 0.563 GB, free: 32.81 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.776e-06/0.3403, allocations: 3.938 kB / 0.563 GB, free: 32.81 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.3403, allocations: 0.6875 kB / 0.563 GB, free: 32.81 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002644/0.3406, allocations: 226.9 kB / 0.5632 GB, free: 32.65 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.1e-05/0.3406, allocations: 87.77 kB / 0.5633 GB, free: 32.55 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.797e-05/0.3406, allocations: 2.031 kB / 0.5633 GB, free: 32.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001031/0.3407, allocations: 12.28 kB / 0.5633 GB, free: 32.54 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.324e-05/0.3408, allocations: 5.344 kB / 0.5633 GB, free: 32.54 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.087e-05/0.3408, allocations: 4.844 kB / 0.5633 GB, free: 32.54 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.343e-05/0.3408, allocations: 106.4 kB / 0.5634 GB, free: 32.46 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3409, allocations: 0 / 0.5634 GB, free: 32.46 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002402/0.3411, allocations: 20.53 kB / 0.5634 GB, free: 32.45 MB / 446.1 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 (6): * Single equations (assignments): 6 * 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.0001009/0.3412, allocations: 98.83 kB / 0.5635 GB, free: 32.37 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002598/0.3415, allocations: 100.1 kB / 0.5636 GB, free: 32.35 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.3415, allocations: 1.062 kB / 0.5636 GB, free: 32.35 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001175/0.3416, allocations: 53.94 kB / 0.5637 GB, free: 32.34 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002159/0.3418, allocations: 6.375 kB / 0.5637 GB, free: 32.33 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003637/0.3422, allocations: 215.2 kB / 0.5639 GB, free: 32.18 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001237/0.3423, allocations: 0.7006 MB / 0.5646 GB, free: 31.48 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001085/0.3425, allocations: 18.42 kB / 0.5646 GB, free: 31.48 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.176e-05/0.3425, allocations: 13.09 kB / 0.5646 GB, free: 31.48 MB / 446.1 MB Notification: Performance of SimCode: time 2.71e-07/0.3425, allocations: 4.438 kB / 0.5646 GB, free: 31.47 MB / 446.1 MB Notification: Performance of Templates: time 0.002879/0.3454, allocations: 0.7156 MB / 0.5653 GB, free: 31.42 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.VectorFunctions.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.VectorFunctions.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.VectorFunctions -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.VectorFunctions.pipe 2>&1)