Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.Average.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.001461/0.001461, allocations: 118 kB / 17.13 MB, free: 5.941 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.001467/0.001467, allocations: 197.2 kB / 20.08 MB, free: 3.008 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.38/1.38, allocations: 225.6 MB / 248.5 MB, free: 3.594 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.002424/0.002424, allocations: 278.6 kB / 303.6 MB, free: 3.742 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 1.07/1.07, allocations: 180.9 MB / 0.5268 GB, free: 2.625 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.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Average") translateModel(BuildingSystems.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Average") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002999/0.002999, allocations: 103.8 kB / 0.7259 GB, free: 8.781 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4958/0.4988, allocations: 94.15 MB / 0.8179 GB, free: 7.418 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Average): time 0.002156/0.501, allocations: 1.558 MB / 0.8194 GB, free: 6.336 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0002669/0.5012, allocations: 116.1 kB / 0.8195 GB, free: 6.254 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.436e-05/0.5013, allocations: 0.875 kB / 0.8195 GB, free: 6.254 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001034/0.5014, allocations: 5.516 kB / 0.8195 GB, free: 6.25 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 2.072e-05/0.5014, allocations: 12.03 kB / 0.8195 GB, free: 6.242 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000188/0.5016, allocations: 27.11 kB / 0.8195 GB, free: 6.23 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 8.109e-05/0.5017, allocations: 60.31 kB / 0.8196 GB, free: 6.203 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.5018, allocations: 17.28 kB / 0.8196 GB, free: 6.199 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.575e-05/0.5018, allocations: 38 kB / 0.8197 GB, free: 6.176 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.028e-05/0.5019, allocations: 26.44 kB / 0.8197 GB, free: 6.168 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.482e-05/0.5019, allocations: 4.375 kB / 0.8197 GB, free: 6.168 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 4.825e-05/0.5019, allocations: 12 kB / 0.8197 GB, free: 6.164 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 3.503e-05/0.502, allocations: 16.7 kB / 0.8197 GB, free: 6.156 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.982e-05/0.502, allocations: 24.77 kB / 0.8197 GB, free: 6.141 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001043/0.5021, allocations: 61.33 kB / 0.8198 GB, free: 6.117 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.5021, allocations: 0 / 0.8198 GB, free: 6.117 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.102e-06/0.5021, allocations: 0 / 0.8198 GB, free: 6.117 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.598e-06/0.5021, allocations: 0 / 0.8198 GB, free: 6.117 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000403/0.5025, allocations: 386.5 kB / 0.8202 GB, free: 5.73 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.158e-05/0.5025, allocations: 14.03 kB / 0.8202 GB, free: 5.727 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.761e-05/0.5026, allocations: 3.375 kB / 0.8202 GB, free: 5.727 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001155/0.5027, allocations: 189.2 kB / 0.8204 GB, free: 5.516 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.761e-06/0.5027, allocations: 5.25 kB / 0.8204 GB, free: 5.516 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.491e-05/0.5027, allocations: 6.719 kB / 0.8204 GB, free: 5.512 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002267/0.5029, allocations: 88.08 kB / 0.8205 GB, free: 5.465 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.5029, allocations: 192 / 0.8205 GB, free: 5.465 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.817e-06/0.5029, allocations: 3.938 kB / 0.8205 GB, free: 5.461 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.5029, allocations: 1.25 kB / 0.8205 GB, free: 5.461 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002564/0.5032, allocations: 86.17 kB / 0.8205 GB, free: 5.445 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003921/0.5036, allocations: 324.4 kB / 0.8208 GB, free: 5.152 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001635/0.5038, allocations: 60.12 kB / 0.8209 GB, free: 5.117 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001267/0.5039, allocations: 40.34 kB / 0.8209 GB, free: 5.105 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.584e-05/0.5039, allocations: 2.188 kB / 0.8209 GB, free: 5.105 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.017e-05/0.5039, allocations: 35.41 kB / 0.821 GB, free: 5.062 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.5039, allocations: 0 / 0.821 GB, free: 5.062 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.000468/0.5044, allocations: 138.8 kB / 0.8211 GB, free: 5.012 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.701e-05/0.5044, allocations: 59.41 kB / 0.8212 GB, free: 4.941 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.822e-05/0.5045, allocations: 112.2 kB / 0.8213 GB, free: 4.84 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.524e-06/0.5045, allocations: 25.7 kB / 0.8213 GB, free: 4.809 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 2.623e-05/0.5045, allocations: 101.4 kB / 0.8214 GB, free: 4.711 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.412e-05/0.5045, allocations: 10.73 kB / 0.8214 GB, free: 4.703 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.767e-05/0.5045, allocations: 15.7 kB / 0.8214 GB, free: 4.688 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.625e-05/0.5046, allocations: 320.1 kB / 0.8217 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001262/0.5047, allocations: 37.33 kB / 0.8218 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001127/0.5048, allocations: 37.5 kB / 0.8218 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002234/0.505, allocations: 70.28 kB / 0.8219 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.505, allocations: 0 / 0.8219 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002737/0.5053, allocations: 114.7 kB / 0.822 GB, free: 4.281 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/0.5053, allocations: 4.656 kB / 0.822 GB, free: 4.281 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.945e-06/0.5053, allocations: 1.219 kB / 0.822 GB, free: 4.281 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.5053, allocations: 0.5156 kB / 0.822 GB, free: 4.281 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001086/0.5055, allocations: 20.95 kB / 0.822 GB, free: 4.277 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.5055, allocations: 0 / 0.822 GB, free: 4.277 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.647e-05/0.5055, allocations: 11.11 kB / 0.822 GB, free: 4.277 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.498e-05/0.5055, allocations: 10.16 kB / 0.822 GB, free: 4.27 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 (3): * Single equations (assignments): 3 * 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 4.443e-05/0.5056, allocations: 119.3 kB / 0.8221 GB, free: 4.148 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.503e-05/0.5056, allocations: 3.562 kB / 0.8221 GB, free: 4.148 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003229/0.5059, allocations: 109.4 kB / 0.8222 GB, free: 4.098 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.5059, allocations: 4.453 kB / 0.8222 GB, free: 4.094 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.5059, allocations: 5 kB / 0.8223 GB, free: 4.09 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.5059, allocations: 0.5156 kB / 0.8223 GB, free: 4.09 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001295/0.5061, allocations: 189.3 kB / 0.8224 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.5061, allocations: 1.875 kB / 0.8224 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.778e-05/0.5062, allocations: 15.89 kB / 0.8224 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.512e-06/0.5062, allocations: 0 / 0.8224 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.204e-06/0.5062, allocations: 0.7812 kB / 0.8225 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.5062, allocations: 0.7969 kB / 0.8225 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.5062, allocations: 0.8438 kB / 0.8225 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002957/0.5065, allocations: 204.9 kB / 0.8226 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.777e-05/0.5065, allocations: 83.62 kB / 0.8227 GB, free: 3.633 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.284e-05/0.5065, allocations: 0 / 0.8227 GB, free: 3.633 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/0.5066, allocations: 12.23 kB / 0.8227 GB, free: 3.633 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.668e-05/0.5066, allocations: 7.875 kB / 0.8227 GB, free: 3.629 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.873e-06/0.5066, allocations: 1.719 kB / 0.8227 GB, free: 3.629 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.158e-05/0.5067, allocations: 102 kB / 0.8228 GB, free: 3.539 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7.1e-08/0.5067, allocations: 1.219 kB / 0.8228 GB, free: 3.539 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002276/0.5069, allocations: 13.84 kB / 0.8229 GB, free: 3.535 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 (3): * Single equations (assignments): 3 * 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.192e-05/0.507, allocations: 100.9 kB / 0.823 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000311/0.5073, allocations: 77.44 kB / 0.823 GB, free: 3.434 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.5073, allocations: 0 / 0.823 GB, free: 3.434 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001366/0.5074, allocations: 37.39 kB / 0.8231 GB, free: 3.43 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002427/0.5077, allocations: 10.27 kB / 0.8231 GB, free: 3.426 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002805/0.508, allocations: 182.7 kB / 0.8232 GB, free: 3.262 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001056/0.5081, allocations: 0.7002 MB / 0.8239 GB, free: 2.555 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.462e-05/0.5081, allocations: 10.5 kB / 0.8239 GB, free: 2.547 MB / 0.5762 GB Notification: Performance of SimCode: time 2.7e-07/0.5081, allocations: 0 / 0.8239 GB, free: 2.547 MB / 0.5762 GB Notification: Performance of Templates: time 0.002374/0.5105, allocations: 0.9332 MB / 0.8249 GB, free: 2.477 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Average.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Average.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.Average.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.Average.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.Average.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.Average -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Average.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.077705464005703] Failed to read output from testmodel.py, exit status != 0: 0.5176117130031344 0.5283029570000001 0.02328983 Calling exit ...