Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.IsMonotonic.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.001453/0.001453, allocations: 108.3 kB / 16.46 MB, free: 6.512 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.001482/0.001482, allocations: 208.3 kB / 19.43 MB, free: 3.648 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.485/1.485, allocations: 230.6 MB / 252.8 MB, free: 8.965 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.9045/0.9045, allocations: 145 MB / 453.8 MB, free: 0.7031 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.IsMonotonic,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_IsMonotonic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.IsMonotonic,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_IsMonotonic",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.001968/0.001968, allocations: 70.75 kB / 0.6281 GB, free: 10.55 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1823/0.1843, allocations: 87.83 MB / 0.7138 GB, free: 2.738 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001739/0.186, allocations: 0.5933 MB / 0.7144 GB, free: 2.145 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0003076/0.1863, allocations: 75.78 kB / 0.7145 GB, free: 2.07 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.558e-05/0.1864, allocations: 0 / 0.7145 GB, free: 2.07 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.206e-05/0.1864, allocations: 3.984 kB / 0.7145 GB, free: 2.066 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.294e-05/0.1865, allocations: 11.88 kB / 0.7145 GB, free: 2.055 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002771/0.1867, allocations: 47.94 kB / 0.7146 GB, free: 2.008 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.316e-05/0.1868, allocations: 23.92 kB / 0.7146 GB, free: 1.984 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.656e-05/0.1868, allocations: 0 / 0.7146 GB, free: 1.984 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.548e-05/0.1869, allocations: 15.97 kB / 0.7146 GB, free: 1.969 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001854/0.187, allocations: 67.88 kB / 0.7147 GB, free: 1.902 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.29e-05/0.1871, allocations: 0 / 0.7147 GB, free: 1.902 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 9.69e-05/0.1871, allocations: 39.95 kB / 0.7147 GB, free: 1.863 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.52e-05/0.1872, allocations: 16 kB / 0.7147 GB, free: 1.848 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.282e-05/0.1872, allocations: 23.78 kB / 0.7147 GB, free: 1.824 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001268/0.1873, allocations: 72.02 kB / 0.7148 GB, free: 1.754 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.1873, allocations: 0 / 0.7148 GB, free: 1.754 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.253e-06/0.1873, allocations: 0 / 0.7148 GB, free: 1.754 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.1874, allocations: 0 / 0.7148 GB, free: 1.754 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0003987/0.1878, allocations: 363.3 kB / 0.7152 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.289e-05/0.1878, allocations: 8.031 kB / 0.7152 GB, free: 1.34 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.93e-05/0.1878, allocations: 42.73 kB / 0.7152 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.682e-05/0.1879, allocations: 12.88 kB / 0.7152 GB, free: 1.277 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001172/0.188, allocations: 168.3 kB / 0.7154 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.139e-05/0.188, allocations: 384 / 0.7154 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.565e-06/0.188, allocations: 4.375 kB / 0.7154 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002622/0.1883, allocations: 187.1 kB / 0.7156 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.1883, allocations: 0 / 0.7156 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.1883, allocations: 4 kB / 0.7156 GB, free: 0.8594 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.19e-05/0.1883, allocations: 23.98 kB / 0.7156 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.897e-05/0.1884, allocations: 39.84 kB / 0.7156 GB, free: 0.7969 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007664/0.1892, allocations: 0.9102 MB / 0.7165 GB, free: 15.82 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001079/0.1893, allocations: 169.5 kB / 0.7167 GB, free: 15.64 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.619e-05/0.1893, allocations: 80.14 kB / 0.7168 GB, free: 15.56 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.644e-05/0.1894, allocations: 79.31 kB / 0.7168 GB, free: 15.48 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.514e-05/0.1894, allocations: 113.8 kB / 0.7169 GB, free: 15.36 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 2.665e-06/0.1894, allocations: 7.984 kB / 0.7169 GB, free: 15.35 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 9.242e-05/0.1895, allocations: 37.66 kB / 0.717 GB, free: 15.31 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002169/0.1897, allocations: 387.7 kB / 0.7173 GB, free: 14.86 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001608/0.1899, allocations: 170.4 kB / 0.7175 GB, free: 14.68 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.206e-05/0.1899, allocations: 29.7 kB / 0.7175 GB, free: 14.65 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001034/0.19, allocations: 147.5 kB / 0.7177 GB, free: 14.5 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.274e-06/0.19, allocations: 7.984 kB / 0.7177 GB, free: 14.49 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.132e-05/0.1901, allocations: 53.66 kB / 0.7177 GB, free: 14.43 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.1902, allocations: 326.8 kB / 0.7181 GB, free: 14.11 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.326e-05/0.1903, allocations: 31.91 kB / 0.7181 GB, free: 14.07 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002261/0.1905, allocations: 214.5 kB / 0.7183 GB, free: 13.77 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002131/0.1907, allocations: 197.8 kB / 0.7185 GB, free: 13.51 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.1907, allocations: 4 kB / 0.7185 GB, free: 13.51 MB / 0.545 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003072/0.191, allocations: 189.1 kB / 0.7187 GB, free: 13.32 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.1911, allocations: 8 kB / 0.7187 GB, free: 13.31 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.445e-06/0.1911, allocations: 4 kB / 0.7187 GB, free: 13.3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.993e-05/0.1911, allocations: 11.94 kB / 0.7187 GB, free: 13.29 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001211/0.1912, allocations: 40.58 kB / 0.7187 GB, free: 13.25 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.939e-06/0.1912, allocations: 11.94 kB / 0.7187 GB, free: 13.24 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001022/0.1913, allocations: 39.77 kB / 0.7188 GB, free: 13.2 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.389e-05/0.1913, allocations: 12 kB / 0.7188 GB, free: 13.19 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (21): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * 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.0001342/0.1915, allocations: 205.1 kB / 0.719 GB, free: 12.98 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.549e-05/0.1915, allocations: 112.9 kB / 0.7191 GB, free: 12.86 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.132e-05/0.1916, allocations: 120.7 kB / 0.7192 GB, free: 12.74 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.48e-05/0.1917, allocations: 180.3 kB / 0.7194 GB, free: 12.55 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.279e-05/0.1918, allocations: 188.2 kB / 0.7196 GB, free: 12.36 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.578e-05/0.1919, allocations: 176.3 kB / 0.7197 GB, free: 12.18 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002754/0.1921, allocations: 421.2 kB / 0.7201 GB, free: 11.71 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.694e-05/0.1922, allocations: 104.9 kB / 0.7202 GB, free: 11.61 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.178e-05/0.1922, allocations: 105 kB / 0.7203 GB, free: 11.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.931e-05/0.1923, allocations: 192.2 kB / 0.7205 GB, free: 11.3 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.593e-05/0.1924, allocations: 180.3 kB / 0.7207 GB, free: 11.12 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.198e-05/0.1925, allocations: 184.9 kB / 0.7209 GB, free: 10.93 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.065e-05/0.1926, allocations: 176.3 kB / 0.721 GB, free: 10.75 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001732/0.1927, allocations: 315.8 kB / 0.7213 GB, free: 10.42 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001014/0.1928, allocations: 186 kB / 0.7215 GB, free: 10.21 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00014/0.193, allocations: 188.1 kB / 0.7217 GB, free: 10.02 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.71e-05/0.1931, allocations: 105.3 kB / 0.7218 GB, free: 9.91 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.335e-05/0.1932, allocations: 184.2 kB / 0.722 GB, free: 9.723 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.763e-05/0.1932, allocations: 105 kB / 0.7221 GB, free: 9.613 MB / 0.545 GB Notification: Performance of sorting global known variables: time 9.836e-05/0.1933, allocations: 115.2 kB / 0.7222 GB, free: 9.5 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.1933, allocations: 4 kB / 0.7222 GB, free: 9.496 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003346/0.1936, allocations: 27.94 kB / 0.7222 GB, free: 9.469 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 (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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.0005938/0.1942, allocations: 0.8321 MB / 0.723 GB, free: 8.609 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001594/0.1944, allocations: 75.72 kB / 0.7231 GB, free: 8.535 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1944, allocations: 0 / 0.7231 GB, free: 8.535 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.353e-06/0.1944, allocations: 0 / 0.7231 GB, free: 8.535 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004131/0.1948, allocations: 474.9 kB / 0.7235 GB, free: 8.07 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005307/0.1953, allocations: 278.3 kB / 0.7238 GB, free: 7.754 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003465/0.1957, allocations: 0.6968 MB / 0.7245 GB, free: 7.031 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002182/0.1959, allocations: 52.58 kB / 0.7245 GB, free: 6.98 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.404e-05/0.1959, allocations: 27.42 kB / 0.7246 GB, free: 6.953 MB / 0.545 GB Notification: Performance of SimCode: time 2.9e-07/0.1959, allocations: 0 / 0.7246 GB, free: 6.953 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02631/0.2223, allocations: 2.985 MB / 0.7275 GB, free: 4.117 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.855/8.078, allocations: 18.62 kB / 0.7275 GB, free: 4.102 MB / 0.545 GB " [Timeout remaining time 652] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.IsMonotonic.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.IsMonotonic_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_IsMonotonic.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.775445882012718] Failed to read output from testmodel.py, exit status != 0: 8.144015391007997 8.16490999 7.974632853 Calling exit ...