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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001193/0.001193, allocations: 113.4 kB / 17.13 MB, free: 5.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001195/0.001195, allocations: 192.6 kB / 20.08 MB, free: 2.98 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.332/1.332, allocations: 225.6 MB / 248.5 MB, free: 3.598 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00253/0.00253, allocations: 285.1 kB / 303.6 MB, free: 3.676 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9793/0.9793, allocations: 180.9 MB / 0.5268 GB, free: 2.691 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(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 0.002719/0.002719, allocations: 107.8 kB / 0.7259 GB, free: 8.852 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4881/0.4908, allocations: 94.15 MB / 0.8179 GB, free: 7.445 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.VectorFunctions): time 0.002443/0.4933, allocations: 1.599 MB / 0.8194 GB, free: 6.332 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0006814/0.494, allocations: 0.5125 MB / 0.8199 GB, free: 5.973 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.02e-05/0.494, allocations: 2.594 kB / 0.8199 GB, free: 5.973 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 8.16e-05/0.4941, allocations: 15.16 kB / 0.82 GB, free: 5.961 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 2.785e-05/0.4941, allocations: 13.95 kB / 0.82 GB, free: 5.949 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001689/0.4943, allocations: 41.56 kB / 0.82 GB, free: 5.926 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 9.491e-05/0.4944, allocations: 85.2 kB / 0.8201 GB, free: 5.887 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001157/0.4945, allocations: 31.88 kB / 0.8201 GB, free: 5.875 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 7.279e-05/0.4946, allocations: 34.66 kB / 0.8202 GB, free: 5.859 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.253e-05/0.4946, allocations: 50.92 kB / 0.8202 GB, free: 5.832 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.573e-05/0.4946, allocations: 8.656 kB / 0.8202 GB, free: 5.828 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 4.899e-05/0.4947, allocations: 17.05 kB / 0.8202 GB, free: 5.824 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 3.017e-05/0.4947, allocations: 20.67 kB / 0.8202 GB, free: 5.812 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.748e-05/0.4948, allocations: 41.28 kB / 0.8203 GB, free: 5.785 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000112/0.4949, allocations: 84.48 kB / 0.8204 GB, free: 5.754 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.4949, allocations: 0 / 0.8204 GB, free: 5.754 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.383e-06/0.4949, allocations: 0 / 0.8204 GB, free: 5.754 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.4949, allocations: 0 / 0.8204 GB, free: 5.754 MB / 0.5762 GB 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.0003986/0.4953, allocations: 406.5 kB / 0.8208 GB, free: 5.355 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 2.98e-05/0.4953, allocations: 9.031 kB / 0.8208 GB, free: 5.355 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.525e-05/0.4953, allocations: 9.734 kB / 0.8208 GB, free: 5.352 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001087/0.4955, allocations: 202.5 kB / 0.821 GB, free: 5.133 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.799e-06/0.4955, allocations: 6.344 kB / 0.821 GB, free: 5.129 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.398e-05/0.4955, allocations: 8.469 kB / 0.821 GB, free: 5.125 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002134/0.4957, allocations: 112.4 kB / 0.8211 GB, free: 5.07 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.4957, allocations: 0 / 0.8211 GB, free: 5.07 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.4957, allocations: 4.875 kB / 0.8211 GB, free: 5.066 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.4957, allocations: 5.625 kB / 0.8211 GB, free: 5.062 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002093/0.4959, allocations: 91.56 kB / 0.8212 GB, free: 5.047 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004295/0.4964, allocations: 372.8 kB / 0.8215 GB, free: 4.738 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001267/0.4965, allocations: 61.22 kB / 0.8216 GB, free: 4.699 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001014/0.4966, allocations: 54.25 kB / 0.8216 GB, free: 4.676 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.081e-05/0.4966, allocations: 10.77 kB / 0.8217 GB, free: 4.668 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/0.4966, allocations: 31.94 kB / 0.8217 GB, free: 4.629 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=6): time 1.062e-06/0.4966, allocations: 0 / 0.8217 GB, free: 4.629 MB / 0.5762 GB Notification: Performance of matching and sorting (n=6): time 0.0004549/0.4971, allocations: 164.7 kB / 0.8218 GB, free: 4.562 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.427e-05/0.4971, allocations: 55.7 kB / 0.8219 GB, free: 4.5 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.718e-05/0.4972, allocations: 134.1 kB / 0.822 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.02e-05/0.4972, allocations: 26.61 kB / 0.8221 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.661e-05/0.4972, allocations: 115.2 kB / 0.8222 GB, free: 4.25 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.971e-05/0.4973, allocations: 14 kB / 0.8222 GB, free: 4.238 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.836e-05/0.4973, allocations: 23.31 kB / 0.8222 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.103e-05/0.4973, allocations: 317 kB / 0.8225 GB, free: 3.902 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001095/0.4975, allocations: 44.06 kB / 0.8225 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001016/0.4976, allocations: 41.5 kB / 0.8226 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002079/0.4978, allocations: 88.55 kB / 0.8227 GB, free: 3.852 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.4978, allocations: 0 / 0.8227 GB, free: 3.852 MB / 0.5762 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002509/0.498, allocations: 126.9 kB / 0.8228 GB, free: 3.793 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/0.498, allocations: 7.031 kB / 0.8228 GB, free: 3.793 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.498, allocations: 1.719 kB / 0.8228 GB, free: 3.793 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.498, allocations: 0 / 0.8228 GB, free: 3.793 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001246/0.4982, allocations: 22.41 kB / 0.8228 GB, free: 3.789 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.4982, allocations: 7.875 kB / 0.8228 GB, free: 3.781 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.744e-05/0.4982, allocations: 12.05 kB / 0.8228 GB, free: 3.777 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.066e-05/0.4983, allocations: 8.016 kB / 0.8228 GB, free: 3.773 MB / 0.5762 GB 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.942e-05/0.4983, allocations: 121.2 kB / 0.823 GB, free: 3.652 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.096e-05/0.4984, allocations: 8.594 kB / 0.823 GB, free: 3.648 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003255/0.4987, allocations: 139.6 kB / 0.8231 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.4987, allocations: 8.375 kB / 0.8231 GB, free: 3.578 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.4987, allocations: 0.7969 kB / 0.8231 GB, free: 3.578 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.4987, allocations: 0 / 0.8231 GB, free: 3.578 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001727/0.4989, allocations: 202.4 kB / 0.8233 GB, free: 3.371 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.4989, allocations: 6.625 kB / 0.8233 GB, free: 3.367 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.899e-05/0.499, allocations: 23.59 kB / 0.8233 GB, free: 3.359 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.499, allocations: 1.094 kB / 0.8233 GB, free: 3.359 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.499, allocations: 4.875 kB / 0.8233 GB, free: 3.359 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.499, allocations: 3.938 kB / 0.8233 GB, free: 3.355 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.499, allocations: 0.5625 kB / 0.8233 GB, free: 3.355 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000259/0.4992, allocations: 224.4 kB / 0.8236 GB, free: 3.195 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.964e-05/0.4993, allocations: 85.75 kB / 0.8236 GB, free: 3.094 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.632e-05/0.4993, allocations: 2.781 kB / 0.8236 GB, free: 3.094 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.713e-05/0.4994, allocations: 9.922 kB / 0.8236 GB, free: 3.09 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.607e-05/0.4994, allocations: 8.109 kB / 0.8237 GB, free: 3.09 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.049e-05/0.4994, allocations: 5.594 kB / 0.8237 GB, free: 3.086 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.035e-05/0.4995, allocations: 99.88 kB / 0.8238 GB, free: 3.008 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.4995, allocations: 0 / 0.8238 GB, free: 3.008 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002245/0.4997, allocations: 21.2 kB / 0.8238 GB, free: 3 MB / 0.5762 GB 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.0001069/0.4998, allocations: 106.2 kB / 0.8239 GB, free: 2.906 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002624/0.5001, allocations: 92.62 kB / 0.824 GB, free: 2.891 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.5001, allocations: 0 / 0.824 GB, free: 2.891 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001103/0.5002, allocations: 53.17 kB / 0.824 GB, free: 2.879 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002034/0.5004, allocations: 9.531 kB / 0.824 GB, free: 2.875 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003654/0.5007, allocations: 240.1 kB / 0.8243 GB, free: 2.688 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001119/0.5009, allocations: 0.7026 MB / 0.8249 GB, free: 1.988 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.94e-05/0.5009, allocations: 15.09 kB / 0.825 GB, free: 1.984 MB / 0.5762 GB Notification: Performance of SimCode: time 2.9e-07/0.5009, allocations: 0 / 0.825 GB, free: 1.984 MB / 0.5762 GB Notification: Performance of Templates: time 0.002697/0.5036, allocations: 1.135 MB / 0.8261 GB, free: 1.875 MB / 0.5762 GB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.82647578115575] Failed to read output from testmodel.py, exit status != 0: 0.5105692229699343 0.521859166 0.024268775000000003 Calling exit ...