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.001176/0.001176, allocations: 115.2 kB / 17.04 MB, free: 5.797 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.001157/0.001157, allocations: 195 kB / 17.98 MB, free: 5.031 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.253/1.253, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6797/0.6797, allocations: 115.1 MB / 407 MB, free: 6.301 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 59.91 kB / 494.8 MB, free: 15.84 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3341/0.3354, allocations: 76.14 MB / 0.5576 GB, free: 36.77 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.VectorFunctions): time 0.002439/0.3379, allocations: 1.581 MB / 0.5591 GB, free: 35.7 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006965/0.3386, allocations: 0.5027 MB / 0.5596 GB, free: 35.34 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.937e-05/0.3387, allocations: 1.25 kB / 0.5596 GB, free: 35.34 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001167/0.3388, allocations: 11.84 kB / 0.5596 GB, free: 35.33 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.03e-05/0.3388, allocations: 14.28 kB / 0.5596 GB, free: 35.32 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002364/0.3391, allocations: 39.02 kB / 0.5597 GB, free: 35.3 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001101/0.3392, allocations: 87.08 kB / 0.5597 GB, free: 35.26 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00015/0.3393, allocations: 44.69 kB / 0.5598 GB, free: 35.24 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.161e-05/0.3394, allocations: 36.36 kB / 0.5598 GB, free: 35.22 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.534e-05/0.3395, allocations: 37.12 kB / 0.5599 GB, free: 35.21 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.124e-05/0.3395, allocations: 7.781 kB / 0.5599 GB, free: 35.21 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.587e-05/0.3396, allocations: 15.52 kB / 0.5599 GB, free: 35.2 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.079e-05/0.3397, allocations: 25.59 kB / 0.5599 GB, free: 35.19 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.417e-05/0.3397, allocations: 40.28 kB / 0.5599 GB, free: 35.16 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001333/0.3398, allocations: 94.7 kB / 0.56 GB, free: 35.12 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.3399, allocations: 0.5 kB / 0.56 GB, free: 35.12 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.3399, allocations: 2.125 kB / 0.56 GB, free: 35.12 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.548e-06/0.3399, allocations: 0 / 0.56 GB, free: 35.12 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.000456/0.3403, allocations: 395.5 kB / 0.5604 GB, free: 34.73 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.3404, allocations: 10.48 kB / 0.5604 GB, free: 34.73 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.872e-05/0.3404, allocations: 21.78 kB / 0.5604 GB, free: 34.71 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001442/0.3406, allocations: 188.4 kB / 0.5606 GB, free: 34.51 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/0.3406, allocations: 14.88 kB / 0.5606 GB, free: 34.5 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.811e-05/0.3406, allocations: 5.188 kB / 0.5606 GB, free: 34.5 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000231/0.3409, allocations: 110.9 kB / 0.5608 GB, free: 34.45 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/0.3409, allocations: 0 / 0.5608 GB, free: 34.45 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.3409, allocations: 4.984 kB / 0.5608 GB, free: 34.45 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.385e-06/0.3409, allocations: 1.469 kB / 0.5608 GB, free: 34.45 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002255/0.3411, allocations: 100.1 kB / 0.5609 GB, free: 34.42 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005273/0.3417, allocations: 377.8 kB / 0.5612 GB, free: 34.11 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001396/0.3418, allocations: 56.94 kB / 0.5613 GB, free: 34.08 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001112/0.3419, allocations: 52.17 kB / 0.5613 GB, free: 34.06 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.965e-05/0.342, allocations: 2.875 kB / 0.5613 GB, free: 34.06 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.743e-05/0.342, allocations: 36.56 kB / 0.5614 GB, free: 34.02 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.973e-06/0.342, allocations: 1.969 kB / 0.5614 GB, free: 34.02 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004334/0.3424, allocations: 164.1 kB / 0.5615 GB, free: 33.95 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.696e-05/0.3425, allocations: 52.91 kB / 0.5616 GB, free: 33.89 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.002e-05/0.3426, allocations: 141.6 kB / 0.5617 GB, free: 33.77 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.029e-05/0.3426, allocations: 25.7 kB / 0.5617 GB, free: 33.74 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.834e-05/0.3426, allocations: 107.3 kB / 0.5618 GB, free: 33.64 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.581e-05/0.3427, allocations: 17.09 kB / 0.5618 GB, free: 33.63 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.984e-05/0.3427, allocations: 22.23 kB / 0.5619 GB, free: 33.61 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.597e-05/0.3428, allocations: 320.7 kB / 0.5622 GB, free: 33.29 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000105/0.3429, allocations: 39.33 kB / 0.5622 GB, free: 33.29 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.903e-05/0.343, allocations: 38.98 kB / 0.5622 GB, free: 33.28 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002045/0.3432, allocations: 93.77 kB / 0.5623 GB, free: 33.25 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.3432, allocations: 0 / 0.5623 GB, free: 33.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002605/0.3435, allocations: 126.8 kB / 0.5625 GB, free: 33.19 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.3435, allocations: 7.531 kB / 0.5625 GB, free: 33.19 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.3435, allocations: 0.6562 kB / 0.5625 GB, free: 33.19 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.3435, allocations: 1.219 kB / 0.5625 GB, free: 33.19 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001366/0.3437, allocations: 22.58 kB / 0.5625 GB, free: 33.19 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.3437, allocations: 0 / 0.5625 GB, free: 33.19 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.934e-05/0.3438, allocations: 13.2 kB / 0.5625 GB, free: 33.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.269e-05/0.3438, allocations: 7.141 kB / 0.5625 GB, free: 33.18 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 6.687e-05/0.3439, allocations: 127.4 kB / 0.5626 GB, free: 33.05 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.026e-05/0.3439, allocations: 8.453 kB / 0.5626 GB, free: 33.05 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003326/0.3442, allocations: 145.8 kB / 0.5628 GB, free: 32.98 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.3443, allocations: 10.84 kB / 0.5628 GB, free: 32.98 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.3443, allocations: 0 / 0.5628 GB, free: 32.98 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.349e-06/0.3443, allocations: 2.203 kB / 0.5628 GB, free: 32.98 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000179/0.3445, allocations: 202.9 kB / 0.563 GB, free: 32.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.3445, allocations: 0.6562 kB / 0.563 GB, free: 32.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001141/0.3446, allocations: 20.17 kB / 0.563 GB, free: 32.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.3446, allocations: 0.7188 kB / 0.563 GB, free: 32.77 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/0.3446, allocations: 2.516 kB / 0.563 GB, free: 32.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.3446, allocations: 10.47 kB / 0.563 GB, free: 32.76 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.3446, allocations: 0 / 0.563 GB, free: 32.76 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002729/0.3449, allocations: 222.2 kB / 0.5632 GB, free: 32.61 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.543e-05/0.3449, allocations: 83.98 kB / 0.5633 GB, free: 32.51 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.762e-05/0.345, allocations: 1.953 kB / 0.5633 GB, free: 32.51 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.805e-05/0.3451, allocations: 12.67 kB / 0.5633 GB, free: 32.5 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.567e-05/0.3451, allocations: 9.375 kB / 0.5633 GB, free: 32.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.019e-05/0.3451, allocations: 3.344 kB / 0.5633 GB, free: 32.5 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.698e-05/0.3452, allocations: 103.9 kB / 0.5634 GB, free: 32.42 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3452, allocations: 1.312 kB / 0.5634 GB, free: 32.42 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002305/0.3454, allocations: 16.59 kB / 0.5634 GB, free: 32.41 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.0001296/0.3456, allocations: 102.9 kB / 0.5635 GB, free: 32.32 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002725/0.3459, allocations: 99.23 kB / 0.5636 GB, free: 32.3 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.3459, allocations: 0.75 kB / 0.5636 GB, free: 32.3 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001185/0.346, allocations: 51.69 kB / 0.5637 GB, free: 32.3 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002211/0.3462, allocations: 5.062 kB / 0.5637 GB, free: 32.29 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004048/0.3466, allocations: 220.3 kB / 0.5639 GB, free: 32.14 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001407/0.3468, allocations: 0.701 MB / 0.5646 GB, free: 31.44 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001215/0.3469, allocations: 20.75 kB / 0.5646 GB, free: 31.44 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.244e-05/0.3469, allocations: 17.39 kB / 0.5646 GB, free: 31.43 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.347, allocations: 0 / 0.5646 GB, free: 31.43 MB / 446.1 MB Notification: Performance of Templates: time 0.002838/0.3498, allocations: 0.7121 MB / 0.5653 GB, free: 31.38 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 cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.VectorFunctions.pipe 2>&1)