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.001302/0.001302, allocations: 102.7 kB / 16.45 MB, free: 6.449 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.001514/0.001514, allocations: 206.4 kB / 19.42 MB, free: 3.641 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.426/1.426, allocations: 230.6 MB / 252.8 MB, free: 8.977 MB / 206.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.9113/0.9113, allocations: 145 MB / 453.8 MB, free: 0.6953 MB / 350.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: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_TrapezoidalIntegration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_TrapezoidalIntegration",fmuType="me",version="2.0",platforms={"static"}) [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.002014/0.002014, allocations: 66.42 kB / 0.6281 GB, free: 10.59 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1734/0.1755, allocations: 87.83 MB / 0.7138 GB, free: 2.754 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001871/0.1773, allocations: 0.5861 MB / 0.7144 GB, free: 2.168 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0002522/0.1776, allocations: 39.88 kB / 0.7144 GB, free: 2.129 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.977e-05/0.1776, allocations: 0 / 0.7144 GB, free: 2.129 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.764e-05/0.1776, allocations: 0 / 0.7144 GB, free: 2.129 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.152e-05/0.1777, allocations: 0 / 0.7144 GB, free: 2.129 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002157/0.1779, allocations: 15.98 kB / 0.7145 GB, free: 2.113 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.089e-05/0.178, allocations: 7.875 kB / 0.7145 GB, free: 2.105 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.13e-05/0.178, allocations: 4 kB / 0.7145 GB, free: 2.102 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.346e-05/0.178, allocations: 4 kB / 0.7145 GB, free: 2.098 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.369e-05/0.1781, allocations: 3.984 kB / 0.7145 GB, free: 2.094 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.119e-05/0.1781, allocations: 4 kB / 0.7145 GB, free: 2.09 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.479e-05/0.1781, allocations: 23.92 kB / 0.7145 GB, free: 2.066 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.223e-05/0.1782, allocations: 3.984 kB / 0.7145 GB, free: 2.062 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.649e-05/0.1782, allocations: 11.94 kB / 0.7145 GB, free: 2.051 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001084/0.1783, allocations: 20.14 kB / 0.7145 GB, free: 2.031 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.1783, allocations: 0 / 0.7145 GB, free: 2.031 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.543e-06/0.1783, allocations: 0 / 0.7145 GB, free: 2.031 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.1783, allocations: 0 / 0.7145 GB, free: 2.031 MB / 0.5294 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.000412/0.1787, allocations: 349.2 kB / 0.7149 GB, free: 1.633 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.1788, allocations: 12.03 kB / 0.7149 GB, free: 1.621 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.67e-05/0.1788, allocations: 38.73 kB / 0.7149 GB, free: 1.574 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.994e-05/0.1789, allocations: 0.9375 kB / 0.7149 GB, free: 1.574 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001295/0.179, allocations: 172.3 kB / 0.7151 GB, free: 1.367 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.287e-05/0.179, allocations: 384 / 0.7151 GB, free: 1.367 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.526e-06/0.179, allocations: 384 / 0.7151 GB, free: 1.367 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001498/0.1792, allocations: 62.23 kB / 0.7151 GB, free: 1.301 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.1792, allocations: 7.875 kB / 0.7152 GB, free: 1.293 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.368e-06/0.1792, allocations: 0 / 0.7152 GB, free: 1.293 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.217e-05/0.1792, allocations: 11.98 kB / 0.7152 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.171e-05/0.1793, allocations: 23.98 kB / 0.7152 GB, free: 1.258 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003721/0.1796, allocations: 260.8 kB / 0.7154 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 5.373e-05/0.1797, allocations: 22.58 kB / 0.7155 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.986e-05/0.1797, allocations: 8.844 kB / 0.7155 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 8.476e-06/0.1797, allocations: 0 / 0.7155 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.58e-05/0.1798, allocations: 38.56 kB / 0.7155 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 9.11e-07/0.1798, allocations: 0 / 0.7155 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001776/0.1799, allocations: 71.3 kB / 0.7156 GB, free: 0.7812 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001219/0.1801, allocations: 81.11 kB / 0.7157 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001021/0.1802, allocations: 113.8 kB / 0.7158 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.141e-05/0.1802, allocations: 29.7 kB / 0.7158 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 8.991e-05/0.1803, allocations: 99.94 kB / 0.7159 GB, free: 436 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.463e-05/0.1803, allocations: 7.953 kB / 0.7159 GB, free: 428 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.938e-05/0.1803, allocations: 26.11 kB / 0.7159 GB, free: 396 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001798/0.1805, allocations: 318.9 kB / 0.7162 GB, free: 68 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.39e-05/0.1805, allocations: 15.98 kB / 0.7162 GB, free: 52 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.649e-05/0.1806, allocations: 62.86 kB / 0.7163 GB, free: 15.96 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001401/0.1808, allocations: 134.2 kB / 0.7164 GB, free: 15.8 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1808, allocations: 7.875 kB / 0.7164 GB, free: 15.79 MB / 0.545 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001692/0.1809, allocations: 115.2 kB / 0.7165 GB, free: 15.66 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.063e-05/0.181, allocations: 33.7 kB / 0.7166 GB, free: 15.62 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.181, allocations: 0 / 0.7166 GB, free: 15.62 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.045e-05/0.181, allocations: 4 kB / 0.7166 GB, free: 15.62 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.548e-05/0.1811, allocations: 15.94 kB / 0.7166 GB, free: 15.61 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.819e-06/0.1811, allocations: 3.984 kB / 0.7166 GB, free: 15.6 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.922e-05/0.1812, allocations: 11.89 kB / 0.7166 GB, free: 15.59 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.485e-05/0.1812, allocations: 15.92 kB / 0.7166 GB, free: 15.57 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.0002133/0.1814, allocations: 143.8 kB / 0.7168 GB, free: 15.42 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.339e-05/0.1815, allocations: 0 / 0.7168 GB, free: 15.42 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.889e-05/0.1815, allocations: 7.531 kB / 0.7168 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.1815, allocations: 3.984 kB / 0.7168 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.1815, allocations: 0 / 0.7168 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.1815, allocations: 0 / 0.7168 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001893/0.1817, allocations: 157.6 kB / 0.7169 GB, free: 15.2 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.1817, allocations: 0 / 0.7169 GB, free: 15.2 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.62e-07/0.1817, allocations: 3.938 kB / 0.7169 GB, free: 15.2 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.516e-06/0.1817, allocations: 4 kB / 0.7169 GB, free: 15.2 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.1817, allocations: 4 kB / 0.7169 GB, free: 15.19 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.1817, allocations: 0 / 0.7169 GB, free: 15.19 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.1817, allocations: 0 / 0.7169 GB, free: 15.19 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001659/0.1819, allocations: 169.1 kB / 0.7171 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.844e-05/0.1819, allocations: 77.11 kB / 0.7172 GB, free: 14.91 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.761e-05/0.1819, allocations: 4 kB / 0.7172 GB, free: 14.91 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.92e-05/0.182, allocations: 7.938 kB / 0.7172 GB, free: 14.9 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.475e-05/0.182, allocations: 4.031 kB / 0.7172 GB, free: 14.89 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.903e-06/0.182, allocations: 4 kB / 0.7172 GB, free: 14.89 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.842e-05/0.1821, allocations: 95.67 kB / 0.7173 GB, free: 14.8 MB / 0.545 GB Notification: Performance of sort global known variables: time 6.1e-08/0.1821, allocations: 0 / 0.7173 GB, free: 14.8 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002741/0.1824, allocations: 8 kB / 0.7173 GB, free: 14.79 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.0007368/0.1831, allocations: 0.7063 MB / 0.718 GB, free: 14.05 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001856/0.1833, allocations: 87.31 kB / 0.7181 GB, free: 13.95 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.1833, allocations: 0 / 0.7181 GB, free: 13.95 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.537e-05/0.1833, allocations: 55.41 kB / 0.7181 GB, free: 13.89 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002614/0.1836, allocations: 0 / 0.7181 GB, free: 13.89 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005067/0.1841, allocations: 151 kB / 0.7183 GB, free: 13.7 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003691/0.1845, allocations: 0.6809 MB / 0.7189 GB, free: 12.99 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001498/0.1846, allocations: 19.72 kB / 0.7189 GB, free: 12.97 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.675e-05/0.1847, allocations: 23.12 kB / 0.719 GB, free: 12.95 MB / 0.545 GB Notification: Performance of SimCode: time 1.082e-06/0.1847, allocations: 0 / 0.719 GB, free: 12.95 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0292/0.2139, allocations: 1.457 MB / 0.7204 GB, free: 11.64 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.835/8.049, allocations: 12.69 kB / 0.7204 GB, free: 11.63 MB / 0.545 GB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_TrapezoidalIntegration.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.66565078200074] Failed to read output from testmodel.py, exit status != 0: 8.116186953004217 8.130742334 7.949489208 Calling exit ...