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.001429/0.001429, allocations: 92.2 kB / 20.19 MB, free: 4.355 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.001617/0.001617, allocations: 169 kB / 23.49 MB, free: 1.055 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.033/1.033, allocations: 177.1 MB / 203.8 MB, free: 5.609 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.00171/0.00171, allocations: 234.4 kB / 260.5 MB, free: 12.86 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.7581/0.7581, allocations: 138.4 MB / 455.4 MB, free: 30.06 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 2.164e-06/2.164e-06, allocations: 0 / 0.555 GB, free: 0.5156 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.508e-05/2.724e-05, allocations: 2.312 kB / 0.555 GB, free: 0.5117 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.VectorFunctions): time 0.002916/0.002943, allocations: 1.65 MB / 0.5566 GB, free: 14.85 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001036/0.003979, allocations: 0.5773 MB / 0.5572 GB, free: 14.26 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.247e-05/0.004062, allocations: 7.938 kB / 0.5572 GB, free: 14.25 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001166/0.004179, allocations: 11.88 kB / 0.5572 GB, free: 14.24 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.282e-05/0.004221, allocations: 11.86 kB / 0.5572 GB, free: 14.23 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003254/0.004547, allocations: 75.72 kB / 0.5573 GB, free: 14.16 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001481/0.004695, allocations: 83.7 kB / 0.5574 GB, free: 14.07 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001495/0.004844, allocations: 31.95 kB / 0.5574 GB, free: 14.04 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001698/0.005014, allocations: 55.83 kB / 0.5575 GB, free: 13.99 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.93e-05/0.005093, allocations: 35.89 kB / 0.5575 GB, free: 13.95 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.068e-05/0.005114, allocations: 4 kB / 0.5575 GB, free: 13.95 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.653e-05/0.005191, allocations: 19.98 kB / 0.5575 GB, free: 13.93 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 4.389e-05/0.005235, allocations: 27.91 kB / 0.5575 GB, free: 13.9 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 4.046e-05/0.005275, allocations: 23.92 kB / 0.5576 GB, free: 13.88 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001651/0.00544, allocations: 79.66 kB / 0.5576 GB, free: 13.8 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.005444, allocations: 4 kB / 0.5577 GB, free: 13.8 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.005445, allocations: 0 / 0.5577 GB, free: 13.8 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.005449, allocations: 0 / 0.5577 GB, free: 13.8 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.0004882/0.005937, allocations: 432.1 kB / 0.5581 GB, free: 13.34 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.005978, allocations: 9.938 kB / 0.5581 GB, free: 13.33 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002522/0.00623, allocations: 52.75 kB / 0.5581 GB, free: 13.28 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002016/0.006432, allocations: 152.9 kB / 0.5583 GB, free: 13.11 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.453e-05/0.006446, allocations: 8.375 kB / 0.5583 GB, free: 13.1 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.622e-05/0.006463, allocations: 4.375 kB / 0.5583 GB, free: 13.09 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001873/0.00665, allocations: 86.58 kB / 0.5584 GB, free: 13 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.268e-06/0.006659, allocations: 3.938 kB / 0.5584 GB, free: 13 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.453e-05/0.006674, allocations: 7.984 kB / 0.5584 GB, free: 12.99 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.889e-06/0.006684, allocations: 3.984 kB / 0.5584 GB, free: 12.99 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.348e-05/0.006767, allocations: 31.92 kB / 0.5584 GB, free: 12.96 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004914/0.007258, allocations: 339.6 kB / 0.5587 GB, free: 12.59 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.171e-05/0.00733, allocations: 43 kB / 0.5588 GB, free: 12.54 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.206e-05/0.007372, allocations: 19.67 kB / 0.5588 GB, free: 12.51 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.395e-05/0.007406, allocations: 4 kB / 0.5588 GB, free: 12.51 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.55e-05/0.007432, allocations: 37.52 kB / 0.5588 GB, free: 12.46 MB / 490.7 MB Notification: Performance of pre-optimization done (n=6): time 1.372e-06/0.007433, allocations: 0 / 0.5588 GB, free: 12.46 MB / 490.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002408/0.007674, allocations: 85.56 kB / 0.5589 GB, free: 12.37 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.821e-05/0.007712, allocations: 51.41 kB / 0.559 GB, free: 12.31 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001181/0.00783, allocations: 197.6 kB / 0.5592 GB, free: 12.1 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.644e-05/0.007847, allocations: 33.7 kB / 0.5592 GB, free: 12.06 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.738e-05/0.007914, allocations: 154.9 kB / 0.5593 GB, free: 11.91 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.858e-05/0.007943, allocations: 19.84 kB / 0.5594 GB, free: 11.89 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.241e-05/0.007985, allocations: 23.38 kB / 0.5594 GB, free: 11.86 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.00812, allocations: 0.4923 MB / 0.5599 GB, free: 11.35 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.488e-05/0.008155, allocations: 8 kB / 0.5599 GB, free: 11.34 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.964e-05/0.008184, allocations: 11.98 kB / 0.5599 GB, free: 11.33 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.101e-05/0.008255, allocations: 27.69 kB / 0.5599 GB, free: 11.3 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.008257, allocations: 0 / 0.5599 GB, free: 11.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001346/0.008392, allocations: 77.56 kB / 0.56 GB, free: 11.22 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.008405, allocations: 4 kB / 0.56 GB, free: 11.21 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.00841, allocations: 4 kB / 0.56 GB, free: 11.21 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.008425, allocations: 4 kB / 0.56 GB, free: 11.21 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001041/0.008529, allocations: 11.98 kB / 0.56 GB, free: 11.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.714e-06/0.008537, allocations: 7.938 kB / 0.56 GB, free: 11.19 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.284e-05/0.00858, allocations: 7.953 kB / 0.56 GB, free: 11.18 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.909e-05/0.008599, allocations: 7.984 kB / 0.56 GB, free: 11.17 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 9.016e-05/0.008689, allocations: 156.6 kB / 0.5602 GB, free: 11.01 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.416e-05/0.008723, allocations: 12.33 kB / 0.5602 GB, free: 11 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001952/0.008918, allocations: 94.38 kB / 0.5603 GB, free: 10.9 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.008922, allocations: 8 kB / 0.5603 GB, free: 10.89 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.008926, allocations: 3.938 kB / 0.5603 GB, free: 10.89 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.008929, allocations: 0 / 0.5603 GB, free: 10.89 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001648/0.009094, allocations: 144.6 kB / 0.5604 GB, free: 10.71 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.009097, allocations: 4 kB / 0.5604 GB, free: 10.71 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.1e-05/0.009168, allocations: 11.98 kB / 0.5604 GB, free: 10.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.009171, allocations: 4 kB / 0.5604 GB, free: 10.69 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.009181, allocations: 3.984 kB / 0.5604 GB, free: 10.69 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.009183, allocations: 0 / 0.5604 GB, free: 10.69 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.009184, allocations: 0 / 0.5604 GB, free: 10.69 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000178/0.009362, allocations: 219.8 kB / 0.5607 GB, free: 10.45 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.273e-05/0.009375, allocations: 15.91 kB / 0.5607 GB, free: 10.44 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.986e-05/0.009395, allocations: 7.984 kB / 0.5607 GB, free: 10.43 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.241e-05/0.009467, allocations: 4 kB / 0.5607 GB, free: 10.43 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.781e-05/0.009515, allocations: 7.984 kB / 0.5607 GB, free: 10.42 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.047e-05/0.009526, allocations: 3.938 kB / 0.5607 GB, free: 10.41 MB / 490.7 MB Notification: Performance of sorting global known variables: time 7.421e-05/0.0096, allocations: 151.2 kB / 0.5608 GB, free: 10.27 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.0096, allocations: 0 / 0.5608 GB, free: 10.27 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002651/0.009865, allocations: 12 kB / 0.5608 GB, free: 10.25 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 0.0001298/0.009995, allocations: 99.19 kB / 0.5609 GB, free: 10.14 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.000131/0.01013, allocations: 43.67 kB / 0.561 GB, free: 10.1 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.01013, allocations: 0 / 0.561 GB, free: 10.1 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 4.619e-05/0.01017, allocations: 31.61 kB / 0.561 GB, free: 10.06 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002533/0.01043, allocations: 8 kB / 0.561 GB, free: 10.05 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006379/0.01106, allocations: 217 kB / 0.5612 GB, free: 9.82 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.715e-05/0.01111, allocations: 63.34 kB / 0.5613 GB, free: 9.738 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 5.76e-05/0.01117, allocations: 11.98 kB / 0.5613 GB, free: 9.727 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.409e-05/0.0112, allocations: 12.5 kB / 0.5613 GB, free: 9.715 MB / 490.7 MB Notification: Performance of SimCode: time 9.01e-07/0.0112, allocations: 4 kB / 0.5613 GB, free: 9.711 MB / 490.7 MB Notification: Performance of Templates: time 0.003093/0.0143, allocations: 0.7286 MB / 0.562 GB, free: 8.992 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.844927747035399]