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.00128/0.00128, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001598/0.001598, allocations: 208.8 kB / 22.24 MB, free: 4.859 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.475/1.475, allocations: 230.6 MB / 256 MB, free: 8.016 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.9868/0.9868, allocations: 145 MB / 457.4 MB, free: 15.32 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.002137/0.002137, allocations: 66.56 kB / 0.6331 GB, free: 6.742 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.176/0.1781, allocations: 87.89 MB / 0.719 GB, free: 14.87 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.002399/0.1805, allocations: 0.5787 MB / 0.7195 GB, free: 14.3 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0002951/0.1808, allocations: 35.89 kB / 0.7196 GB, free: 14.26 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.242e-05/0.1809, allocations: 0 / 0.7196 GB, free: 14.26 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.343e-05/0.1809, allocations: 0 / 0.7196 GB, free: 14.26 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.816e-05/0.1809, allocations: 0 / 0.7196 GB, free: 14.26 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002506/0.1812, allocations: 31.84 kB / 0.7196 GB, free: 14.23 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.031e-05/0.1813, allocations: 0 / 0.7196 GB, free: 14.23 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.933e-05/0.1813, allocations: 15.98 kB / 0.7196 GB, free: 14.21 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.944e-05/0.1813, allocations: 0 / 0.7196 GB, free: 14.21 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.833e-05/0.1814, allocations: 3.938 kB / 0.7196 GB, free: 14.21 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.417e-05/0.1814, allocations: 0 / 0.7196 GB, free: 14.21 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001054/0.1815, allocations: 19.98 kB / 0.7196 GB, free: 14.19 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.575e-05/0.1815, allocations: 0 / 0.7196 GB, free: 14.19 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.215e-05/0.1816, allocations: 7.938 kB / 0.7196 GB, free: 14.18 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001354/0.1817, allocations: 27.89 kB / 0.7197 GB, free: 14.16 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.1817, allocations: 0 / 0.7197 GB, free: 14.16 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.174e-06/0.1817, allocations: 4 kB / 0.7197 GB, free: 14.15 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.1817, allocations: 0 / 0.7197 GB, free: 14.15 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.0004557/0.1822, allocations: 280 kB / 0.7199 GB, free: 13.84 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.429e-05/0.1822, allocations: 8.031 kB / 0.7199 GB, free: 13.83 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.129e-05/0.1823, allocations: 34.75 kB / 0.72 GB, free: 13.79 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.004e-05/0.1823, allocations: 4.938 kB / 0.72 GB, free: 13.79 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001093/0.1824, allocations: 106.5 kB / 0.7201 GB, free: 13.66 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.481e-05/0.1825, allocations: 384 / 0.7201 GB, free: 13.66 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.312e-05/0.1825, allocations: 4.375 kB / 0.7201 GB, free: 13.65 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000202/0.1827, allocations: 87.94 kB / 0.7202 GB, free: 13.55 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.1827, allocations: 3.938 kB / 0.7202 GB, free: 13.55 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/0.1827, allocations: 7.984 kB / 0.7202 GB, free: 13.54 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.197e-05/0.1827, allocations: 4 kB / 0.7202 GB, free: 13.54 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.871e-05/0.1828, allocations: 49.69 kB / 0.7202 GB, free: 13.48 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004855/0.1833, allocations: 251.8 kB / 0.7205 GB, free: 13.2 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 7.628e-05/0.1834, allocations: 44.28 kB / 0.7205 GB, free: 13.14 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.774e-05/0.1834, allocations: 34.55 kB / 0.7205 GB, free: 13.09 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 9.708e-06/0.1834, allocations: 0 / 0.7205 GB, free: 13.09 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.404e-05/0.1834, allocations: 34.62 kB / 0.7206 GB, free: 13.05 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 7.72e-07/0.1834, allocations: 0 / 0.7206 GB, free: 13.05 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0002388/0.1837, allocations: 130.8 kB / 0.7207 GB, free: 12.9 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.981e-05/0.1837, allocations: 81.14 kB / 0.7208 GB, free: 12.8 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001105/0.1839, allocations: 109.8 kB / 0.7209 GB, free: 12.68 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.769e-05/0.1839, allocations: 25.7 kB / 0.7209 GB, free: 12.65 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.726e-05/0.1839, allocations: 103.9 kB / 0.721 GB, free: 12.55 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.201e-05/0.184, allocations: 7.938 kB / 0.721 GB, free: 12.54 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.474e-05/0.184, allocations: 25.66 kB / 0.721 GB, free: 12.51 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001539/0.1842, allocations: 322.8 kB / 0.7213 GB, free: 12.18 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.398e-05/0.1842, allocations: 37.69 kB / 0.7214 GB, free: 12.14 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.182e-05/0.1843, allocations: 84.56 kB / 0.7215 GB, free: 12.03 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001398/0.1844, allocations: 134.1 kB / 0.7216 GB, free: 11.86 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.1844, allocations: 0 / 0.7216 GB, free: 11.86 MB / 0.545 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001985/0.1846, allocations: 153 kB / 0.7217 GB, free: 11.69 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.199e-05/0.1847, allocations: 33.7 kB / 0.7218 GB, free: 11.65 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.1847, allocations: 3.938 kB / 0.7218 GB, free: 11.65 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.1847, allocations: 4 kB / 0.7218 GB, free: 11.64 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.287e-05/0.1848, allocations: 11.98 kB / 0.7218 GB, free: 11.63 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.1848, allocations: 4 kB / 0.7218 GB, free: 11.63 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.543e-05/0.1848, allocations: 4 kB / 0.7218 GB, free: 11.62 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.255e-05/0.1849, allocations: 11.94 kB / 0.7218 GB, free: 11.61 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.0001209/0.185, allocations: 158.5 kB / 0.722 GB, free: 11.45 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.555e-05/0.185, allocations: 3.953 kB / 0.722 GB, free: 11.44 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.728e-05/0.185, allocations: 11.53 kB / 0.722 GB, free: 11.43 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.185, allocations: 0 / 0.722 GB, free: 11.43 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.185, allocations: 0 / 0.722 GB, free: 11.43 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.185, allocations: 0 / 0.722 GB, free: 11.43 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001571/0.1852, allocations: 128.7 kB / 0.7221 GB, free: 11.26 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.1852, allocations: 0 / 0.7221 GB, free: 11.26 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.41e-07/0.1852, allocations: 4 kB / 0.7221 GB, free: 11.25 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.1852, allocations: 0 / 0.7221 GB, free: 11.25 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.143e-06/0.1852, allocations: 0 / 0.7221 GB, free: 11.25 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.1852, allocations: 4 kB / 0.7221 GB, free: 11.25 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1852, allocations: 0 / 0.7221 GB, free: 11.25 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000168/0.1854, allocations: 202.8 kB / 0.7223 GB, free: 11.02 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.025e-06/0.1854, allocations: 0 / 0.7223 GB, free: 11.02 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.272e-05/0.1854, allocations: 0 / 0.7223 GB, free: 11.02 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.697e-05/0.1855, allocations: 4 kB / 0.7223 GB, free: 11.02 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.942e-05/0.1855, allocations: 3.984 kB / 0.7223 GB, free: 11.02 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.352e-06/0.1855, allocations: 0 / 0.7223 GB, free: 11.02 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.858e-05/0.1856, allocations: 91.22 kB / 0.7224 GB, free: 10.93 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.1856, allocations: 0 / 0.7224 GB, free: 10.93 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002541/0.1858, allocations: 12 kB / 0.7224 GB, free: 10.91 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.0005755/0.1864, allocations: 0.7353 MB / 0.7231 GB, free: 10.14 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001964/0.1866, allocations: 138.7 kB / 0.7232 GB, free: 9.98 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.1866, allocations: 0 / 0.7232 GB, free: 9.98 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.919e-05/0.1866, allocations: 81.11 kB / 0.7233 GB, free: 9.883 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002197/0.1869, allocations: 8.547 kB / 0.7233 GB, free: 9.875 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004798/0.1873, allocations: 168.2 kB / 0.7235 GB, free: 9.664 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.261e-05/0.1874, allocations: 63.94 kB / 0.7236 GB, free: 9.582 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001237/0.1875, allocations: 23.72 kB / 0.7236 GB, free: 9.559 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.789e-05/0.1876, allocations: 11.44 kB / 0.7236 GB, free: 9.547 MB / 0.545 GB Notification: Performance of SimCode: time 5.61e-07/0.1876, allocations: 0 / 0.7236 GB, free: 9.547 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02924/0.2168, allocations: 1.955 MB / 0.7255 GB, free: 7.738 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.3, allocations: 5.125 kB / 0.7255 GB, free: 7.734 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_TrapezoidalIntegration_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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: 15.044205610174686] Failed to read output from testmodel.py, exit status != 0: 11.40846301522106 11.425291854 11.240148767 Calling exit ...