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.001088/0.001088, allocations: 103.2 kB / 16.52 MB, free: 6.652 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.001066/0.001066, allocations: 198.7 kB / 17.44 MB, free: 6.047 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.386/1.386, allocations: 222.9 MB / 241.1 MB, free: 13.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6982/0.6982, allocations: 115.3 MB / 406.6 MB, free: 6.512 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001374/0.001374, allocations: 63.91 kB / 493.6 MB, free: 0.8438 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3366/0.338, allocations: 76.17 MB / 0.5564 GB, free: 35.63 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.VectorFunctions): time 0.002448/0.3405, allocations: 1.643 MB / 0.558 GB, free: 34.5 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006701/0.3412, allocations: 0.5031 MB / 0.5585 GB, free: 34.15 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.218e-05/0.3412, allocations: 7.281 kB / 0.5585 GB, free: 34.15 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 9.592e-05/0.3413, allocations: 8.438 kB / 0.5585 GB, free: 34.14 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.342e-05/0.3414, allocations: 6.344 kB / 0.5585 GB, free: 34.14 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001734/0.3416, allocations: 39.62 kB / 0.5585 GB, free: 34.12 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.091e-05/0.3416, allocations: 79.69 kB / 0.5586 GB, free: 34.08 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.3418, allocations: 35.19 kB / 0.5586 GB, free: 34.07 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.449e-05/0.3419, allocations: 35.3 kB / 0.5587 GB, free: 34.05 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.316e-05/0.3419, allocations: 40.78 kB / 0.5587 GB, free: 34.04 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.742e-05/0.3419, allocations: 6.062 kB / 0.5587 GB, free: 34.04 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.7e-05/0.342, allocations: 9.875 kB / 0.5587 GB, free: 34.04 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.545e-05/0.342, allocations: 21.39 kB / 0.5587 GB, free: 34.02 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.954e-05/0.3421, allocations: 35.7 kB / 0.5588 GB, free: 34 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 8.918e-05/0.3422, allocations: 64.58 kB / 0.5588 GB, free: 33.98 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.3422, allocations: 4.844 kB / 0.5588 GB, free: 33.98 MB / 446.1 MB Notification: Performance of FrontEnd: time 6.61e-07/0.3422, allocations: 0 / 0.5588 GB, free: 33.98 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.537e-06/0.3422, allocations: 0 / 0.5588 GB, free: 33.98 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.0004136/0.3426, allocations: 399.3 kB / 0.5592 GB, free: 33.59 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.035e-05/0.3427, allocations: 14.12 kB / 0.5592 GB, free: 33.58 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.718e-05/0.3427, allocations: 14.25 kB / 0.5593 GB, free: 33.57 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001231/0.3428, allocations: 192.9 kB / 0.5594 GB, free: 33.36 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.137e-06/0.3429, allocations: 3 kB / 0.5594 GB, free: 33.36 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.523e-05/0.3429, allocations: 9.5 kB / 0.5594 GB, free: 33.36 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002355/0.3431, allocations: 110.4 kB / 0.5596 GB, free: 33.31 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.3431, allocations: 1.641 kB / 0.5596 GB, free: 33.31 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.3432, allocations: 5.656 kB / 0.5596 GB, free: 33.3 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.3432, allocations: 1.438 kB / 0.5596 GB, free: 33.3 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002212/0.3434, allocations: 100.7 kB / 0.5597 GB, free: 33.28 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004821/0.3439, allocations: 371.8 kB / 0.56 GB, free: 32.98 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001331/0.344, allocations: 64.19 kB / 0.5601 GB, free: 32.94 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001073/0.3441, allocations: 47.92 kB / 0.5601 GB, free: 32.92 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.423e-05/0.3442, allocations: 15.8 kB / 0.5601 GB, free: 32.91 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.509e-05/0.3442, allocations: 31.84 kB / 0.5602 GB, free: 32.88 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.052e-06/0.3442, allocations: 0 / 0.5602 GB, free: 32.88 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004183/0.3446, allocations: 166.7 kB / 0.5603 GB, free: 32.81 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.244e-05/0.3447, allocations: 56.22 kB / 0.5604 GB, free: 32.74 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.822e-05/0.3448, allocations: 143 kB / 0.5605 GB, free: 32.62 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.548e-06/0.3448, allocations: 25.7 kB / 0.5605 GB, free: 32.59 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.135e-05/0.3448, allocations: 110.8 kB / 0.5606 GB, free: 32.49 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.123e-05/0.3448, allocations: 18.25 kB / 0.5607 GB, free: 32.48 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.671e-05/0.3449, allocations: 21.2 kB / 0.5607 GB, free: 32.46 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.412e-05/0.3449, allocations: 318.9 kB / 0.561 GB, free: 32.14 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001073/0.345, allocations: 37.27 kB / 0.561 GB, free: 32.14 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.403e-05/0.3451, allocations: 43.27 kB / 0.5611 GB, free: 32.12 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001977/0.3453, allocations: 92.98 kB / 0.5611 GB, free: 32.09 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3453, allocations: 1.094 kB / 0.5612 GB, free: 32.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002509/0.3456, allocations: 130 kB / 0.5613 GB, free: 32.04 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.3456, allocations: 5.156 kB / 0.5613 GB, free: 32.04 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.3456, allocations: 0 / 0.5613 GB, free: 32.04 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.3457, allocations: 3.734 kB / 0.5613 GB, free: 32.04 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001282/0.3458, allocations: 20.34 kB / 0.5613 GB, free: 32.03 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.3458, allocations: 4.688 kB / 0.5613 GB, free: 32.03 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.096e-05/0.3459, allocations: 8.922 kB / 0.5613 GB, free: 32.03 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.234e-05/0.3459, allocations: 4.25 kB / 0.5613 GB, free: 32.03 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.899e-05/0.346, allocations: 118.4 kB / 0.5614 GB, free: 31.91 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.079e-05/0.346, allocations: 7.438 kB / 0.5614 GB, free: 31.91 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003214/0.3463, allocations: 155.7 kB / 0.5616 GB, free: 31.84 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.3463, allocations: 5.344 kB / 0.5616 GB, free: 31.83 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.3464, allocations: 0 / 0.5616 GB, free: 31.83 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.3464, allocations: 1.906 kB / 0.5616 GB, free: 31.83 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001515/0.3465, allocations: 197.3 kB / 0.5618 GB, free: 31.63 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.3465, allocations: 2.188 kB / 0.5618 GB, free: 31.63 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001012/0.3466, allocations: 18.19 kB / 0.5618 GB, free: 31.63 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.3466, allocations: 1.5 kB / 0.5618 GB, free: 31.63 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.3467, allocations: 6.203 kB / 0.5618 GB, free: 31.62 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.3467, allocations: 3.938 kB / 0.5618 GB, free: 31.62 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.3467, allocations: 1.938 kB / 0.5618 GB, free: 31.62 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000262/0.3469, allocations: 226.4 kB / 0.562 GB, free: 31.46 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.941e-05/0.347, allocations: 82.36 kB / 0.5621 GB, free: 31.36 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.901e-05/0.347, allocations: 4.828 kB / 0.5621 GB, free: 31.36 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.951e-05/0.3471, allocations: 18.7 kB / 0.5621 GB, free: 31.36 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.002e-05/0.3471, allocations: 2.562 kB / 0.5621 GB, free: 31.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.078e-05/0.3472, allocations: 10.05 kB / 0.5621 GB, free: 31.35 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.153e-05/0.3472, allocations: 105.6 kB / 0.5622 GB, free: 31.27 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3472, allocations: 0 / 0.5622 GB, free: 31.27 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002293/0.3474, allocations: 17.97 kB / 0.5623 GB, free: 31.26 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.0001031/0.3475, allocations: 97.83 kB / 0.5624 GB, free: 31.18 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002536/0.3478, allocations: 100.9 kB / 0.5625 GB, free: 31.16 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.3478, allocations: 0.9688 kB / 0.5625 GB, free: 31.16 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001179/0.3479, allocations: 54.03 kB / 0.5625 GB, free: 31.14 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002126/0.3482, allocations: 10.86 kB / 0.5625 GB, free: 31.14 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000387/0.3486, allocations: 267.5 kB / 0.5628 GB, free: 30.94 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001211/0.3487, allocations: 0.7068 MB / 0.5635 GB, free: 30.23 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.961e-05/0.3487, allocations: 14.47 kB / 0.5635 GB, free: 30.23 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3487, allocations: 0 / 0.5635 GB, free: 30.23 MB / 446.1 MB Notification: Performance of Templates: time 0.002623/0.3514, allocations: 1.102 MB / 0.5645 GB, free: 30.2 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 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.VectorFunctions.pipe 2>&1)