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.00165/0.00165, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001814/0.001814, allocations: 209.7 kB / 23.04 MB, free: 5.074 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.491/1.491, allocations: 230.6 MB / 256.8 MB, free: 8.027 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.9029/0.9029, allocations: 145 MB / 458.2 MB, free: 15.56 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_TrapezoidalIntegration",fmuType="cs",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.001991/0.001991, allocations: 64.72 kB / 0.634 GB, free: 7.289 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1806/0.1826, allocations: 87.89 MB / 0.7198 GB, free: 15.4 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001829/0.1844, allocations: 0.5715 MB / 0.7204 GB, free: 14.83 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0002691/0.1847, allocations: 47.88 kB / 0.7204 GB, free: 14.79 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.246e-05/0.1847, allocations: 0 / 0.7204 GB, free: 14.79 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.031e-05/0.1847, allocations: 3.938 kB / 0.7204 GB, free: 14.78 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.783e-05/0.1848, allocations: 0 / 0.7204 GB, free: 14.78 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002204/0.185, allocations: 11.98 kB / 0.7204 GB, free: 14.77 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.607e-05/0.1851, allocations: 4 kB / 0.7204 GB, free: 14.77 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.453e-05/0.1851, allocations: 3.938 kB / 0.7204 GB, free: 14.76 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.579e-05/0.1851, allocations: 11.98 kB / 0.7204 GB, free: 14.75 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.407e-05/0.1852, allocations: 3.984 kB / 0.7204 GB, free: 14.75 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.446e-05/0.1852, allocations: 0 / 0.7204 GB, free: 14.75 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 8.654e-05/0.1853, allocations: 19.98 kB / 0.7205 GB, free: 14.73 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.793e-05/0.1853, allocations: 12 kB / 0.7205 GB, free: 14.71 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.622e-05/0.1853, allocations: 3.938 kB / 0.7205 GB, free: 14.71 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001119/0.1855, allocations: 27.91 kB / 0.7205 GB, free: 14.68 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.1855, allocations: 0 / 0.7205 GB, free: 14.68 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.282e-06/0.1855, allocations: 0 / 0.7205 GB, free: 14.68 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.1855, allocations: 0 / 0.7205 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.0003728/0.1858, allocations: 272 kB / 0.7208 GB, free: 14.38 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.1859, allocations: 8.031 kB / 0.7208 GB, free: 14.37 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.722e-05/0.1859, allocations: 12.17 kB / 0.7208 GB, free: 14.36 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.71e-05/0.1859, allocations: 34.75 kB / 0.7208 GB, free: 14.32 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.512e-05/0.186, allocations: 0.9375 kB / 0.7208 GB, free: 14.32 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.64e-05/0.186, allocations: 110.5 kB / 0.7209 GB, free: 14.18 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.434e-06/0.186, allocations: 384 / 0.7209 GB, free: 14.18 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.969e-06/0.1861, allocations: 384 / 0.7209 GB, free: 14.18 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001411/0.1862, allocations: 61.94 kB / 0.721 GB, free: 14.12 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.1862, allocations: 0 / 0.721 GB, free: 14.12 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.468e-06/0.1862, allocations: 4 kB / 0.721 GB, free: 14.11 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.511e-05/0.1862, allocations: 7.984 kB / 0.721 GB, free: 14.11 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.225e-05/0.1863, allocations: 31.98 kB / 0.721 GB, free: 14.07 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003502/0.1866, allocations: 231.9 kB / 0.7213 GB, free: 13.8 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 4.952e-05/0.1867, allocations: 26.45 kB / 0.7213 GB, free: 13.77 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.86e-05/0.1867, allocations: 8.906 kB / 0.7213 GB, free: 13.76 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.637e-06/0.1867, allocations: 4 kB / 0.7213 GB, free: 13.75 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.1867, allocations: 30.56 kB / 0.7213 GB, free: 13.71 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 9.31e-07/0.1867, allocations: 4 kB / 0.7213 GB, free: 13.71 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0001859/0.1869, allocations: 67.36 kB / 0.7214 GB, free: 13.63 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.556e-05/0.187, allocations: 81.11 kB / 0.7215 GB, free: 13.54 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001022/0.1871, allocations: 117.8 kB / 0.7216 GB, free: 13.41 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.092e-05/0.1871, allocations: 29.7 kB / 0.7216 GB, free: 13.38 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.73e-05/0.1872, allocations: 104 kB / 0.7217 GB, free: 13.27 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.009e-05/0.1872, allocations: 7.891 kB / 0.7217 GB, free: 13.26 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.312e-05/0.1872, allocations: 25.83 kB / 0.7217 GB, free: 13.23 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.1874, allocations: 322.8 kB / 0.722 GB, free: 12.91 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.642e-05/0.1874, allocations: 11.98 kB / 0.7221 GB, free: 12.89 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.257e-05/0.1874, allocations: 59.17 kB / 0.7221 GB, free: 12.81 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000121/0.1876, allocations: 130.1 kB / 0.7222 GB, free: 12.65 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.1876, allocations: 0 / 0.7222 GB, free: 12.65 MB / 0.545 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001698/0.1877, allocations: 119.2 kB / 0.7223 GB, free: 12.52 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.339e-05/0.1878, allocations: 29.7 kB / 0.7224 GB, free: 12.48 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.1878, allocations: 4 kB / 0.7224 GB, free: 12.48 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.1878, allocations: 0 / 0.7224 GB, free: 12.48 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.955e-05/0.1879, allocations: 19.94 kB / 0.7224 GB, free: 12.46 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.1879, allocations: 160 / 0.7224 GB, free: 12.46 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.946e-05/0.1879, allocations: 19.88 kB / 0.7224 GB, free: 12.44 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.53e-05/0.188, allocations: 12.23 kB / 0.7224 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 9.74e-05/0.188, allocations: 143.5 kB / 0.7226 GB, free: 12.27 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.663e-05/0.1881, allocations: 7.984 kB / 0.7226 GB, free: 12.27 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.187e-05/0.1881, allocations: 3.469 kB / 0.7226 GB, free: 12.26 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.52e-07/0.1881, allocations: 0 / 0.7226 GB, free: 12.26 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.1881, allocations: 3.984 kB / 0.7226 GB, free: 12.25 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.1881, allocations: 3.938 kB / 0.7226 GB, free: 12.25 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001435/0.1882, allocations: 124.8 kB / 0.7227 GB, free: 12.09 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.51e-07/0.1882, allocations: 0 / 0.7227 GB, free: 12.09 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.28e-06/0.1882, allocations: 11.92 kB / 0.7227 GB, free: 12.07 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.052e-06/0.1882, allocations: 0 / 0.7227 GB, free: 12.07 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.622e-06/0.1883, allocations: 0 / 0.7227 GB, free: 12.07 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.1883, allocations: 3.938 kB / 0.7227 GB, free: 12.07 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-07/0.1883, allocations: 0 / 0.7227 GB, free: 12.07 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001314/0.1884, allocations: 169.1 kB / 0.7229 GB, free: 11.88 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.222e-06/0.1884, allocations: 4 kB / 0.7229 GB, free: 11.88 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.099e-05/0.1884, allocations: 0 / 0.7229 GB, free: 11.88 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.59e-05/0.1885, allocations: 4.031 kB / 0.7229 GB, free: 11.88 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.345e-05/0.1885, allocations: 4 kB / 0.7229 GB, free: 11.87 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.055e-06/0.1885, allocations: 7.938 kB / 0.7229 GB, free: 11.86 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.217e-05/0.1885, allocations: 95.2 kB / 0.723 GB, free: 11.77 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.1885, allocations: 0 / 0.723 GB, free: 11.77 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002629/0.1888, allocations: 15.94 kB / 0.723 GB, free: 11.75 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.0005598/0.1894, allocations: 0.6947 MB / 0.7237 GB, free: 11.03 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001692/0.1895, allocations: 79.33 kB / 0.7238 GB, free: 10.94 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1895, allocations: 0 / 0.7238 GB, free: 10.94 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.386e-05/0.1896, allocations: 67.33 kB / 0.7238 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.0002333/0.1898, allocations: 7.938 kB / 0.7238 GB, free: 10.85 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004641/0.1903, allocations: 143.1 kB / 0.724 GB, free: 10.67 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000383/0.1907, allocations: 0.6826 MB / 0.7246 GB, free: 9.965 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001399/0.1908, allocations: 15.72 kB / 0.7247 GB, free: 9.949 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.551e-05/0.1908, allocations: 11.44 kB / 0.7247 GB, free: 9.938 MB / 0.545 GB Notification: Performance of SimCode: time 3.11e-07/0.1908, allocations: 0 / 0.7247 GB, free: 9.938 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02206/0.2129, allocations: 1.604 MB / 0.7262 GB, free: 8.484 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.85/11.06, allocations: 11.09 kB / 0.7262 GB, free: 8.477 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.864794388995506] Failed to read output from testmodel.py, exit status != 0: 11.219517941004597 11.23693925 11.048226095 Calling exit ...