Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001463/0.001463, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001777/0.001777, allocations: 169 kB / 23.02 MB, free: 1.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.047/1.047, allocations: 177.1 MB / 203.4 MB, free: 5.578 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001702/0.001702, allocations: 236.6 kB / 260.2 MB, free: 12.82 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7294/0.7294, allocations: 138.4 MB / 455.2 MB, free: 1.512 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions") translateModel(BuildingSystems.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 0.5551 GB, free: 0.4961 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.503e-05/1.654e-05, allocations: 2.312 kB / 0.5551 GB, free: 0.4922 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.VectorFunctions): time 0.001907/0.001923, allocations: 1.642 MB / 0.5567 GB, free: 14.84 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007841/0.002707, allocations: 0.5969 MB / 0.5573 GB, free: 14.23 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.408e-05/0.002772, allocations: 7.875 kB / 0.5573 GB, free: 14.22 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000105/0.002877, allocations: 7.875 kB / 0.5573 GB, free: 14.21 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 3.303e-05/0.00291, allocations: 19.84 kB / 0.5573 GB, free: 14.2 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002903/0.0032, allocations: 67.73 kB / 0.5574 GB, free: 14.13 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001179/0.003318, allocations: 87.7 kB / 0.5575 GB, free: 14.04 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001344/0.003452, allocations: 31.91 kB / 0.5575 GB, free: 14.01 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001281/0.00358, allocations: 51.89 kB / 0.5576 GB, free: 13.96 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.1e-05/0.003641, allocations: 31.89 kB / 0.5576 GB, free: 13.93 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.844e-05/0.00366, allocations: 8 kB / 0.5576 GB, free: 13.92 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.523e-05/0.003725, allocations: 19.98 kB / 0.5576 GB, free: 13.9 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.494e-05/0.00376, allocations: 23.91 kB / 0.5577 GB, free: 13.88 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.37e-05/0.003794, allocations: 23.92 kB / 0.5577 GB, free: 13.86 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001386/0.003932, allocations: 83.59 kB / 0.5578 GB, free: 13.77 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.003935, allocations: 8 kB / 0.5578 GB, free: 13.77 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.003936, allocations: 0 / 0.5578 GB, free: 13.77 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.586e-06/0.00394, allocations: 0 / 0.5578 GB, free: 13.77 MB / 490.7 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.0004025/0.004342, allocations: 428.1 kB / 0.5582 GB, free: 13.31 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.004381, allocations: 12.75 kB / 0.5582 GB, free: 13.3 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001831/0.004564, allocations: 40.81 kB / 0.5582 GB, free: 13.26 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001673/0.004732, allocations: 160.9 kB / 0.5584 GB, free: 13.08 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.037e-05/0.004742, allocations: 4.312 kB / 0.5584 GB, free: 13.07 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.517e-05/0.004757, allocations: 12.38 kB / 0.5584 GB, free: 13.06 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001543/0.004912, allocations: 86.7 kB / 0.5585 GB, free: 12.97 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.004924, allocations: 3.938 kB / 0.5585 GB, free: 12.97 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.004936, allocations: 4 kB / 0.5585 GB, free: 12.96 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.049e-05/0.004946, allocations: 7.984 kB / 0.5585 GB, free: 12.96 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.328e-05/0.005, allocations: 19.98 kB / 0.5585 GB, free: 12.94 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004019/0.005402, allocations: 347.5 kB / 0.5588 GB, free: 12.56 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.346e-05/0.005455, allocations: 31.06 kB / 0.5589 GB, free: 12.52 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.536e-05/0.00549, allocations: 27.73 kB / 0.5589 GB, free: 12.49 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.557e-05/0.005526, allocations: 8 kB / 0.5589 GB, free: 12.48 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.917e-05/0.005545, allocations: 33.39 kB / 0.5589 GB, free: 12.44 MB / 490.7 MB Notification: Performance of pre-optimization done (n=6): time 9.52e-07/0.005546, allocations: 0 / 0.5589 GB, free: 12.44 MB / 490.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001954/0.005742, allocations: 77.81 kB / 0.559 GB, free: 12.36 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.637e-05/0.005768, allocations: 55.41 kB / 0.5591 GB, free: 12.29 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.136e-05/0.005859, allocations: 193.8 kB / 0.5592 GB, free: 12.08 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.067e-05/0.00587, allocations: 25.7 kB / 0.5593 GB, free: 12.05 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.382e-05/0.005924, allocations: 162.8 kB / 0.5594 GB, free: 11.89 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.288e-05/0.005947, allocations: 19.84 kB / 0.5594 GB, free: 11.87 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.305e-05/0.00598, allocations: 27.38 kB / 0.5595 GB, free: 11.83 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001186/0.006098, allocations: 0.4923 MB / 0.56 GB, free: 11.33 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.585e-05/0.006124, allocations: 15.98 kB / 0.56 GB, free: 11.31 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.136e-05/0.006145, allocations: 12 kB / 0.56 GB, free: 11.3 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.347e-05/0.006209, allocations: 35.67 kB / 0.56 GB, free: 11.26 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.006211, allocations: 0 / 0.56 GB, free: 11.26 MB / 490.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 8.689e-05/0.006298, allocations: 69.64 kB / 0.5601 GB, free: 11.19 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/0.006309, allocations: 4 kB / 0.5601 GB, free: 11.18 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.006314, allocations: 0 / 0.5601 GB, free: 11.18 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.128e-05/0.006335, allocations: 0 / 0.5601 GB, free: 11.18 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.534e-05/0.006421, allocations: 19.92 kB / 0.5601 GB, free: 11.16 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.006426, allocations: 3.938 kB / 0.5601 GB, free: 11.16 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.756e-05/0.006454, allocations: 8 kB / 0.5601 GB, free: 11.15 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.7e-05/0.006471, allocations: 7.984 kB / 0.5601 GB, free: 11.14 MB / 490.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 (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.26e-05/0.006533, allocations: 156.6 kB / 0.5603 GB, free: 10.98 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.972e-05/0.006553, allocations: 7.953 kB / 0.5603 GB, free: 10.97 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001355/0.006689, allocations: 86.38 kB / 0.5604 GB, free: 10.89 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.00669, allocations: 3.938 kB / 0.5604 GB, free: 10.88 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.006696, allocations: 7.938 kB / 0.5604 GB, free: 10.88 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.006699, allocations: 0 / 0.5604 GB, free: 10.88 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001338/0.006833, allocations: 148.5 kB / 0.5605 GB, free: 10.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.006834, allocations: 0 / 0.5605 GB, free: 10.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.327e-05/0.006877, allocations: 27.92 kB / 0.5605 GB, free: 10.67 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.006879, allocations: 0 / 0.5605 GB, free: 10.67 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.746e-06/0.006888, allocations: 4.234 kB / 0.5605 GB, free: 10.66 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.00689, allocations: 4 kB / 0.5605 GB, free: 10.66 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.12e-07/0.006891, allocations: 4 kB / 0.5606 GB, free: 10.66 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001356/0.007026, allocations: 215.8 kB / 0.5608 GB, free: 10.43 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.077e-05/0.007037, allocations: 11.94 kB / 0.5608 GB, free: 10.41 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.138e-05/0.007048, allocations: 0 / 0.5608 GB, free: 10.41 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.436e-05/0.007093, allocations: 4 kB / 0.5608 GB, free: 10.41 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.11e-05/0.007134, allocations: 7.984 kB / 0.5608 GB, free: 10.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.307e-06/0.007143, allocations: 11.94 kB / 0.5608 GB, free: 10.39 MB / 490.7 MB Notification: Performance of sorting global known variables: time 5.346e-05/0.007197, allocations: 149.8 kB / 0.5609 GB, free: 10.25 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007197, allocations: 0 / 0.5609 GB, free: 10.25 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001636/0.00736, allocations: 19.94 kB / 0.561 GB, free: 10.23 MB / 490.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 (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 9.579e-05/0.007456, allocations: 99.19 kB / 0.561 GB, free: 10.12 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001019/0.007558, allocations: 39.67 kB / 0.5611 GB, free: 10.07 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.172e-06/0.007559, allocations: 0 / 0.5611 GB, free: 10.07 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 3.225e-05/0.007591, allocations: 27.61 kB / 0.5611 GB, free: 10.04 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001565/0.007748, allocations: 10.58 kB / 0.5611 GB, free: 10.04 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005291/0.008277, allocations: 217.7 kB / 0.5613 GB, free: 9.793 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.795e-05/0.008315, allocations: 67.34 kB / 0.5614 GB, free: 9.707 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.873e-05/0.008354, allocations: 15.97 kB / 0.5614 GB, free: 9.691 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.984e-05/0.008383, allocations: 12.5 kB / 0.5614 GB, free: 9.68 MB / 490.7 MB Notification: Performance of SimCode: time 6.92e-07/0.008384, allocations: 0 / 0.5614 GB, free: 9.68 MB / 490.7 MB Notification: Performance of Templates: time 0.002387/0.01077, allocations: 0.7232 MB / 0.5621 GB, free: 8.961 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.876292907167226]