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.001288/0.001288, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.001645/0.001645, allocations: 216.4 kB / 22.26 MB, free: 5.113 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.526/1.526, allocations: 230.6 MB / 256 MB, free: 8.039 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.9073/0.9073, allocations: 145 MB / 457.4 MB, free: 15.54 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: "" <> 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.002062/0.002062, allocations: 70.25 kB / 0.6332 GB, free: 7.316 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1756/0.1777, allocations: 87.87 MB / 0.719 GB, free: 15.43 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001817/0.1795, allocations: 0.5872 MB / 0.7196 GB, free: 14.85 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0002587/0.1797, allocations: 39.88 kB / 0.7196 GB, free: 14.81 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.419e-05/0.1798, allocations: 3.938 kB / 0.7196 GB, free: 14.8 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 4.374e-05/0.1798, allocations: 0 / 0.7196 GB, free: 14.8 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.637e-05/0.1799, allocations: 7.984 kB / 0.7196 GB, free: 14.8 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002772/0.1801, allocations: 15.92 kB / 0.7197 GB, free: 14.78 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.802e-05/0.1802, allocations: 8 kB / 0.7197 GB, free: 14.77 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.718e-05/0.1803, allocations: 0 / 0.7197 GB, free: 14.77 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.999e-05/0.1803, allocations: 0 / 0.7197 GB, free: 14.77 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.388e-05/0.1804, allocations: 8 kB / 0.7197 GB, free: 14.77 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.406e-05/0.1804, allocations: 0 / 0.7197 GB, free: 14.77 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 9.644e-05/0.1805, allocations: 19.97 kB / 0.7197 GB, free: 14.75 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.4e-05/0.1805, allocations: 8 kB / 0.7197 GB, free: 14.74 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.581e-05/0.1806, allocations: 7.938 kB / 0.7197 GB, free: 14.73 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001239/0.1807, allocations: 19.91 kB / 0.7197 GB, free: 14.71 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.1807, allocations: 0 / 0.7197 GB, free: 14.71 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.236e-06/0.1807, allocations: 0 / 0.7197 GB, free: 14.71 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.982e-06/0.1807, allocations: 8 kB / 0.7197 GB, free: 14.7 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.0004531/0.1812, allocations: 277.9 kB / 0.72 GB, free: 14.39 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/0.1812, allocations: 8.031 kB / 0.72 GB, free: 14.39 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.33e-05/0.1813, allocations: 38.75 kB / 0.72 GB, free: 14.34 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.589e-05/0.1813, allocations: 0.9375 kB / 0.72 GB, free: 14.34 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.555e-05/0.1814, allocations: 114.5 kB / 0.7202 GB, free: 14.2 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/0.1814, allocations: 384 / 0.7202 GB, free: 14.2 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.097e-06/0.1814, allocations: 4.375 kB / 0.7202 GB, free: 14.2 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001763/0.1816, allocations: 54.25 kB / 0.7202 GB, free: 14.14 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.1816, allocations: 11.88 kB / 0.7202 GB, free: 14.13 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.1816, allocations: 0 / 0.7202 GB, free: 14.13 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.934e-05/0.1816, allocations: 4 kB / 0.7202 GB, free: 14.12 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.298e-05/0.1817, allocations: 23.98 kB / 0.7203 GB, free: 14.1 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004433/0.1821, allocations: 247.8 kB / 0.7205 GB, free: 13.82 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 6.498e-05/0.1822, allocations: 22.52 kB / 0.7205 GB, free: 13.79 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.163e-05/0.1822, allocations: 4.859 kB / 0.7205 GB, free: 13.78 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 9.147e-06/0.1822, allocations: 4 kB / 0.7205 GB, free: 13.77 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.86e-05/0.1823, allocations: 30.56 kB / 0.7205 GB, free: 13.73 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.1823, allocations: 0 / 0.7205 GB, free: 13.73 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0002432/0.1825, allocations: 79.34 kB / 0.7206 GB, free: 13.64 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.868e-05/0.1826, allocations: 77.11 kB / 0.7207 GB, free: 13.55 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001196/0.1827, allocations: 113.8 kB / 0.7208 GB, free: 13.43 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.486e-05/0.1827, allocations: 25.7 kB / 0.7208 GB, free: 13.4 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.768e-05/0.1828, allocations: 108.1 kB / 0.7209 GB, free: 13.29 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.24e-05/0.1828, allocations: 7.891 kB / 0.7209 GB, free: 13.28 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.397e-05/0.1829, allocations: 21.72 kB / 0.721 GB, free: 13.25 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001803/0.1831, allocations: 322.8 kB / 0.7213 GB, free: 12.93 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.234e-05/0.1831, allocations: 8 kB / 0.7213 GB, free: 12.92 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.597e-05/0.1832, allocations: 62.86 kB / 0.7213 GB, free: 12.84 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001545/0.1833, allocations: 134.1 kB / 0.7215 GB, free: 12.67 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.1833, allocations: 0 / 0.7215 GB, free: 12.67 MB / 0.545 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001648/0.1835, allocations: 115.2 kB / 0.7216 GB, free: 12.54 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.68e-05/0.1835, allocations: 33.7 kB / 0.7216 GB, free: 12.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.1835, allocations: 3.984 kB / 0.7216 GB, free: 12.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.229e-05/0.1836, allocations: 4 kB / 0.7216 GB, free: 12.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.251e-05/0.1836, allocations: 12.25 kB / 0.7216 GB, free: 12.48 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/0.1837, allocations: 4 kB / 0.7216 GB, free: 12.48 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.997e-05/0.1837, allocations: 11.95 kB / 0.7216 GB, free: 12.47 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.797e-05/0.1838, allocations: 7.938 kB / 0.7216 GB, free: 12.46 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.0001516/0.1839, allocations: 147.5 kB / 0.7218 GB, free: 12.3 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.248e-05/0.1839, allocations: 0 / 0.7218 GB, free: 12.3 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.38e-05/0.184, allocations: 11.47 kB / 0.7218 GB, free: 12.29 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.184, allocations: 0 / 0.7218 GB, free: 12.29 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.184, allocations: 0 / 0.7218 GB, free: 12.29 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.184, allocations: 4 kB / 0.7218 GB, free: 12.28 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001862/0.1842, allocations: 124.7 kB / 0.7219 GB, free: 12.12 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1842, allocations: 0 / 0.7219 GB, free: 12.12 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.71e-07/0.1842, allocations: 0 / 0.7219 GB, free: 12.12 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.283e-06/0.1842, allocations: 0 / 0.7219 GB, free: 12.12 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.1842, allocations: 4 kB / 0.7219 GB, free: 12.11 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.1842, allocations: 7.938 kB / 0.7219 GB, free: 12.11 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1842, allocations: 3.938 kB / 0.7219 GB, free: 12.1 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001852/0.1844, allocations: 177.1 kB / 0.7221 GB, free: 11.91 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.335e-06/0.1844, allocations: 0 / 0.7221 GB, free: 11.91 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.747e-05/0.1844, allocations: 4 kB / 0.7221 GB, free: 11.9 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.018e-05/0.1844, allocations: 3.984 kB / 0.7221 GB, free: 11.9 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.817e-05/0.1845, allocations: 4 kB / 0.7221 GB, free: 11.89 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.703e-06/0.1845, allocations: 4 kB / 0.7221 GB, free: 11.89 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.064e-05/0.1845, allocations: 91.67 kB / 0.7222 GB, free: 11.8 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.1845, allocations: 0 / 0.7222 GB, free: 11.8 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002815/0.1848, allocations: 15.94 kB / 0.7222 GB, free: 11.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.0006219/0.1854, allocations: 0.6947 MB / 0.7229 GB, free: 11.06 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001828/0.1856, allocations: 87.27 kB / 0.723 GB, free: 10.96 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1856, allocations: 0.5312 kB / 0.723 GB, free: 10.96 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.293e-05/0.1857, allocations: 59.41 kB / 0.723 GB, free: 10.89 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002292/0.1859, allocations: 14.25 kB / 0.7231 GB, free: 10.88 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004833/0.1864, allocations: 146.4 kB / 0.7232 GB, free: 10.7 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003919/0.1868, allocations: 0.6807 MB / 0.7239 GB, free: 9.988 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001414/0.1869, allocations: 11.73 kB / 0.7239 GB, free: 9.977 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.855e-05/0.1869, allocations: 11.44 kB / 0.7239 GB, free: 9.965 MB / 0.545 GB Notification: Performance of SimCode: time 3.01e-07/0.1869, allocations: 4.062 kB / 0.7239 GB, free: 9.961 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02806/0.215, allocations: 1.583 MB / 0.7254 GB, free: 8.516 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.77/10.98, allocations: 12.28 kB / 0.7254 GB, free: 8.508 MB / 0.545 GB " [Timeout remaining time 649] (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: 14.786698896001326] Failed to read output from testmodel.py, exit status != 0: 11.08592350699837 11.103616275 10.919807901 Calling exit ...