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.0008059/0.0008059, allocations: 80.48 kB / 19.93 MB, free: 4.629 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.0007902/0.0007902, allocations: 177.9 kB / 23.21 MB, free: 1.348 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 0.8162/0.8162, allocations: 177.1 MB / 203.5 MB, free: 5.754 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.4956/0.4956, allocations: 110.2 MB / 370.2 MB, free: 12.66 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 1.282e-06/1.282e-06, allocations: 0 / 0.5485 GB, free: 9.355 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.073e-05/2.201e-05, allocations: 2.281 kB / 0.5485 GB, free: 9.352 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Average): time 0.001823/0.001845, allocations: 1.54 MB / 0.55 GB, free: 7.801 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0002541/0.002099, allocations: 124.4 kB / 0.5501 GB, free: 7.676 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.272e-05/0.002142, allocations: 4 kB / 0.5501 GB, free: 7.672 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0001024/0.002244, allocations: 3.938 kB / 0.5501 GB, free: 7.668 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 1.756e-05/0.002262, allocations: 7.875 kB / 0.5502 GB, free: 7.66 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.00023/0.002492, allocations: 31.95 kB / 0.5502 GB, free: 7.629 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 8.064e-05/0.002572, allocations: 51.84 kB / 0.5502 GB, free: 7.578 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 9.698e-05/0.002669, allocations: 23.91 kB / 0.5503 GB, free: 7.555 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 5.838e-05/0.002728, allocations: 31.92 kB / 0.5503 GB, free: 7.523 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 5.221e-05/0.00278, allocations: 19.97 kB / 0.5503 GB, free: 7.504 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.644e-05/0.002796, allocations: 8 kB / 0.5503 GB, free: 7.496 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 5.236e-05/0.002849, allocations: 11.98 kB / 0.5503 GB, free: 7.484 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 3.715e-05/0.002886, allocations: 23.91 kB / 0.5503 GB, free: 7.461 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 2.427e-05/0.00291, allocations: 15.94 kB / 0.5504 GB, free: 7.445 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001097/0.00302, allocations: 63.78 kB / 0.5504 GB, free: 7.383 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.943e-06/0.003022, allocations: 3.938 kB / 0.5504 GB, free: 7.379 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.984e-06/0.003024, allocations: 4 kB / 0.5504 GB, free: 7.375 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.607e-06/0.003027, allocations: 0 / 0.5504 GB, free: 7.375 MB / 0.5105 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.0003662/0.003393, allocations: 306 kB / 0.5507 GB, free: 7.043 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.286e-05/0.003426, allocations: 8.031 kB / 0.5507 GB, free: 7.035 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.992e-05/0.003456, allocations: 8.891 kB / 0.5507 GB, free: 7.027 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001209/0.003577, allocations: 133.7 kB / 0.5509 GB, free: 6.871 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.405e-06/0.003586, allocations: 4.312 kB / 0.5509 GB, free: 6.867 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.428e-06/0.003595, allocations: 4.375 kB / 0.5509 GB, free: 6.863 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000169/0.003764, allocations: 90.19 kB / 0.551 GB, free: 6.77 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.423e-06/0.003771, allocations: 192 / 0.551 GB, free: 6.77 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.426e-06/0.00378, allocations: 384 / 0.551 GB, free: 6.77 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.918e-06/0.003784, allocations: 384 / 0.551 GB, free: 6.77 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001478/0.003932, allocations: 87.86 kB / 0.551 GB, free: 6.684 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003201/0.004252, allocations: 256.4 kB / 0.5513 GB, free: 6.402 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001121/0.004364, allocations: 58.53 kB / 0.5513 GB, free: 6.336 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.276e-05/0.004437, allocations: 44.94 kB / 0.5514 GB, free: 6.289 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.759e-05/0.004464, allocations: 7.938 kB / 0.5514 GB, free: 6.281 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.813e-05/0.004482, allocations: 34.56 kB / 0.5514 GB, free: 6.238 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=3): time 8.71e-07/0.004483, allocations: 0 / 0.5514 GB, free: 6.238 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3): time 0.0002905/0.004774, allocations: 133.5 kB / 0.5516 GB, free: 6.102 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.572e-05/0.004799, allocations: 55.41 kB / 0.5516 GB, free: 6.035 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.037e-05/0.00486, allocations: 121.8 kB / 0.5517 GB, free: 5.906 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.056e-05/0.00487, allocations: 25.7 kB / 0.5517 GB, free: 5.875 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.495e-05/0.004905, allocations: 96.03 kB / 0.5518 GB, free: 5.777 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.72e-05/0.004922, allocations: 7.953 kB / 0.5518 GB, free: 5.77 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.751e-05/0.00495, allocations: 17.7 kB / 0.5519 GB, free: 5.746 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.34e-05/0.005023, allocations: 318.8 kB / 0.5522 GB, free: 5.426 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.096e-05/0.005094, allocations: 31.95 kB / 0.5522 GB, free: 5.395 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.298e-05/0.005157, allocations: 39.91 kB / 0.5522 GB, free: 5.355 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001263/0.005284, allocations: 68.78 kB / 0.5523 GB, free: 5.285 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.005286, allocations: 4 kB / 0.5523 GB, free: 5.281 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001563/0.005442, allocations: 105.5 kB / 0.5524 GB, free: 5.172 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.005455, allocations: 12 kB / 0.5524 GB, free: 5.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.487e-06/0.005459, allocations: 0 / 0.5524 GB, free: 5.16 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.00547, allocations: 0 / 0.5524 GB, free: 5.16 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.071e-05/0.005541, allocations: 19.92 kB / 0.5524 GB, free: 5.141 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.005547, allocations: 7.984 kB / 0.5524 GB, free: 5.133 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.375e-05/0.005581, allocations: 11.98 kB / 0.5525 GB, free: 5.121 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.69e-05/0.005598, allocations: 4 kB / 0.5525 GB, free: 5.117 MB / 0.5105 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 5.554e-05/0.005653, allocations: 117.8 kB / 0.5526 GB, free: 4.992 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.372e-05/0.005667, allocations: 7.891 kB / 0.5526 GB, free: 4.984 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001991/0.005866, allocations: 121.9 kB / 0.5527 GB, free: 4.852 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.005868, allocations: 0 / 0.5527 GB, free: 4.852 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.828e-06/0.005871, allocations: 48 / 0.5527 GB, free: 4.852 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.005875, allocations: 3.984 kB / 0.5527 GB, free: 4.848 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.469e-05/0.005969, allocations: 129.2 kB / 0.5528 GB, free: 4.691 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/0.00597, allocations: 0 / 0.5528 GB, free: 4.691 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.138e-05/0.006011, allocations: 23.97 kB / 0.5528 GB, free: 4.668 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.006013, allocations: 3.938 kB / 0.5528 GB, free: 4.664 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.691e-06/0.006019, allocations: 0 / 0.5528 GB, free: 4.664 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.72e-07/0.00602, allocations: 0 / 0.5528 GB, free: 4.664 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.00602, allocations: 0 / 0.5528 GB, free: 4.664 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001759/0.006196, allocations: 199.4 kB / 0.553 GB, free: 4.453 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 9.268e-06/0.006206, allocations: 11.89 kB / 0.5531 GB, free: 4.441 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.207e-06/0.006215, allocations: 0 / 0.5531 GB, free: 4.441 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.674e-05/0.006262, allocations: 15.98 kB / 0.5531 GB, free: 4.426 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.22e-05/0.006294, allocations: 3.984 kB / 0.5531 GB, free: 4.422 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/0.006299, allocations: 4 kB / 0.5531 GB, free: 4.418 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.099e-05/0.00633, allocations: 91.27 kB / 0.5532 GB, free: 4.328 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5e-08/0.00633, allocations: 0 / 0.5532 GB, free: 4.328 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001438/0.006474, allocations: 12 kB / 0.5532 GB, free: 4.316 MB / 0.5105 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.0001011/0.006575, allocations: 99.23 kB / 0.5533 GB, free: 4.211 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.000182/0.006757, allocations: 83.84 kB / 0.5533 GB, free: 4.129 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.192e-06/0.006758, allocations: 0 / 0.5533 GB, free: 4.129 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 6.822e-05/0.006826, allocations: 35.97 kB / 0.5534 GB, free: 4.094 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000199/0.007025, allocations: 7.984 kB / 0.5534 GB, free: 4.086 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002532/0.007279, allocations: 178.4 kB / 0.5536 GB, free: 3.879 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.87e-05/0.007327, allocations: 75.33 kB / 0.5536 GB, free: 3.785 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.38e-05/0.007351, allocations: 12.5 kB / 0.5536 GB, free: 3.773 MB / 0.5105 GB Notification: Performance of SimCode: time 3.6e-07/0.007351, allocations: 0 / 0.5536 GB, free: 3.773 MB / 0.5105 GB Notification: Performance of Templates: time 0.001613/0.008965, allocations: 0.9686 MB / 0.5546 GB, free: 2.809 MB / 0.5105 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 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.7057288298383355] Failed to read output from testmodel.py, exit status != 0: 0.01439825352281332 0.027378892000000002 0.022647677 Calling exit ...