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.00146/0.00146, allocations: 77.55 kB / 19.76 MB, free: 2.027 MB / 14.72 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.00147/0.00147, allocations: 158.6 kB / 23.01 MB, free: 4.949 MB / 14.72 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.327/1.327, allocations: 177.2 MB / 203.4 MB, free: 8.965 MB / 190.1 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.8364/0.8364, allocations: 110.3 MB / 370.1 MB, free: 15.69 MB / 350.1 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: BuildSysPro requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002033/0.002033, allocations: 75.88 kB / 0.5483 GB, free: 13.3 MB / 0.5137 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.1409/0.1429, allocations: 87.85 MB / 0.6341 GB, free: 5.289 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Average): time 0.002724/0.1457, allocations: 1.555 MB / 0.6356 GB, free: 3.723 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0003082/0.146, allocations: 116.5 kB / 0.6357 GB, free: 3.605 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.23e-05/0.146, allocations: 3.938 kB / 0.6357 GB, free: 3.602 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0001058/0.1461, allocations: 15.86 kB / 0.6358 GB, free: 3.586 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 2.448e-05/0.1462, allocations: 3.938 kB / 0.6358 GB, free: 3.582 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.000207/0.1464, allocations: 27.91 kB / 0.6358 GB, free: 3.555 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001/0.1465, allocations: 55.89 kB / 0.6358 GB, free: 3.5 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.1466, allocations: 15.98 kB / 0.6359 GB, free: 3.484 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 5.201e-05/0.1466, allocations: 23.92 kB / 0.6359 GB, free: 3.461 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 6.879e-05/0.1467, allocations: 31.84 kB / 0.6359 GB, free: 3.43 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.807e-05/0.1467, allocations: 8 kB / 0.6359 GB, free: 3.422 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 5.545e-05/0.1468, allocations: 11.98 kB / 0.6359 GB, free: 3.41 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 4.136e-05/0.1468, allocations: 19.92 kB / 0.6359 GB, free: 3.391 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 3.319e-05/0.1468, allocations: 15.92 kB / 0.636 GB, free: 3.375 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0001294/0.147, allocations: 59.69 kB / 0.636 GB, free: 3.316 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.147, allocations: 3.984 kB / 0.636 GB, free: 3.312 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.052e-06/0.147, allocations: 0 / 0.636 GB, free: 3.312 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.075e-06/0.147, allocations: 4 kB / 0.636 GB, free: 3.309 MB / 0.5919 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.0005059/0.1475, allocations: 302.1 kB / 0.6363 GB, free: 2.98 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.109e-05/0.1475, allocations: 8.031 kB / 0.6363 GB, free: 2.973 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.158e-05/0.1475, allocations: 8.891 kB / 0.6363 GB, free: 2.965 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001754/0.1477, allocations: 138.3 kB / 0.6365 GB, free: 2.805 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.204e-06/0.1477, allocations: 4.375 kB / 0.6365 GB, free: 2.801 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.478e-05/0.1477, allocations: 4.375 kB / 0.6365 GB, free: 2.797 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000271/0.148, allocations: 90.14 kB / 0.6366 GB, free: 2.703 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.148, allocations: 192 / 0.6366 GB, free: 2.703 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.323e-05/0.148, allocations: 7.938 kB / 0.6366 GB, free: 2.695 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.148, allocations: 0 / 0.6366 GB, free: 2.695 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003208/0.1484, allocations: 83.91 kB / 0.6366 GB, free: 2.613 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004765/0.1488, allocations: 256.4 kB / 0.6369 GB, free: 2.332 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002039/0.149, allocations: 66.52 kB / 0.637 GB, free: 2.258 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001551/0.1492, allocations: 40.91 kB / 0.637 GB, free: 2.215 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.85e-05/0.1492, allocations: 0 / 0.637 GB, free: 2.215 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.272e-05/0.1492, allocations: 30.56 kB / 0.637 GB, free: 2.176 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=3): time 8.01e-07/0.1492, allocations: 96 / 0.637 GB, free: 2.176 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3): time 0.0005533/0.1498, allocations: 145.5 kB / 0.6372 GB, free: 2.027 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.362e-05/0.1498, allocations: 51.41 kB / 0.6372 GB, free: 1.965 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.774e-05/0.1499, allocations: 113.8 kB / 0.6373 GB, free: 1.844 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.813e-05/0.15, allocations: 29.7 kB / 0.6373 GB, free: 1.809 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 5.532e-05/0.15, allocations: 96.03 kB / 0.6374 GB, free: 1.711 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.73e-05/0.15, allocations: 15.83 kB / 0.6375 GB, free: 1.695 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.044e-05/0.1501, allocations: 17.72 kB / 0.6375 GB, free: 1.672 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.1502, allocations: 318.8 kB / 0.6378 GB, free: 1.352 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001504/0.1504, allocations: 35.95 kB / 0.6378 GB, free: 1.316 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001409/0.1505, allocations: 31.97 kB / 0.6378 GB, free: 1.285 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002932/0.1508, allocations: 84.7 kB / 0.6379 GB, free: 1.199 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1508, allocations: 0 / 0.6379 GB, free: 1.199 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003281/0.1511, allocations: 97.62 kB / 0.638 GB, free: 1.098 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.1511, allocations: 8 kB / 0.638 GB, free: 1.09 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.945e-06/0.1511, allocations: 0 / 0.638 GB, free: 1.09 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.1512, allocations: 0 / 0.638 GB, free: 1.09 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001228/0.1513, allocations: 19.97 kB / 0.638 GB, free: 1.07 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.958e-06/0.1513, allocations: 0 / 0.638 GB, free: 1.07 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.704e-05/0.1514, allocations: 11.98 kB / 0.6381 GB, free: 1.059 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.677e-05/0.1514, allocations: 4 kB / 0.6381 GB, free: 1.055 MB / 0.5919 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 9.121e-05/0.1515, allocations: 118.9 kB / 0.6382 GB, free: 0.9297 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.602e-05/0.1515, allocations: 3.953 kB / 0.6382 GB, free: 0.9258 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003733/0.1519, allocations: 121.5 kB / 0.6383 GB, free: 0.7969 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.1519, allocations: 0 / 0.6383 GB, free: 0.7969 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.1519, allocations: 0 / 0.6383 GB, free: 0.7969 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.983e-06/0.1519, allocations: 4 kB / 0.6383 GB, free: 0.793 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001525/0.152, allocations: 129.2 kB / 0.6384 GB, free: 0.6367 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.152, allocations: 0 / 0.6384 GB, free: 0.6367 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.61e-05/0.1521, allocations: 15.98 kB / 0.6384 GB, free: 0.6211 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.1521, allocations: 0 / 0.6384 GB, free: 0.6211 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.1521, allocations: 0 / 0.6384 GB, free: 0.6211 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.1521, allocations: 0 / 0.6384 GB, free: 0.6211 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1521, allocations: 0 / 0.6384 GB, free: 0.6211 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000389/0.1525, allocations: 215.7 kB / 0.6386 GB, free: 404 kB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 7.093e-06/0.1525, allocations: 0 / 0.6386 GB, free: 404 kB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.413e-05/0.1525, allocations: 4 kB / 0.6386 GB, free: 400 kB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001084/0.1527, allocations: 15.97 kB / 0.6387 GB, free: 384 kB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.687e-05/0.1527, allocations: 8.031 kB / 0.6387 GB, free: 376 kB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.533e-06/0.1527, allocations: 0 / 0.6387 GB, free: 376 kB / 0.5919 GB Notification: Performance of sorting global known variables: time 5.73e-05/0.1528, allocations: 95.2 kB / 0.6388 GB, free: 280 kB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.1528, allocations: 0 / 0.6388 GB, free: 280 kB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002321/0.153, allocations: 11.95 kB / 0.6388 GB, free: 268 kB / 0.5919 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 0.0001205/0.1531, allocations: 111.2 kB / 0.6389 GB, free: 144 kB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003462/0.1535, allocations: 75.91 kB / 0.6389 GB, free: 68 kB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.1535, allocations: 0 / 0.6389 GB, free: 68 kB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001626/0.1536, allocations: 43.89 kB / 0.639 GB, free: 24 kB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002566/0.1539, allocations: 11.94 kB / 0.639 GB, free: 12 kB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003167/0.1542, allocations: 145.5 kB / 0.6391 GB, free: 15.84 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.89e-05/0.1543, allocations: 79.95 kB / 0.6392 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.064e-05/0.1543, allocations: 7.984 kB / 0.6392 GB, free: 15.74 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.405e-05/0.1543, allocations: 8.5 kB / 0.6392 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of SimCode: time 3.5e-07/0.1543, allocations: 0 / 0.6392 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of Templates: time 0.003059/0.1574, allocations: 0.8204 MB / 0.64 GB, free: 14.93 MB / 0.6075 GB " [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=480 -s ida -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.925289817969315] Failed to read output from testmodel.py, exit status != 0: 0.16545254399534315 0.17925136 0.029383230000000003 Calling exit ...