Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average.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.001124/0.001124, allocations: 92.22 kB / 20.46 MB, free: 4.117 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.001859/0.001859, allocations: 157 kB / 23.82 MB, free: 0.7539 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.019/1.019, allocations: 177.1 MB / 204.2 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 0.6042/0.6042, allocations: 110.3 MB / 371 MB, free: 12.54 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:44:3-56:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:58:3-65:19:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:67:3-72:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:74:3-79:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/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(BuildSysPro.IBPSA.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0 / 475.2 MB, free: 15.15 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.421e-05/3.631e-05, allocations: 6.094 kB / 475.2 MB, free: 15.15 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Average): time 0.002423/0.002459, allocations: 1.584 MB / 476.8 MB, free: 14.1 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003433/0.002802, allocations: 122.3 kB / 476.9 MB, free: 14.02 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.277e-05/0.002865, allocations: 0 / 476.9 MB, free: 14.02 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001452/0.00301, allocations: 14.53 kB / 476.9 MB, free: 14.01 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 2.518e-05/0.003035, allocations: 12.39 kB / 476.9 MB, free: 14 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002353/0.003271, allocations: 28.05 kB / 476.9 MB, free: 13.99 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 8.113e-05/0.003352, allocations: 51.16 kB / 477 MB, free: 13.97 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.387e-05/0.003446, allocations: 12.75 kB / 477 MB, free: 13.97 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.943e-05/0.003505, allocations: 43.03 kB / 477 MB, free: 13.95 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.494e-05/0.00356, allocations: 18.95 kB / 477.1 MB, free: 13.95 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.791e-05/0.003578, allocations: 5.5 kB / 477.1 MB, free: 13.95 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.458e-05/0.003642, allocations: 22.42 kB / 477.1 MB, free: 13.94 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.908e-05/0.003682, allocations: 16.3 kB / 477.1 MB, free: 13.93 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.802e-05/0.00371, allocations: 17.17 kB / 477.1 MB, free: 13.92 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001215/0.003831, allocations: 47.14 kB / 477.2 MB, free: 13.9 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.003833, allocations: 0 / 477.2 MB, free: 13.9 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.91e-07/0.003834, allocations: 0 / 477.2 MB, free: 13.9 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.62e-06/0.00384, allocations: 2.562 kB / 477.2 MB, free: 13.9 MB / 410.7 MB 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.0003435/0.004183, allocations: 393.4 kB / 477.6 MB, free: 13.51 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.004219, allocations: 8.562 kB / 477.6 MB, free: 13.51 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.03e-05/0.00426, allocations: 16.02 kB / 477.6 MB, free: 13.5 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001283/0.004388, allocations: 128.8 kB / 477.7 MB, free: 13.36 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.038e-05/0.004398, allocations: 4.375 kB / 477.7 MB, free: 13.36 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.295e-05/0.004411, allocations: 11.5 kB / 477.7 MB, free: 13.35 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001478/0.004559, allocations: 70.89 kB / 477.8 MB, free: 13.3 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.004568, allocations: 1.312 kB / 477.8 MB, free: 13.3 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.004579, allocations: 8.312 kB / 477.8 MB, free: 13.29 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.004587, allocations: 3.188 kB / 477.8 MB, free: 13.29 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.721e-05/0.004624, allocations: 12.34 kB / 477.8 MB, free: 13.29 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003158/0.00494, allocations: 306.9 kB / 478.1 MB, free: 13 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.238e-05/0.005003, allocations: 34.88 kB / 478.2 MB, free: 12.96 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.554e-05/0.005028, allocations: 16.38 kB / 478.2 MB, free: 12.95 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.728e-05/0.005065, allocations: 7.047 kB / 478.2 MB, free: 12.95 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.691e-05/0.005082, allocations: 37.33 kB / 478.2 MB, free: 12.9 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/0.005083, allocations: 0 / 478.2 MB, free: 12.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001483/0.005231, allocations: 55.69 kB / 478.3 MB, free: 12.86 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.081e-05/0.005252, allocations: 54.25 kB / 478.3 MB, free: 12.8 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.368e-05/0.005306, allocations: 176 kB / 478.5 MB, free: 12.62 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.952e-06/0.005312, allocations: 25.7 kB / 478.5 MB, free: 12.59 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002406/0.005553, allocations: 133.8 kB / 478.6 MB, free: 28.46 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.09e-05/0.005573, allocations: 14.91 kB / 478.7 MB, free: 28.45 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.084e-05/0.005604, allocations: 22.19 kB / 478.7 MB, free: 28.43 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001157/0.00572, allocations: 0.4886 MB / 479.2 MB, free: 27.93 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.992e-05/0.00574, allocations: 5.844 kB / 479.2 MB, free: 27.93 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.508e-05/0.005755, allocations: 6.656 kB / 479.2 MB, free: 27.93 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.497e-05/0.00579, allocations: 13.66 kB / 479.2 MB, free: 27.91 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.005792, allocations: 0.5 kB / 479.2 MB, free: 27.91 MB / 426.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.434e-05/0.005866, allocations: 49.53 kB / 479.2 MB, free: 27.88 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.005879, allocations: 5.344 kB / 479.3 MB, free: 27.88 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.005884, allocations: 0 / 479.3 MB, free: 27.88 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.005899, allocations: 0 / 479.3 MB, free: 27.88 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.972e-05/0.005979, allocations: 11.7 kB / 479.3 MB, free: 27.88 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.005984, allocations: 4.125 kB / 479.3 MB, free: 27.88 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.466e-05/0.006009, allocations: 14.02 kB / 479.3 MB, free: 27.87 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.784e-05/0.006027, allocations: 2.688 kB / 479.3 MB, free: 27.87 MB / 426.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 (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 5.963e-05/0.006086, allocations: 161 kB / 479.4 MB, free: 27.7 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.713e-05/0.006103, allocations: 8.25 kB / 479.4 MB, free: 27.7 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.736e-05/0.006201, allocations: 51.73 kB / 479.5 MB, free: 27.66 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.006203, allocations: 3.938 kB / 479.5 MB, free: 27.65 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.006207, allocations: 3.125 kB / 479.5 MB, free: 27.65 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.00621, allocations: 0.5 kB / 479.5 MB, free: 27.65 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.268e-05/0.006292, allocations: 127.5 kB / 479.6 MB, free: 27.51 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.006294, allocations: 0.625 kB / 479.6 MB, free: 27.51 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.293e-05/0.006327, allocations: 13.02 kB / 479.6 MB, free: 27.51 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.006329, allocations: 3.938 kB / 479.6 MB, free: 27.5 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.262e-06/0.006335, allocations: 0.5938 kB / 479.6 MB, free: 27.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.006336, allocations: 2 kB / 479.6 MB, free: 27.5 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.006337, allocations: 2.531 kB / 479.7 MB, free: 27.5 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.22e-05/0.00643, allocations: 196.6 kB / 479.8 MB, free: 27.31 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.835e-06/0.006438, allocations: 15.52 kB / 479.9 MB, free: 27.3 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.979e-06/0.006447, allocations: 7.281 kB / 479.9 MB, free: 27.29 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.619e-05/0.006484, allocations: 5.125 kB / 479.9 MB, free: 27.29 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.421e-05/0.006518, allocations: 3.234 kB / 479.9 MB, free: 27.29 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.45e-06/0.006523, allocations: 3.922 kB / 479.9 MB, free: 27.29 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.102e-05/0.006564, allocations: 135.3 kB / 480 MB, free: 27.17 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.006564, allocations: 1.188 kB / 480 MB, free: 27.17 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001525/0.006717, allocations: 9.031 kB / 480 MB, free: 27.17 MB / 426.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 (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 0.000113/0.00683, allocations: 98.12 kB / 480.1 MB, free: 27.08 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 8.473e-05/0.006915, allocations: 27.86 kB / 480.1 MB, free: 27.06 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.006916, allocations: 0.8125 kB / 480.1 MB, free: 27.06 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.125e-05/0.006937, allocations: 18.27 kB / 480.2 MB, free: 27.05 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00018/0.007117, allocations: 6.312 kB / 480.2 MB, free: 27.05 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002471/0.007364, allocations: 157.5 kB / 480.3 MB, free: 26.91 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.64e-05/0.007391, allocations: 60.03 kB / 480.4 MB, free: 26.84 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.625e-05/0.007417, allocations: 9.969 kB / 480.4 MB, free: 26.84 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.49e-05/0.007442, allocations: 11.12 kB / 480.4 MB, free: 26.83 MB / 426.7 MB Notification: Performance of SimCode: time 7.12e-07/0.007443, allocations: 0 / 480.4 MB, free: 26.83 MB / 426.7 MB Notification: Performance of Templates: time 0.002328/0.009771, allocations: 0.8262 MB / 481.2 MB, free: 26.76 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7758376700803638]