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.001519/0.001519, allocations: 81.95 kB / 19.87 MB, free: 4.617 MB / 18.57 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.001849/0.001849, allocations: 169.7 kB / 23.27 MB, free: 1.219 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 0.9749/0.9749, allocations: 177.1 MB / 203.7 MB, free: 5.523 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.002335/0.002335, allocations: 249.5 kB / 260.5 MB, free: 12.67 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.7805/0.7805, allocations: 138.4 MB / 455.5 MB, free: 29.93 MB / 410.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.673e-06/1.673e-06, allocations: 0 / 0.5556 GB, free: 15.84 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.059e-05/2.226e-05, allocations: 2.312 kB / 0.5556 GB, free: 15.84 MB / 490.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.VectorFunctions): time 0.001891/0.001913, allocations: 1.636 MB / 0.5572 GB, free: 14.19 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007359/0.002649, allocations: 0.5889 MB / 0.5578 GB, free: 13.59 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.66e-05/0.002715, allocations: 3.938 kB / 0.5578 GB, free: 13.59 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 9.579e-05/0.002811, allocations: 11.88 kB / 0.5578 GB, free: 13.57 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 3.057e-05/0.002842, allocations: 19.78 kB / 0.5578 GB, free: 13.55 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002432/0.003085, allocations: 59.8 kB / 0.5579 GB, free: 13.5 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001048/0.00319, allocations: 87.7 kB / 0.5579 GB, free: 13.41 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001155/0.003305, allocations: 31.95 kB / 0.558 GB, free: 13.38 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001267/0.003432, allocations: 59.88 kB / 0.558 GB, free: 13.32 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.766e-05/0.00349, allocations: 31.91 kB / 0.5581 GB, free: 13.29 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.069e-05/0.00351, allocations: 4 kB / 0.5581 GB, free: 13.29 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.971e-05/0.00357, allocations: 19.98 kB / 0.5581 GB, free: 13.27 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.547e-05/0.003605, allocations: 27.84 kB / 0.5581 GB, free: 13.24 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.792e-05/0.003633, allocations: 27.86 kB / 0.5581 GB, free: 13.21 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001161/0.003749, allocations: 75.72 kB / 0.5582 GB, free: 13.14 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.003751, allocations: 0 / 0.5582 GB, free: 13.14 MB / 490.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.003752, allocations: 0 / 0.5582 GB, free: 13.14 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.336e-06/0.003756, allocations: 0 / 0.5582 GB, free: 13.14 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.0003433/0.004099, allocations: 448 kB / 0.5586 GB, free: 12.66 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.004134, allocations: 9.938 kB / 0.5586 GB, free: 12.66 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001514/0.004286, allocations: 44.81 kB / 0.5587 GB, free: 12.61 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001285/0.004414, allocations: 148.9 kB / 0.5588 GB, free: 12.44 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.108e-06/0.004424, allocations: 4.375 kB / 0.5588 GB, free: 12.44 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.556e-06/0.004432, allocations: 4.375 kB / 0.5588 GB, free: 12.43 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001199/0.004552, allocations: 86.42 kB / 0.5589 GB, free: 12.34 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.004561, allocations: 11.92 kB / 0.5589 GB, free: 12.33 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.015e-06/0.004569, allocations: 4 kB / 0.5589 GB, free: 12.33 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.004575, allocations: 0 / 0.5589 GB, free: 12.33 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.382e-05/0.004608, allocations: 19.98 kB / 0.559 GB, free: 12.31 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000309/0.004917, allocations: 320.1 kB / 0.5593 GB, free: 11.97 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.426e-05/0.004962, allocations: 43 kB / 0.5593 GB, free: 11.91 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.321e-05/0.004985, allocations: 15.67 kB / 0.5593 GB, free: 11.89 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.247e-05/0.005017, allocations: 8.125 kB / 0.5593 GB, free: 11.89 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.953e-05/0.005037, allocations: 41.39 kB / 0.5594 GB, free: 11.84 MB / 490.7 MB Notification: Performance of pre-optimization done (n=6): time 8.92e-07/0.005038, allocations: 0 / 0.5594 GB, free: 11.84 MB / 490.7 MB Notification: Performance of matching and sorting (n=6): time 0.000143/0.005181, allocations: 69.62 kB / 0.5594 GB, free: 11.76 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.319e-05/0.005204, allocations: 51.41 kB / 0.5595 GB, free: 11.7 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.229e-05/0.005286, allocations: 200.9 kB / 0.5597 GB, free: 11.49 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.14e-05/0.005298, allocations: 25.7 kB / 0.5597 GB, free: 11.46 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003088/0.005606, allocations: 158.8 kB / 0.5598 GB, free: 11.3 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.504e-05/0.005631, allocations: 23.83 kB / 0.5599 GB, free: 11.27 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.964e-05/0.005661, allocations: 23.38 kB / 0.5599 GB, free: 11.24 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.787e-05/0.005759, allocations: 0.4923 MB / 0.5604 GB, free: 10.74 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.696e-05/0.005776, allocations: 7.984 kB / 0.5604 GB, free: 10.73 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.526e-05/0.005791, allocations: 12 kB / 0.5604 GB, free: 10.72 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.241e-05/0.005834, allocations: 27.67 kB / 0.5604 GB, free: 10.69 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.005835, allocations: 0 / 0.5604 GB, free: 10.69 MB / 490.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 7.333e-05/0.005908, allocations: 61.64 kB / 0.5605 GB, free: 10.62 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.066e-05/0.005919, allocations: 8 kB / 0.5605 GB, free: 10.61 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.377e-06/0.005922, allocations: 0 / 0.5605 GB, free: 10.61 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.077e-06/0.005931, allocations: 3.938 kB / 0.5605 GB, free: 10.61 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.993e-05/0.006001, allocations: 23.92 kB / 0.5605 GB, free: 10.59 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.973e-06/0.006003, allocations: 0 / 0.5605 GB, free: 10.59 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.604e-05/0.006029, allocations: 11.89 kB / 0.5605 GB, free: 10.57 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.391e-05/0.006043, allocations: 7.984 kB / 0.5605 GB, free: 10.57 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 5.67e-05/0.0061, allocations: 156.6 kB / 0.5607 GB, free: 10.4 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.69e-05/0.006117, allocations: 7.953 kB / 0.5607 GB, free: 10.39 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001185/0.006235, allocations: 86.8 kB / 0.5608 GB, free: 10.3 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.006238, allocations: 4 kB / 0.5608 GB, free: 10.3 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.083e-06/0.006239, allocations: 0 / 0.5608 GB, free: 10.3 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.006242, allocations: 3.938 kB / 0.5608 GB, free: 10.3 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001001/0.006342, allocations: 133.2 kB / 0.5609 GB, free: 10.14 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.006345, allocations: 4 kB / 0.5609 GB, free: 10.14 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.131e-05/0.006396, allocations: 11.98 kB / 0.5609 GB, free: 10.12 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.006399, allocations: 8 kB / 0.5609 GB, free: 10.12 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.3e-06/0.006404, allocations: 0 / 0.5609 GB, free: 10.12 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.006405, allocations: 0 / 0.5609 GB, free: 10.12 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.006406, allocations: 0 / 0.5609 GB, free: 10.12 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001113/0.006517, allocations: 215.8 kB / 0.5611 GB, free: 9.887 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.488e-06/0.006527, allocations: 11.91 kB / 0.5611 GB, free: 9.875 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.013e-05/0.006537, allocations: 4 kB / 0.5611 GB, free: 9.871 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.88e-05/0.006576, allocations: 4 kB / 0.5611 GB, free: 9.867 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.036e-05/0.006606, allocations: 7.922 kB / 0.5612 GB, free: 9.859 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.861e-06/0.006612, allocations: 4 kB / 0.5612 GB, free: 9.855 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.521e-05/0.006657, allocations: 153.7 kB / 0.5613 GB, free: 9.707 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006657, allocations: 4 kB / 0.5613 GB, free: 9.703 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001462/0.006803, allocations: 12 kB / 0.5613 GB, free: 9.691 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.738e-05/0.006901, allocations: 99.19 kB / 0.5614 GB, free: 9.582 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 7.904e-05/0.00698, allocations: 39.66 kB / 0.5615 GB, free: 9.539 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.006981, allocations: 0 / 0.5615 GB, free: 9.539 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.537e-05/0.007007, allocations: 27.61 kB / 0.5615 GB, free: 9.508 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001482/0.007155, allocations: 11.98 kB / 0.5615 GB, free: 9.496 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000385/0.00754, allocations: 205.8 kB / 0.5617 GB, free: 9.27 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.387e-05/0.007574, allocations: 63.34 kB / 0.5617 GB, free: 9.188 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.924e-05/0.007603, allocations: 15.91 kB / 0.5618 GB, free: 9.172 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.26e-05/0.007645, allocations: 78.14 kB / 0.5618 GB, free: 9.094 MB / 490.7 MB Notification: Performance of SimCode: time 6.82e-07/0.007646, allocations: 0 / 0.5618 GB, free: 9.094 MB / 490.7 MB Notification: Performance of Templates: time 0.00214/0.009786, allocations: 0.7795 MB / 0.5626 GB, free: 8.328 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.5957189868204296]