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.001734/0.001734, allocations: 85.03 kB / 19.18 MB, free: 2.523 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.001479/0.001479, allocations: 166.7 kB / 22.46 MB, free: 5.359 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.531/1.531, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] 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.9825/0.9825, allocations: 110.2 MB / 369.4 MB, free: 1.16 MB / 334.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: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 0.5478 GB, free: 9.82 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.603e-05/2.724e-05, allocations: 2.281 kB / 0.5478 GB, free: 9.816 MB / 462.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Average): time 0.002732/0.002759, allocations: 1.54 MB / 0.5493 GB, free: 8.273 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003179/0.003077, allocations: 112.5 kB / 0.5494 GB, free: 8.16 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.376e-05/0.003131, allocations: 4.875 kB / 0.5494 GB, free: 8.156 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001188/0.003249, allocations: 7.922 kB / 0.5494 GB, free: 8.148 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 3.078e-05/0.00328, allocations: 16.41 kB / 0.5494 GB, free: 8.133 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002451/0.003525, allocations: 31.42 kB / 0.5494 GB, free: 8.105 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001024/0.003628, allocations: 55.83 kB / 0.5495 GB, free: 8.051 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.003732, allocations: 16 kB / 0.5495 GB, free: 8.035 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.272e-05/0.003805, allocations: 35.89 kB / 0.5495 GB, free: 8 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.491e-05/0.00388, allocations: 27.97 kB / 0.5496 GB, free: 7.973 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.991e-05/0.0039, allocations: 4 kB / 0.5496 GB, free: 7.969 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.265e-05/0.003963, allocations: 11.98 kB / 0.5496 GB, free: 7.957 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 4.431e-05/0.004007, allocations: 15.92 kB / 0.5496 GB, free: 7.941 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 3.635e-05/0.004043, allocations: 15.94 kB / 0.5496 GB, free: 7.926 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001469/0.00419, allocations: 64.94 kB / 0.5497 GB, free: 7.863 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.073e-06/0.004192, allocations: 4 kB / 0.5497 GB, free: 7.859 MB / 462.1 MB Notification: Performance of FrontEnd: time 5.71e-07/0.004193, allocations: 0 / 0.5497 GB, free: 7.859 MB / 462.1 MB Notification: Performance of Transformations before backend: time 3.476e-06/0.004196, allocations: 4 kB / 0.5497 GB, free: 7.855 MB / 462.1 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.0005378/0.004734, allocations: 310 kB / 0.55 GB, free: 7.52 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.365e-05/0.004768, allocations: 8.031 kB / 0.55 GB, free: 7.512 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.566e-05/0.004803, allocations: 4.938 kB / 0.55 GB, free: 7.508 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001753/0.004979, allocations: 121.7 kB / 0.5501 GB, free: 7.363 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.45e-05/0.004993, allocations: 8.375 kB / 0.5501 GB, free: 7.355 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.111e-05/0.005004, allocations: 384 / 0.5501 GB, free: 7.355 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002934/0.005298, allocations: 94.14 kB / 0.5502 GB, free: 7.258 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.00531, allocations: 4.172 kB / 0.5502 GB, free: 7.254 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.367e-06/0.005319, allocations: 384 / 0.5502 GB, free: 7.254 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.005323, allocations: 384 / 0.5502 GB, free: 7.254 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003368/0.00566, allocations: 83.86 kB / 0.5503 GB, free: 7.172 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005078/0.006168, allocations: 260.3 kB / 0.5505 GB, free: 6.887 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002208/0.006389, allocations: 62.53 kB / 0.5506 GB, free: 6.816 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001699/0.006558, allocations: 44.84 kB / 0.5506 GB, free: 6.77 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.185e-05/0.00659, allocations: 3.938 kB / 0.5506 GB, free: 6.766 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.351e-05/0.006624, allocations: 34.56 kB / 0.5507 GB, free: 6.723 MB / 462.1 MB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.006625, allocations: 0 / 0.5507 GB, free: 6.723 MB / 462.1 MB Notification: Performance of matching and sorting (n=3): time 0.0006146/0.00724, allocations: 149.6 kB / 0.5508 GB, free: 6.57 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.554e-05/0.007285, allocations: 51.41 kB / 0.5509 GB, free: 6.508 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.771e-05/0.007383, allocations: 113.8 kB / 0.551 GB, free: 6.387 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.007401, allocations: 25.7 kB / 0.551 GB, free: 6.355 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.131e-05/0.007462, allocations: 96.08 kB / 0.5511 GB, free: 6.258 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.838e-05/0.007481, allocations: 7.891 kB / 0.5511 GB, free: 6.25 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.779e-05/0.007519, allocations: 17.72 kB / 0.5511 GB, free: 6.227 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.007661, allocations: 322.8 kB / 0.5514 GB, free: 5.902 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001594/0.00782, allocations: 31.97 kB / 0.5515 GB, free: 5.871 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001514/0.007972, allocations: 35.95 kB / 0.5515 GB, free: 5.836 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000309/0.008281, allocations: 72.78 kB / 0.5516 GB, free: 5.762 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.008282, allocations: 4 kB / 0.5516 GB, free: 5.758 MB / 462.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003594/0.008641, allocations: 109.8 kB / 0.5517 GB, free: 5.645 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.00866, allocations: 9.875 kB / 0.5517 GB, free: 5.637 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.008664, allocations: 0 / 0.5517 GB, free: 5.637 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.008676, allocations: 0 / 0.5517 GB, free: 5.637 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001302/0.008806, allocations: 15.98 kB / 0.5517 GB, free: 5.621 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.419e-06/0.008811, allocations: 0 / 0.5517 GB, free: 5.621 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.522e-05/0.008896, allocations: 15.98 kB / 0.5517 GB, free: 5.605 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.089e-05/0.008917, allocations: 7.984 kB / 0.5517 GB, free: 5.598 MB / 462.1 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 8.804e-05/0.009005, allocations: 109.8 kB / 0.5518 GB, free: 5.48 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.474e-05/0.00904, allocations: 11.88 kB / 0.5518 GB, free: 5.469 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004176/0.009457, allocations: 121.5 kB / 0.5519 GB, free: 5.34 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.009459, allocations: 4 kB / 0.552 GB, free: 5.336 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.009463, allocations: 0 / 0.552 GB, free: 5.336 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.009466, allocations: 0 / 0.552 GB, free: 5.336 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001558/0.009622, allocations: 121.2 kB / 0.5521 GB, free: 5.188 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.009623, allocations: 0 / 0.5521 GB, free: 5.188 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001083/0.009731, allocations: 23.97 kB / 0.5521 GB, free: 5.164 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.009735, allocations: 7.875 kB / 0.5521 GB, free: 5.156 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.437e-06/0.009745, allocations: 0 / 0.5521 GB, free: 5.156 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.009746, allocations: 0 / 0.5521 GB, free: 5.156 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.009747, allocations: 0 / 0.5521 GB, free: 5.156 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004232/0.01017, allocations: 199.5 kB / 0.5523 GB, free: 4.945 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.194e-05/0.01018, allocations: 11.83 kB / 0.5523 GB, free: 4.934 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.665e-05/0.0102, allocations: 0 / 0.5523 GB, free: 4.934 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001173/0.01032, allocations: 15.98 kB / 0.5523 GB, free: 4.918 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.187e-05/0.01037, allocations: 7.984 kB / 0.5523 GB, free: 4.91 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.344e-06/0.01038, allocations: 0 / 0.5523 GB, free: 4.91 MB / 462.1 MB Notification: Performance of sorting global known variables: time 6.771e-05/0.01044, allocations: 91.7 kB / 0.5524 GB, free: 4.82 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.01044, allocations: 4 kB / 0.5524 GB, free: 4.816 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002394/0.01068, allocations: 8 kB / 0.5524 GB, free: 4.809 MB / 462.1 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.0001768/0.01086, allocations: 103.2 kB / 0.5525 GB, free: 4.699 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0004255/0.01128, allocations: 71.92 kB / 0.5526 GB, free: 4.629 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.01129, allocations: 0 / 0.5526 GB, free: 4.629 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001792/0.01147, allocations: 47.89 kB / 0.5526 GB, free: 4.582 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003745/0.01184, allocations: 12.27 kB / 0.5526 GB, free: 4.57 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004672/0.01231, allocations: 148.8 kB / 0.5528 GB, free: 4.398 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.252e-05/0.0124, allocations: 71.33 kB / 0.5529 GB, free: 4.309 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 4.3e-05/0.01244, allocations: 4 kB / 0.5529 GB, free: 4.305 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.582e-05/0.01249, allocations: 12.5 kB / 0.5529 GB, free: 4.293 MB / 462.1 MB Notification: Performance of SimCode: time 4.9e-07/0.01249, allocations: 4 kB / 0.5529 GB, free: 4.289 MB / 462.1 MB Notification: Performance of Templates: time 0.003782/0.01627, allocations: 0.8196 MB / 0.5537 GB, free: 3.488 MB / 462.1 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=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.5929665714502335] Failed to read output from testmodel.py, exit status != 0: 0.02462777867913246 0.039386986000000006 0.032101080000000004 Calling exit ...