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.001539/0.001539, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001617/0.001617, allocations: 216 kB / 23.01 MB, free: 4.566 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.336/1.336, allocations: 230.6 MB / 256.8 MB, free: 8.012 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.8492/0.8492, allocations: 145 MB / 458.2 MB, free: 15.55 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.00193/0.00193, allocations: 62.22 kB / 0.6344 GB, free: 6.801 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1558/0.1577, allocations: 87.9 MB / 0.7203 GB, free: 14.91 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001668/0.1594, allocations: 0.5728 MB / 0.7208 GB, free: 14.34 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0002303/0.1596, allocations: 39.88 kB / 0.7209 GB, free: 14.3 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.905e-05/0.1597, allocations: 0 / 0.7209 GB, free: 14.3 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.584e-05/0.1597, allocations: 3.938 kB / 0.7209 GB, free: 14.29 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.792e-05/0.1597, allocations: 11.92 kB / 0.7209 GB, free: 14.28 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001942/0.1599, allocations: 11.98 kB / 0.7209 GB, free: 14.27 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.596e-05/0.16, allocations: 0 / 0.7209 GB, free: 14.27 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.432e-05/0.16, allocations: 7.938 kB / 0.7209 GB, free: 14.26 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.615e-05/0.1601, allocations: 4 kB / 0.7209 GB, free: 14.26 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.144e-05/0.1601, allocations: 4 kB / 0.7209 GB, free: 14.25 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.249e-05/0.1601, allocations: 4 kB / 0.7209 GB, free: 14.25 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 7.13e-05/0.1602, allocations: 19.97 kB / 0.7209 GB, free: 14.23 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.924e-05/0.1602, allocations: 4 kB / 0.7209 GB, free: 14.23 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.475e-05/0.1602, allocations: 7.938 kB / 0.7209 GB, free: 14.22 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001057/0.1604, allocations: 23.91 kB / 0.721 GB, free: 14.2 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.1604, allocations: 0 / 0.721 GB, free: 14.2 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.383e-06/0.1604, allocations: 0 / 0.721 GB, free: 14.2 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.1604, allocations: 0 / 0.721 GB, free: 14.2 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.0003422/0.1607, allocations: 280 kB / 0.7212 GB, free: 13.88 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.303e-05/0.1607, allocations: 12.03 kB / 0.7212 GB, free: 13.87 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.264e-05/0.1608, allocations: 0.9375 kB / 0.7212 GB, free: 13.87 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.73e-05/0.1609, allocations: 114.5 kB / 0.7213 GB, free: 13.73 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.331e-05/0.1609, allocations: 4.359 kB / 0.7213 GB, free: 13.73 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.078e-05/0.1609, allocations: 4.359 kB / 0.7214 GB, free: 13.73 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001258/0.161, allocations: 54.25 kB / 0.7214 GB, free: 13.67 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.161, allocations: 192 / 0.7214 GB, free: 13.67 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.161, allocations: 3.938 kB / 0.7214 GB, free: 13.66 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.765e-05/0.1611, allocations: 12 kB / 0.7214 GB, free: 13.65 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.088e-05/0.1611, allocations: 23.98 kB / 0.7214 GB, free: 13.63 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003733/0.1615, allocations: 247.8 kB / 0.7217 GB, free: 13.34 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 5.041e-05/0.1615, allocations: 18.58 kB / 0.7217 GB, free: 13.32 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.672e-05/0.1615, allocations: 4.859 kB / 0.7217 GB, free: 13.31 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 8.245e-06/0.1616, allocations: 3.938 kB / 0.7217 GB, free: 13.3 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.863e-05/0.1616, allocations: 34.62 kB / 0.7217 GB, free: 13.26 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.1616, allocations: 4 kB / 0.7217 GB, free: 13.26 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0001977/0.1618, allocations: 75.28 kB / 0.7218 GB, free: 13.17 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.821e-05/0.1618, allocations: 81.11 kB / 0.7219 GB, free: 13.07 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001004/0.1619, allocations: 113.8 kB / 0.722 GB, free: 12.95 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.473e-05/0.162, allocations: 25.7 kB / 0.722 GB, free: 12.92 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.262e-05/0.162, allocations: 104 kB / 0.7221 GB, free: 12.82 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.057e-05/0.162, allocations: 7.891 kB / 0.7221 GB, free: 12.81 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.397e-05/0.1621, allocations: 21.72 kB / 0.7222 GB, free: 12.78 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001404/0.1622, allocations: 318.9 kB / 0.7225 GB, free: 12.46 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.768e-05/0.1622, allocations: 15.98 kB / 0.7225 GB, free: 12.45 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.908e-05/0.1623, allocations: 54.86 kB / 0.7225 GB, free: 12.37 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001232/0.1624, allocations: 134.1 kB / 0.7227 GB, free: 12.2 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.1624, allocations: 0 / 0.7227 GB, free: 12.2 MB / 0.545 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001518/0.1626, allocations: 119.2 kB / 0.7228 GB, free: 12.07 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.499e-05/0.1626, allocations: 37.64 kB / 0.7228 GB, free: 12.03 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.1626, allocations: 0 / 0.7228 GB, free: 12.03 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.1626, allocations: 4 kB / 0.7228 GB, free: 12.02 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.572e-05/0.1627, allocations: 15.98 kB / 0.7228 GB, free: 12.01 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.1627, allocations: 0 / 0.7228 GB, free: 12.01 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.582e-05/0.1628, allocations: 7.953 kB / 0.7228 GB, free: 12 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.722e-05/0.1628, allocations: 15.94 kB / 0.7228 GB, free: 11.98 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 0.000101/0.1629, allocations: 149 kB / 0.723 GB, free: 11.82 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.647e-05/0.1629, allocations: 4 kB / 0.723 GB, free: 11.82 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.184e-05/0.1629, allocations: 3.469 kB / 0.723 GB, free: 11.81 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.1629, allocations: 0 / 0.723 GB, free: 11.81 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.1629, allocations: 0 / 0.723 GB, free: 11.81 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.523e-06/0.1629, allocations: 0 / 0.723 GB, free: 11.81 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001475/0.1631, allocations: 128.7 kB / 0.7231 GB, free: 11.64 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.1631, allocations: 4 kB / 0.7231 GB, free: 11.64 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.31e-07/0.1631, allocations: 0 / 0.7231 GB, free: 11.64 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.1631, allocations: 4 kB / 0.7231 GB, free: 11.64 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/0.1631, allocations: 0 / 0.7231 GB, free: 11.64 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.1631, allocations: 0 / 0.7231 GB, free: 11.64 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1631, allocations: 0 / 0.7231 GB, free: 11.64 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001359/0.1632, allocations: 177 kB / 0.7233 GB, free: 11.44 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.618e-06/0.1632, allocations: 4 kB / 0.7233 GB, free: 11.44 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.172e-05/0.1633, allocations: 0 / 0.7233 GB, free: 11.44 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.243e-05/0.1633, allocations: 0 / 0.7233 GB, free: 11.44 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.409e-05/0.1633, allocations: 12.03 kB / 0.7233 GB, free: 11.43 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.324e-06/0.1633, allocations: 7.984 kB / 0.7233 GB, free: 11.42 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.583e-05/0.1634, allocations: 83.28 kB / 0.7234 GB, free: 11.34 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.1634, allocations: 0 / 0.7234 GB, free: 11.34 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002359/0.1636, allocations: 15.88 kB / 0.7234 GB, free: 11.32 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.0001551/0.1638, allocations: 107.2 kB / 0.7235 GB, free: 11.21 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001366/0.1639, allocations: 87.7 kB / 0.7236 GB, free: 11.11 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1639, allocations: 0 / 0.7236 GB, free: 11.11 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.13e-05/0.164, allocations: 59.34 kB / 0.7237 GB, free: 11.04 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001928/0.1641, allocations: 4 kB / 0.7237 GB, free: 11.04 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002479/0.1644, allocations: 134.6 kB / 0.7238 GB, free: 10.87 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002861/0.1647, allocations: 0.6774 MB / 0.7244 GB, free: 10.17 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.825e-05/0.1647, allocations: 11.44 kB / 0.7245 GB, free: 10.16 MB / 0.545 GB Notification: Performance of SimCode: time 3.01e-07/0.1647, allocations: 0 / 0.7245 GB, free: 10.16 MB / 0.545 GB Notification: Performance of Templates: time 0.002289/0.167, allocations: 0.7006 MB / 0.7251 GB, free: 9.457 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.1905301650986075] Failed to read output from testmodel.py, exit status != 0: 0.17509704711847007 0.188685116 0.025506962 Calling exit ...