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.001424/0.001424, allocations: 98.08 kB / 19.59 MB, free: 2.34 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.001607/0.001607, allocations: 211.1 kB / 22.87 MB, free: 5.621 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.311/1.311, allocations: 230.5 MB / 256.5 MB, free: 8.02 MB / 206.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.8405/0.8405, allocations: 144.9 MB / 457.8 MB, free: 15.52 MB / 366.1 MB " [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: 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.001869/0.001869, allocations: 72.12 kB / 0.634 GB, free: 6.84 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1459/0.1478, allocations: 87.89 MB / 0.7198 GB, free: 14.95 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001578/0.1493, allocations: 0.5806 MB / 0.7204 GB, free: 14.37 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0002237/0.1496, allocations: 43.8 kB / 0.7204 GB, free: 14.33 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.541e-05/0.1496, allocations: 0 / 0.7204 GB, free: 14.33 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.39e-05/0.1496, allocations: 4 kB / 0.7204 GB, free: 14.32 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 2.634e-05/0.1496, allocations: 0 / 0.7204 GB, free: 14.32 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001783/0.1498, allocations: 15.98 kB / 0.7204 GB, free: 14.31 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.729e-05/0.1499, allocations: 15.92 kB / 0.7204 GB, free: 14.29 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.265e-05/0.1499, allocations: 0 / 0.7204 GB, free: 14.29 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.003e-05/0.1499, allocations: 4 kB / 0.7204 GB, free: 14.29 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.336e-05/0.15, allocations: 0 / 0.7204 GB, free: 14.29 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.288e-06/0.15, allocations: 0 / 0.7204 GB, free: 14.29 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 7.027e-05/0.15, allocations: 23.97 kB / 0.7205 GB, free: 14.27 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.436e-05/0.1501, allocations: 4 kB / 0.7205 GB, free: 14.26 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 1.955e-05/0.1501, allocations: 3.938 kB / 0.7205 GB, free: 14.26 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 9.235e-05/0.1502, allocations: 31.84 kB / 0.7205 GB, free: 14.23 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.1502, allocations: 4 kB / 0.7205 GB, free: 14.22 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.112e-06/0.1502, allocations: 0 / 0.7205 GB, free: 14.22 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.1502, allocations: 0 / 0.7205 GB, free: 14.22 MB / 0.545 GB 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.0003218/0.1505, allocations: 280 kB / 0.7208 GB, free: 13.91 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 2.932e-05/0.1505, allocations: 8.031 kB / 0.7208 GB, free: 13.9 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.295e-05/0.1506, allocations: 4.938 kB / 0.7208 GB, free: 13.9 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.917e-05/0.1507, allocations: 102.5 kB / 0.7209 GB, free: 13.77 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.083e-05/0.1507, allocations: 384 / 0.7209 GB, free: 13.77 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.008e-05/0.1507, allocations: 4.375 kB / 0.7209 GB, free: 13.77 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000133/0.1508, allocations: 87.94 kB / 0.721 GB, free: 13.67 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.1508, allocations: 192 / 0.721 GB, free: 13.67 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.1508, allocations: 3.938 kB / 0.721 GB, free: 13.67 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.922e-05/0.1508, allocations: 4 kB / 0.721 GB, free: 13.66 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.062e-05/0.1509, allocations: 53.62 kB / 0.721 GB, free: 13.61 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003126/0.1512, allocations: 243.9 kB / 0.7213 GB, free: 13.32 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 6.491e-05/0.1513, allocations: 44.27 kB / 0.7213 GB, free: 13.27 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.372e-05/0.1513, allocations: 38.62 kB / 0.7214 GB, free: 13.22 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 7.515e-06/0.1513, allocations: 0 / 0.7214 GB, free: 13.22 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.719e-05/0.1514, allocations: 34.56 kB / 0.7214 GB, free: 13.18 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 8.62e-07/0.1514, allocations: 0 / 0.7214 GB, free: 13.18 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0001924/0.1515, allocations: 130.6 kB / 0.7215 GB, free: 13.02 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.246e-05/0.1516, allocations: 77.11 kB / 0.7216 GB, free: 12.93 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.7e-05/0.1517, allocations: 117.8 kB / 0.7217 GB, free: 12.8 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.44e-05/0.1517, allocations: 29.7 kB / 0.7217 GB, free: 12.77 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.492e-05/0.1518, allocations: 100.1 kB / 0.7218 GB, free: 12.67 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.268e-05/0.1518, allocations: 15.89 kB / 0.7218 GB, free: 12.65 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.891e-05/0.1518, allocations: 21.72 kB / 0.7219 GB, free: 12.62 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001453/0.152, allocations: 322.7 kB / 0.7222 GB, free: 12.3 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.736e-05/0.152, allocations: 37.7 kB / 0.7222 GB, free: 12.26 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.35e-05/0.1521, allocations: 92.5 kB / 0.7223 GB, free: 12.14 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001237/0.1522, allocations: 130.2 kB / 0.7224 GB, free: 11.97 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1522, allocations: 0 / 0.7224 GB, free: 11.97 MB / 0.545 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001701/0.1524, allocations: 144.9 kB / 0.7225 GB, free: 11.81 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.001e-05/0.1524, allocations: 33.7 kB / 0.7226 GB, free: 11.77 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.1524, allocations: 4 kB / 0.7226 GB, free: 11.77 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.1524, allocations: 256 / 0.7226 GB, free: 11.77 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.788e-05/0.1525, allocations: 16 kB / 0.7226 GB, free: 11.75 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.1525, allocations: 3.938 kB / 0.7226 GB, free: 11.75 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.833e-05/0.1525, allocations: 11.94 kB / 0.7226 GB, free: 11.74 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.435e-05/0.1526, allocations: 12 kB / 0.7226 GB, free: 11.73 MB / 0.545 GB 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 9.812e-05/0.1527, allocations: 139.5 kB / 0.7228 GB, free: 11.57 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.392e-05/0.1527, allocations: 4 kB / 0.7228 GB, free: 11.57 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.161e-05/0.1527, allocations: 3.469 kB / 0.7228 GB, free: 11.56 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-06/0.1527, allocations: 0 / 0.7228 GB, free: 11.56 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.294e-06/0.1527, allocations: 0 / 0.7228 GB, free: 11.56 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.1527, allocations: 7.984 kB / 0.7228 GB, free: 11.55 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001463/0.1529, allocations: 128.7 kB / 0.7229 GB, free: 11.39 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.1529, allocations: 0 / 0.7229 GB, free: 11.39 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.707e-06/0.1529, allocations: 3.984 kB / 0.7229 GB, free: 11.38 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-06/0.1529, allocations: 0 / 0.7229 GB, free: 11.38 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.911e-06/0.1529, allocations: 0 / 0.7229 GB, free: 11.38 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.92e-07/0.1529, allocations: 0 / 0.7229 GB, free: 11.38 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.1529, allocations: 3.938 kB / 0.7229 GB, free: 11.38 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000152/0.153, allocations: 202.8 kB / 0.7231 GB, free: 11.15 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.821e-06/0.153, allocations: 0 / 0.7231 GB, free: 11.15 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.027e-05/0.153, allocations: 0 / 0.7231 GB, free: 11.15 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.276e-05/0.1531, allocations: 7.938 kB / 0.7231 GB, free: 11.14 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.073e-05/0.1531, allocations: 4 kB / 0.7231 GB, free: 11.14 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-06/0.1531, allocations: 0 / 0.7231 GB, free: 11.14 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.578e-05/0.1532, allocations: 87.27 kB / 0.7232 GB, free: 11.05 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.1532, allocations: 0 / 0.7232 GB, free: 11.05 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002388/0.1534, allocations: 23.88 kB / 0.7232 GB, free: 11.03 MB / 0.545 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 (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 0.0001369/0.1535, allocations: 106.2 kB / 0.7233 GB, free: 10.92 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001652/0.1537, allocations: 142.7 kB / 0.7235 GB, free: 10.76 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1537, allocations: 0 / 0.7235 GB, free: 10.76 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.799e-05/0.1538, allocations: 81.11 kB / 0.7235 GB, free: 10.66 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001807/0.1539, allocations: 0 / 0.7235 GB, free: 10.66 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000234/0.1542, allocations: 160.8 kB / 0.7237 GB, free: 10.46 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.62e-05/0.1542, allocations: 71.28 kB / 0.7238 GB, free: 10.38 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.155e-05/0.1542, allocations: 7.438 kB / 0.7238 GB, free: 10.37 MB / 0.545 GB Notification: Performance of SimCode: time 2.81e-07/0.1542, allocations: 4 kB / 0.7238 GB, free: 10.36 MB / 0.545 GB Notification: Performance of Templates: time 0.001998/0.1562, allocations: 0.69 MB / 0.7244 GB, free: 9.676 MB / 0.545 GB " [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=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.0305148041807115] Failed to read output from testmodel.py, exit status != 0: 0.16365282097831368 0.17701721 0.024084905 Calling exit ...