Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.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.0009709/0.0009709, allocations: 79.73 kB / 20.75 MB, free: 3.734 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.001394/0.001394, allocations: 169 kB / 24.17 MB, free: 328 kB / 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.9938/0.9938, allocations: 177.2 MB / 204.6 MB, free: 5.488 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.6732/0.6732, allocations: 110.3 MB / 371.3 MB, free: 12.38 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.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 3.938 kB / 422.4 MB, free: 9.336 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.439e-05/2.633e-05, allocations: 2.312 kB / 422.4 MB, free: 9.332 MB / 394.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001137/0.001163, allocations: 0.615 MB / 423.1 MB, free: 8.715 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.000195/0.001358, allocations: 31.89 kB / 423.1 MB, free: 8.684 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.875e-05/0.001377, allocations: 0 / 423.1 MB, free: 8.684 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 3.073e-05/0.001408, allocations: 0 / 423.1 MB, free: 8.684 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 3.951e-05/0.001447, allocations: 7.938 kB / 423.1 MB, free: 8.676 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001811/0.001629, allocations: 15.92 kB / 423.1 MB, free: 8.66 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 6.2e-05/0.001691, allocations: 4 kB / 423.1 MB, free: 8.656 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.357e-05/0.001724, allocations: 3.984 kB / 423.1 MB, free: 8.652 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.124e-05/0.001765, allocations: 4 kB / 423.1 MB, free: 8.648 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.121e-05/0.001807, allocations: 4 kB / 423.1 MB, free: 8.645 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.388e-05/0.00182, allocations: 0 / 423.1 MB, free: 8.645 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.266e-05/0.001893, allocations: 19.97 kB / 423.2 MB, free: 8.625 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 2.791e-05/0.001921, allocations: 4 kB / 423.2 MB, free: 8.621 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 1.566e-05/0.001937, allocations: 0 / 423.2 MB, free: 8.621 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 8.625e-05/0.002023, allocations: 31.91 kB / 423.2 MB, free: 8.59 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.503e-06/0.002024, allocations: 0 / 423.2 MB, free: 8.59 MB / 394.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.002025, allocations: 0 / 423.2 MB, free: 8.59 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.036e-06/0.002028, allocations: 0 / 423.2 MB, free: 8.59 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0002225/0.002251, allocations: 258.6 kB / 423.4 MB, free: 8.305 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.232e-05/0.002283, allocations: 11.89 kB / 423.4 MB, free: 8.293 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.35e-05/0.002306, allocations: 4.938 kB / 423.5 MB, free: 8.289 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.184e-05/0.002358, allocations: 109.8 kB / 423.6 MB, free: 8.156 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.676e-06/0.002367, allocations: 384 / 423.6 MB, free: 8.156 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.774e-06/0.002375, allocations: 384 / 423.6 MB, free: 8.156 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.173e-05/0.002456, allocations: 70.73 kB / 423.6 MB, free: 8.074 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.54e-06/0.002462, allocations: 4.188 kB / 423.6 MB, free: 8.07 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.032e-06/0.002468, allocations: 384 / 423.6 MB, free: 8.07 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.391e-05/0.002492, allocations: 12.34 kB / 423.6 MB, free: 8.059 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.707e-05/0.002519, allocations: 37.64 kB / 423.7 MB, free: 8.016 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001987/0.002718, allocations: 177.8 kB / 423.9 MB, free: 7.824 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.803e-05/0.002756, allocations: 48.22 kB / 423.9 MB, free: 7.762 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.503e-05/0.002771, allocations: 30.56 kB / 423.9 MB, free: 7.723 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.508e-06/0.002775, allocations: 4.062 kB / 423.9 MB, free: 7.719 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.03e-05/0.002795, allocations: 34.5 kB / 424 MB, free: 7.676 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 8.01e-07/0.002796, allocations: 0 / 424 MB, free: 7.676 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001008/0.002897, allocations: 118.8 kB / 424.1 MB, free: 7.535 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.177e-05/0.002929, allocations: 77.11 kB / 424.2 MB, free: 7.441 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.684e-05/0.002986, allocations: 114.8 kB / 424.3 MB, free: 7.316 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.266e-06/0.002994, allocations: 25.7 kB / 424.3 MB, free: 7.285 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.309e-05/0.003037, allocations: 115.8 kB / 424.4 MB, free: 7.168 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.869e-06/0.003042, allocations: 7.922 kB / 424.4 MB, free: 7.16 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.71e-05/0.003069, allocations: 21.72 kB / 424.4 MB, free: 7.133 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.253e-05/0.003142, allocations: 310.8 kB / 424.7 MB, free: 6.82 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.542e-05/0.003157, allocations: 33.69 kB / 424.8 MB, free: 6.781 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.9e-05/0.003196, allocations: 80.56 kB / 424.9 MB, free: 6.672 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.682e-05/0.003263, allocations: 129.1 kB / 425 MB, free: 6.508 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.003265, allocations: 4 kB / 425 MB, free: 6.504 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 7.864e-05/0.003343, allocations: 132.9 kB / 425.1 MB, free: 6.355 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.459e-05/0.003368, allocations: 37.69 kB / 425.2 MB, free: 6.312 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.003372, allocations: 0 / 425.2 MB, free: 6.312 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.003384, allocations: 4 kB / 425.2 MB, free: 6.309 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.616e-05/0.00343, allocations: 12 kB / 425.2 MB, free: 6.297 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.797e-06/0.003434, allocations: 0 / 425.2 MB, free: 6.297 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.138e-05/0.003475, allocations: 11.95 kB / 425.2 MB, free: 6.285 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.039e-05/0.003486, allocations: 4 kB / 425.2 MB, free: 6.281 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * 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 6.613e-05/0.003552, allocations: 158.2 kB / 425.3 MB, free: 6.109 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.223e-05/0.003564, allocations: 12.12 kB / 425.4 MB, free: 6.098 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.44e-05/0.003579, allocations: 3.469 kB / 425.4 MB, free: 6.09 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.003581, allocations: 4 kB / 425.4 MB, free: 6.086 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.462e-06/0.003582, allocations: 0 / 425.4 MB, free: 6.086 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.145e-06/0.003585, allocations: 0 / 425.4 MB, free: 6.086 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.269e-05/0.003658, allocations: 65.89 kB / 425.4 MB, free: 6.004 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/0.003659, allocations: 0 / 425.4 MB, free: 6.004 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.91e-07/0.003659, allocations: 0 / 425.4 MB, free: 6.004 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.003662, allocations: 3.984 kB / 425.4 MB, free: 6 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.547e-06/0.003665, allocations: 0 / 425.4 MB, free: 6 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.003667, allocations: 3.938 kB / 425.4 MB, free: 5.996 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-07/0.003667, allocations: 4 kB / 425.4 MB, free: 5.992 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.855e-05/0.003746, allocations: 186.9 kB / 425.6 MB, free: 5.781 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.292e-06/0.003752, allocations: 4 kB / 425.6 MB, free: 5.777 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.993e-06/0.003759, allocations: 0 / 425.6 MB, free: 5.777 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.735e-05/0.003786, allocations: 3.938 kB / 425.6 MB, free: 5.773 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.297e-06/0.003796, allocations: 3.984 kB / 425.6 MB, free: 5.77 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-06/0.003799, allocations: 4 kB / 425.6 MB, free: 5.766 MB / 394.7 MB Notification: Performance of sorting global known variables: time 1.39e-05/0.003813, allocations: 17.31 kB / 425.7 MB, free: 5.746 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.003813, allocations: 0 / 425.7 MB, free: 5.746 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001315/0.003944, allocations: 11.94 kB / 425.7 MB, free: 5.734 MB / 394.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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.741e-05/0.004042, allocations: 92.44 kB / 425.8 MB, free: 5.637 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 9.69e-05/0.004139, allocations: 131.6 kB / 425.9 MB, free: 5.48 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.004143, allocations: 4 kB / 425.9 MB, free: 5.477 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.675e-05/0.00417, allocations: 85.97 kB / 426 MB, free: 5.371 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.859e-05/0.004258, allocations: 7.938 kB / 426 MB, free: 5.363 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001719/0.00443, allocations: 144.1 kB / 426.1 MB, free: 5.191 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.017e-05/0.00446, allocations: 59.34 kB / 426.2 MB, free: 5.113 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 1.919e-05/0.004479, allocations: 8 kB / 426.2 MB, free: 5.105 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.247e-05/0.004522, allocations: 59.38 kB / 426.2 MB, free: 5.047 MB / 394.7 MB Notification: Performance of SimCode: time 4.21e-07/0.004522, allocations: 0 / 426.2 MB, free: 5.047 MB / 394.7 MB Notification: Performance of Templates: time 0.001933/0.006456, allocations: 0.6052 MB / 426.8 MB, free: 4.445 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.216945310123265]