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.001353/0.001353, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001606/0.001606, allocations: 212.9 kB / 22.25 MB, free: 5.262 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.472/1.472, allocations: 230.6 MB / 256 MB, free: 7.789 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 1.075/1.075, allocations: 145 MB / 457.4 MB, free: 15.71 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.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.00204/0.00204, allocations: 70.83 kB / 0.6331 GB, free: 6.77 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1774/0.1795, allocations: 87.88 MB / 0.719 GB, free: 14.9 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.IsMonotonic): time 0.002474/0.1819, allocations: 0.5923 MB / 0.7195 GB, free: 14.3 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0003605/0.1823, allocations: 83.84 kB / 0.7196 GB, free: 14.22 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.238e-05/0.1823, allocations: 0 / 0.7196 GB, free: 14.22 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.567e-05/0.1824, allocations: 4 kB / 0.7196 GB, free: 14.22 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.662e-05/0.1824, allocations: 7.922 kB / 0.7196 GB, free: 14.21 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003194/0.1827, allocations: 43.95 kB / 0.7197 GB, free: 14.17 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.494e-05/0.1828, allocations: 31.84 kB / 0.7197 GB, free: 14.14 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.138e-05/0.1828, allocations: 0 / 0.7197 GB, free: 14.14 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.11e-05/0.1829, allocations: 8 kB / 0.7197 GB, free: 14.13 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002158/0.1831, allocations: 79.86 kB / 0.7198 GB, free: 14.05 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.583e-05/0.1831, allocations: 0 / 0.7198 GB, free: 14.05 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001204/0.1832, allocations: 43.94 kB / 0.7198 GB, free: 14.01 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.896e-05/0.1833, allocations: 15.98 kB / 0.7198 GB, free: 13.99 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.631e-05/0.1833, allocations: 23.86 kB / 0.7199 GB, free: 13.97 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001607/0.1835, allocations: 63.73 kB / 0.7199 GB, free: 13.91 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1835, allocations: 0 / 0.7199 GB, free: 13.91 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.112e-06/0.1835, allocations: 4 kB / 0.7199 GB, free: 13.9 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.1835, allocations: 0 / 0.7199 GB, free: 13.9 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0003907/0.1839, allocations: 278.3 kB / 0.7202 GB, free: 13.6 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.1839, allocations: 8.031 kB / 0.7202 GB, free: 13.59 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.948e-05/0.1839, allocations: 46.73 kB / 0.7203 GB, free: 13.54 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.456e-05/0.184, allocations: 8.891 kB / 0.7203 GB, free: 13.53 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001113/0.1841, allocations: 118.4 kB / 0.7204 GB, free: 13.39 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.655e-06/0.1841, allocations: 4.312 kB / 0.7204 GB, free: 13.38 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.337e-05/0.1841, allocations: 4.375 kB / 0.7204 GB, free: 13.38 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005252/0.1846, allocations: 440.2 kB / 0.7208 GB, free: 12.86 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/0.1846, allocations: 0 / 0.7208 GB, free: 12.86 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.386e-05/0.1847, allocations: 0 / 0.7208 GB, free: 12.86 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.738e-05/0.1847, allocations: 23.98 kB / 0.7208 GB, free: 12.84 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.75e-05/0.1848, allocations: 43.84 kB / 0.7209 GB, free: 12.8 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009339/0.1857, allocations: 0.8703 MB / 0.7217 GB, free: 11.86 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001187/0.1858, allocations: 177.1 kB / 0.7219 GB, free: 11.68 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.445e-05/0.1859, allocations: 80.14 kB / 0.722 GB, free: 11.6 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.164e-05/0.1859, allocations: 79.22 kB / 0.722 GB, free: 11.52 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.796e-05/0.186, allocations: 113.8 kB / 0.7221 GB, free: 11.4 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.186, allocations: 0 / 0.7221 GB, free: 11.4 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 9.518e-05/0.1861, allocations: 33.66 kB / 0.7222 GB, free: 11.36 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00024/0.1863, allocations: 395.7 kB / 0.7226 GB, free: 10.9 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001956/0.1865, allocations: 171.3 kB / 0.7227 GB, free: 10.72 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.75e-05/0.1865, allocations: 29.7 kB / 0.7227 GB, free: 10.69 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001189/0.1867, allocations: 151.5 kB / 0.7229 GB, free: 10.54 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.841e-06/0.1867, allocations: 8 kB / 0.7229 GB, free: 10.53 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.567e-05/0.1867, allocations: 57.64 kB / 0.723 GB, free: 10.46 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001522/0.1869, allocations: 318.8 kB / 0.7233 GB, free: 10.14 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.501e-05/0.187, allocations: 27.97 kB / 0.7233 GB, free: 10.12 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003672/0.1873, allocations: 481.1 kB / 0.7237 GB, free: 9.492 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002387/0.1876, allocations: 201.8 kB / 0.7239 GB, free: 9.23 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.1876, allocations: 0 / 0.7239 GB, free: 9.23 MB / 0.545 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003546/0.1879, allocations: 193.5 kB / 0.7241 GB, free: 9.035 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/0.1879, allocations: 10.03 kB / 0.7241 GB, free: 9.027 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/0.188, allocations: 4 kB / 0.7241 GB, free: 9.023 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.125e-05/0.188, allocations: 11.94 kB / 0.7241 GB, free: 9.012 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000139/0.1881, allocations: 35.92 kB / 0.7242 GB, free: 8.977 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.307e-05/0.1881, allocations: 11.94 kB / 0.7242 GB, free: 8.965 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.546e-05/0.1882, allocations: 23.84 kB / 0.7242 GB, free: 8.941 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.867e-05/0.1882, allocations: 19.98 kB / 0.7242 GB, free: 8.922 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.0001733/0.1884, allocations: 217.3 kB / 0.7244 GB, free: 8.699 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.643e-05/0.1885, allocations: 112.9 kB / 0.7245 GB, free: 8.582 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.363e-05/0.1886, allocations: 120.7 kB / 0.7247 GB, free: 8.453 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.27e-05/0.1887, allocations: 180.3 kB / 0.7248 GB, free: 8.27 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.212e-05/0.1888, allocations: 180.2 kB / 0.725 GB, free: 8.086 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.848e-05/0.1888, allocations: 180.2 kB / 0.7252 GB, free: 7.902 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003154/0.1892, allocations: 396.2 kB / 0.7256 GB, free: 7.465 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.341e-05/0.1892, allocations: 105.1 kB / 0.7257 GB, free: 7.355 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.566e-05/0.1893, allocations: 104.9 kB / 0.7258 GB, free: 7.246 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.088e-05/0.1894, allocations: 184.2 kB / 0.7259 GB, free: 7.059 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.734e-05/0.1895, allocations: 188.2 kB / 0.7261 GB, free: 6.867 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.026e-05/0.1895, allocations: 184.8 kB / 0.7263 GB, free: 6.68 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.313e-05/0.1896, allocations: 176.3 kB / 0.7265 GB, free: 6.5 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001972/0.1898, allocations: 323.6 kB / 0.7268 GB, free: 6.16 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.034e-05/0.1899, allocations: 108.9 kB / 0.7269 GB, free: 6.047 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001072/0.19, allocations: 188.4 kB / 0.727 GB, free: 5.855 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.1901, allocations: 105 kB / 0.7271 GB, free: 5.746 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.842e-05/0.1902, allocations: 192.2 kB / 0.7273 GB, free: 5.551 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.718e-05/0.1903, allocations: 105 kB / 0.7274 GB, free: 5.441 MB / 0.545 GB Notification: Performance of sorting global known variables: time 9.518e-05/0.1904, allocations: 113.7 kB / 0.7275 GB, free: 5.332 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.1904, allocations: 0 / 0.7275 GB, free: 5.332 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003277/0.1907, allocations: 32 kB / 0.7276 GB, free: 5.301 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.0006232/0.1913, allocations: 0.8242 MB / 0.7284 GB, free: 4.449 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001895/0.1915, allocations: 69.03 kB / 0.7284 GB, free: 4.383 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/0.1915, allocations: 4 kB / 0.7284 GB, free: 4.379 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.793e-06/0.1915, allocations: 0 / 0.7284 GB, free: 4.379 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004537/0.192, allocations: 463.7 kB / 0.7289 GB, free: 3.922 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006448/0.1926, allocations: 282.2 kB / 0.7292 GB, free: 3.602 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.654e-05/0.1927, allocations: 84.22 kB / 0.7292 GB, free: 3.5 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002636/0.193, allocations: 52.59 kB / 0.7293 GB, free: 3.445 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.435e-05/0.193, allocations: 23.42 kB / 0.7293 GB, free: 3.422 MB / 0.545 GB Notification: Performance of SimCode: time 9.41e-07/0.193, allocations: 4 kB / 0.7293 GB, free: 3.418 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0322/0.2252, allocations: 3.627 MB / 0.7329 GB, free: 4 kB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/11.41, allocations: 0.5 kB / 0.7329 GB, free: 4 kB / 0.545 GB " [Timeout remaining time 648] (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: 15.402633952442557] Failed to read output from testmodel.py, exit status != 0: 11.517224103212357 11.540760064 11.352892699 Calling exit ...