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.001301/0.001301, allocations: 110.6 kB / 18.94 MB, free: 2.949 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.001443/0.001443, allocations: 220.3 kB / 22.26 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.473/1.473, allocations: 230.6 MB / 256 MB, free: 7.961 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.9039/0.9039, allocations: 145 MB / 457.4 MB, free: 15.45 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.00197/0.00197, allocations: 71.05 kB / 0.6332 GB, free: 7.227 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1718/0.1737, allocations: 87.88 MB / 0.719 GB, free: 15.36 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001869/0.1756, allocations: 0.6117 MB / 0.7196 GB, free: 14.75 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0003746/0.176, allocations: 75.78 kB / 0.7197 GB, free: 14.67 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.179e-05/0.176, allocations: 0 / 0.7197 GB, free: 14.67 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.304e-05/0.176, allocations: 3.828 kB / 0.7197 GB, free: 14.67 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.082e-05/0.1761, allocations: 11.92 kB / 0.7197 GB, free: 14.66 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003262/0.1764, allocations: 43.95 kB / 0.7198 GB, free: 14.62 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.529e-05/0.1765, allocations: 27.95 kB / 0.7198 GB, free: 14.59 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.544e-05/0.1766, allocations: 8 kB / 0.7198 GB, free: 14.58 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.673e-05/0.1766, allocations: 8 kB / 0.7198 GB, free: 14.57 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001961/0.1768, allocations: 71.81 kB / 0.7199 GB, free: 14.5 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.201e-05/0.1768, allocations: 4 kB / 0.7199 GB, free: 14.5 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001082/0.1769, allocations: 43.94 kB / 0.7199 GB, free: 14.46 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.218e-05/0.1769, allocations: 27.91 kB / 0.7199 GB, free: 14.43 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.089e-05/0.177, allocations: 15.88 kB / 0.72 GB, free: 14.41 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001344/0.1771, allocations: 67.73 kB / 0.72 GB, free: 14.35 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.1771, allocations: 0 / 0.72 GB, free: 14.35 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.513e-06/0.1771, allocations: 4 kB / 0.72 GB, free: 14.34 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.766e-06/0.1771, allocations: 0 / 0.72 GB, free: 14.34 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.0003387/0.1775, allocations: 286.2 kB / 0.7203 GB, free: 14.03 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.1775, allocations: 8.031 kB / 0.7203 GB, free: 14.02 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.287e-05/0.1775, allocations: 38.73 kB / 0.7203 GB, free: 13.98 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.226e-05/0.1776, allocations: 8.891 kB / 0.7203 GB, free: 13.97 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.935e-05/0.1777, allocations: 118.4 kB / 0.7205 GB, free: 13.83 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/0.1777, allocations: 384 / 0.7205 GB, free: 13.83 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.379e-05/0.1777, allocations: 8.359 kB / 0.7205 GB, free: 13.82 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002697/0.178, allocations: 181.1 kB / 0.7206 GB, free: 13.62 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.178, allocations: 0 / 0.7206 GB, free: 13.62 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.479e-05/0.178, allocations: 7.984 kB / 0.7206 GB, free: 13.61 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.285e-05/0.178, allocations: 19.98 kB / 0.7207 GB, free: 13.59 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.252e-05/0.1781, allocations: 35.91 kB / 0.7207 GB, free: 13.56 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007256/0.1788, allocations: 0.878 MB / 0.7216 GB, free: 12.62 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000111/0.1789, allocations: 177.1 kB / 0.7217 GB, free: 12.43 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.926e-05/0.179, allocations: 80.14 kB / 0.7218 GB, free: 12.35 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.825e-05/0.179, allocations: 79.27 kB / 0.7219 GB, free: 12.27 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.886e-05/0.1791, allocations: 113.8 kB / 0.722 GB, free: 12.15 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 7.41e-07/0.1791, allocations: 0 / 0.722 GB, free: 12.15 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 9.029e-05/0.1792, allocations: 41.64 kB / 0.722 GB, free: 12.11 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002061/0.1794, allocations: 387.7 kB / 0.7224 GB, free: 11.65 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001664/0.1795, allocations: 162.3 kB / 0.7226 GB, free: 11.48 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.782e-05/0.1796, allocations: 33.58 kB / 0.7226 GB, free: 11.45 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.00011/0.1797, allocations: 159.4 kB / 0.7227 GB, free: 11.29 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.282e-06/0.1797, allocations: 4 kB / 0.7227 GB, free: 11.28 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.804e-05/0.1797, allocations: 57.59 kB / 0.7228 GB, free: 11.22 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001487/0.1799, allocations: 326.8 kB / 0.7231 GB, free: 10.89 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.112e-05/0.1799, allocations: 27.98 kB / 0.7231 GB, free: 10.86 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002114/0.1801, allocations: 221.9 kB / 0.7233 GB, free: 10.55 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002152/0.1804, allocations: 197.8 kB / 0.7235 GB, free: 10.3 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.604e-06/0.1804, allocations: 4 kB / 0.7235 GB, free: 10.29 MB / 0.545 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003094/0.1807, allocations: 189.3 kB / 0.7237 GB, free: 10.1 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.1807, allocations: 7.984 kB / 0.7237 GB, free: 10.09 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.846e-06/0.1807, allocations: 8 kB / 0.7237 GB, free: 10.09 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.1807, allocations: 7.938 kB / 0.7237 GB, free: 10.08 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000126/0.1808, allocations: 43.92 kB / 0.7238 GB, free: 10.04 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.146e-05/0.1809, allocations: 7.938 kB / 0.7238 GB, free: 10.03 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.123e-05/0.1809, allocations: 24.31 kB / 0.7238 GB, free: 10 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.631e-05/0.181, allocations: 20 kB / 0.7238 GB, free: 9.984 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.0001364/0.1811, allocations: 209 kB / 0.724 GB, free: 9.77 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.589e-05/0.1812, allocations: 116.9 kB / 0.7241 GB, free: 9.648 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.487e-05/0.1813, allocations: 124.7 kB / 0.7243 GB, free: 9.516 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.289e-05/0.1813, allocations: 176.3 kB / 0.7244 GB, free: 9.336 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.588e-05/0.1814, allocations: 180.2 kB / 0.7246 GB, free: 9.152 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.679e-05/0.1815, allocations: 180.3 kB / 0.7248 GB, free: 8.969 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002653/0.1817, allocations: 392.3 kB / 0.7251 GB, free: 8.535 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.893e-05/0.1818, allocations: 108.9 kB / 0.7253 GB, free: 8.422 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.061e-05/0.1818, allocations: 101 kB / 0.7253 GB, free: 8.316 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.619e-05/0.1819, allocations: 184.2 kB / 0.7255 GB, free: 8.129 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.686e-05/0.182, allocations: 184.2 kB / 0.7257 GB, free: 7.941 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.485e-05/0.1821, allocations: 184.9 kB / 0.7259 GB, free: 7.754 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.176e-05/0.1821, allocations: 180.2 kB / 0.726 GB, free: 7.57 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001575/0.1823, allocations: 307.8 kB / 0.7263 GB, free: 7.246 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.652e-05/0.1823, allocations: 112.9 kB / 0.7265 GB, free: 7.129 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001/0.1824, allocations: 188.5 kB / 0.7266 GB, free: 6.938 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.313e-05/0.1825, allocations: 112.9 kB / 0.7267 GB, free: 6.82 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.023e-05/0.1826, allocations: 180.3 kB / 0.7269 GB, free: 6.637 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.792e-05/0.1827, allocations: 108.9 kB / 0.727 GB, free: 6.523 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.811e-05/0.1827, allocations: 111.2 kB / 0.7271 GB, free: 6.414 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.1827, allocations: 0 / 0.7271 GB, free: 6.414 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003099/0.1831, allocations: 35.98 kB / 0.7272 GB, free: 6.379 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.000498/0.1835, allocations: 0.8165 MB / 0.728 GB, free: 5.535 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001588/0.1837, allocations: 88.14 kB / 0.728 GB, free: 5.449 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.1837, allocations: 0 / 0.728 GB, free: 5.449 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.232e-06/0.1837, allocations: 0 / 0.728 GB, free: 5.449 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003968/0.1841, allocations: 471.6 kB / 0.7285 GB, free: 4.984 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005018/0.1846, allocations: 279 kB / 0.7288 GB, free: 4.668 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000308/0.1849, allocations: 0.6891 MB / 0.7294 GB, free: 3.953 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001949/0.1851, allocations: 56.58 kB / 0.7295 GB, free: 3.895 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.32e-05/0.1851, allocations: 23.44 kB / 0.7295 GB, free: 3.871 MB / 0.545 GB Notification: Performance of SimCode: time 3.01e-07/0.1851, allocations: 0 / 0.7295 GB, free: 3.871 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02857/0.2137, allocations: 3.184 MB / 0.7326 GB, free: 0.8633 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.9/11.11, allocations: 6.5 kB / 0.7326 GB, free: 0.8594 MB / 0.545 GB " [Timeout remaining time 649] (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: 14.843992032998358] Failed to read output from testmodel.py, exit status != 0: 11.215411786000914 11.232799956 11.052227369 Calling exit ...