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.001297/0.001297, allocations: 110.6 kB / 18.94 MB, free: 2.953 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.001483/0.001483, allocations: 218.7 kB / 22.25 MB, free: 5.125 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.52/1.52, allocations: 230.6 MB / 256 MB, free: 8.012 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.9257/0.9257, allocations: 145 MB / 457.4 MB, free: 15.53 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.002081/0.002081, allocations: 70.73 kB / 0.6332 GB, free: 7.262 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1799/0.182, allocations: 87.87 MB / 0.719 GB, free: 15.41 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.002277/0.1843, allocations: 0.5792 MB / 0.7196 GB, free: 14.83 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0002701/0.1845, allocations: 47.86 kB / 0.7196 GB, free: 14.78 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.943e-05/0.1846, allocations: 3.938 kB / 0.7196 GB, free: 14.78 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.334e-05/0.1846, allocations: 4 kB / 0.7196 GB, free: 14.77 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.793e-05/0.1846, allocations: 0 / 0.7196 GB, free: 14.77 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001966/0.1848, allocations: 11.98 kB / 0.7197 GB, free: 14.76 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.195e-05/0.1849, allocations: 7.938 kB / 0.7197 GB, free: 14.75 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.603e-05/0.185, allocations: 4 kB / 0.7197 GB, free: 14.75 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.47e-05/0.185, allocations: 4 kB / 0.7197 GB, free: 14.75 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.701e-05/0.185, allocations: 0 / 0.7197 GB, free: 14.75 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.069e-05/0.185, allocations: 0 / 0.7197 GB, free: 14.75 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 8.767e-05/0.1851, allocations: 23.91 kB / 0.7197 GB, free: 14.72 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.219e-05/0.1852, allocations: 8 kB / 0.7197 GB, free: 14.71 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.843e-05/0.1852, allocations: 11.92 kB / 0.7197 GB, free: 14.7 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 9.958e-05/0.1853, allocations: 23.92 kB / 0.7197 GB, free: 14.68 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.1853, allocations: 0 / 0.7197 GB, free: 14.68 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.763e-06/0.1853, allocations: 0 / 0.7197 GB, free: 14.68 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.1853, allocations: 0 / 0.7197 GB, free: 14.68 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.0003817/0.1857, allocations: 276 kB / 0.72 GB, free: 14.37 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.1857, allocations: 8.031 kB / 0.72 GB, free: 14.36 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.035e-05/0.1858, allocations: 42.75 kB / 0.72 GB, free: 14.31 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.235e-05/0.1858, allocations: 0.9375 kB / 0.7201 GB, free: 14.31 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.811e-05/0.1859, allocations: 114.5 kB / 0.7202 GB, free: 14.18 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.1859, allocations: 384 / 0.7202 GB, free: 14.18 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.644e-06/0.1859, allocations: 384 / 0.7202 GB, free: 14.18 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001387/0.1861, allocations: 58.19 kB / 0.7202 GB, free: 14.11 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.1861, allocations: 3.938 kB / 0.7202 GB, free: 14.11 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.614e-06/0.1861, allocations: 0 / 0.7202 GB, free: 14.11 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.945e-05/0.1861, allocations: 8 kB / 0.7202 GB, free: 14.1 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.459e-05/0.1862, allocations: 27.97 kB / 0.7203 GB, free: 14.07 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003663/0.1865, allocations: 239.9 kB / 0.7205 GB, free: 13.8 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 4.871e-05/0.1866, allocations: 18.58 kB / 0.7205 GB, free: 13.77 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.867e-05/0.1866, allocations: 4.859 kB / 0.7205 GB, free: 13.76 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 7.604e-06/0.1866, allocations: 0 / 0.7205 GB, free: 13.76 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.387e-05/0.1866, allocations: 38.56 kB / 0.7205 GB, free: 13.71 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 8.62e-07/0.1866, allocations: 3.938 kB / 0.7205 GB, free: 13.71 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0001808/0.1868, allocations: 71.34 kB / 0.7206 GB, free: 13.63 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.584e-05/0.1869, allocations: 81.23 kB / 0.7207 GB, free: 13.53 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000105/0.187, allocations: 117.8 kB / 0.7208 GB, free: 13.41 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/0.187, allocations: 25.7 kB / 0.7208 GB, free: 13.38 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.991e-05/0.187, allocations: 99.98 kB / 0.7209 GB, free: 13.27 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.578e-05/0.1871, allocations: 11.89 kB / 0.7209 GB, free: 13.26 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.318e-05/0.1871, allocations: 21.72 kB / 0.721 GB, free: 13.23 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001523/0.1873, allocations: 326.7 kB / 0.7213 GB, free: 12.91 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.614e-05/0.1873, allocations: 8 kB / 0.7213 GB, free: 12.9 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.425e-05/0.1873, allocations: 62.8 kB / 0.7213 GB, free: 12.81 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001403/0.1875, allocations: 134.1 kB / 0.7215 GB, free: 12.64 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.1875, allocations: 0 / 0.7215 GB, free: 12.64 MB / 0.545 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001665/0.1877, allocations: 115.5 kB / 0.7216 GB, free: 12.52 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4e-05/0.1877, allocations: 35.73 kB / 0.7216 GB, free: 12.48 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.1877, allocations: 0 / 0.7216 GB, free: 12.48 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.175e-05/0.1877, allocations: 4 kB / 0.7216 GB, free: 12.48 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.828e-05/0.1878, allocations: 23.92 kB / 0.7216 GB, free: 12.45 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.1878, allocations: 0 / 0.7216 GB, free: 12.45 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.071e-05/0.1879, allocations: 7.953 kB / 0.7216 GB, free: 12.45 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.046e-05/0.1879, allocations: 11.94 kB / 0.7217 GB, free: 12.43 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.0001186/0.188, allocations: 143.5 kB / 0.7218 GB, free: 12.28 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.693e-05/0.188, allocations: 8.031 kB / 0.7218 GB, free: 12.27 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.708e-05/0.1881, allocations: 7.453 kB / 0.7218 GB, free: 12.26 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.1881, allocations: 0 / 0.7218 GB, free: 12.26 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.1881, allocations: 0 / 0.7218 GB, free: 12.26 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.245e-06/0.1881, allocations: 0 / 0.7218 GB, free: 12.26 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001625/0.1882, allocations: 128.7 kB / 0.7219 GB, free: 12.09 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.1882, allocations: 3.938 kB / 0.7219 GB, free: 12.09 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.21e-07/0.1882, allocations: 4 kB / 0.7219 GB, free: 12.08 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.1882, allocations: 0 / 0.7219 GB, free: 12.08 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.164e-06/0.1882, allocations: 0 / 0.7219 GB, free: 12.08 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.792e-06/0.1883, allocations: 4 kB / 0.7219 GB, free: 12.08 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1883, allocations: 4 kB / 0.7219 GB, free: 12.07 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001488/0.1884, allocations: 169.1 kB / 0.7221 GB, free: 11.89 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.091e-05/0.1884, allocations: 4 kB / 0.7221 GB, free: 11.88 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.233e-05/0.1884, allocations: 3.938 kB / 0.7221 GB, free: 11.88 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.953e-05/0.1885, allocations: 0 / 0.7221 GB, free: 11.88 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.985e-05/0.1885, allocations: 7.984 kB / 0.7221 GB, free: 11.87 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-06/0.1885, allocations: 0 / 0.7221 GB, free: 11.87 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.046e-05/0.1886, allocations: 95.33 kB / 0.7222 GB, free: 11.78 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.1886, allocations: 0 / 0.7222 GB, free: 11.78 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002531/0.1888, allocations: 11.94 kB / 0.7222 GB, free: 11.77 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.0005353/0.1894, allocations: 0.7024 MB / 0.7229 GB, free: 11.03 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001631/0.1895, allocations: 87.36 kB / 0.723 GB, free: 10.93 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1895, allocations: 0 / 0.723 GB, free: 10.93 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.013e-05/0.1896, allocations: 59.41 kB / 0.723 GB, free: 10.86 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002174/0.1898, allocations: 7.938 kB / 0.7231 GB, free: 10.86 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004751/0.1903, allocations: 150.4 kB / 0.7232 GB, free: 10.67 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003143/0.1906, allocations: 0.6768 MB / 0.7239 GB, free: 9.965 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001176/0.1907, allocations: 20.3 kB / 0.7239 GB, free: 9.945 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.682e-05/0.1907, allocations: 7.438 kB / 0.7239 GB, free: 9.938 MB / 0.545 GB Notification: Performance of SimCode: time 4.11e-07/0.1907, allocations: 0 / 0.7239 GB, free: 9.938 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02964/0.2204, allocations: 1.582 MB / 0.7254 GB, free: 8.496 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.95/11.17, allocations: 10.73 kB / 0.7254 GB, free: 8.488 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: 14.955874030012637] Failed to read output from testmodel.py, exit status != 0: 11.301289099967107 11.318103731 11.129599935 Calling exit ...