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.001232/0.001232, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001375/0.001375, allocations: 217.5 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.449/1.449, allocations: 230.6 MB / 256.8 MB, free: 8.02 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.9367/0.9367, allocations: 145 MB / 458.2 MB, free: 15.54 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.IsMonotonic,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_IsMonotonic",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.002228/0.002228, allocations: 65.7 kB / 0.634 GB, free: 7.293 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1671/0.1693, allocations: 87.88 MB / 0.7198 GB, free: 15.43 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.IsMonotonic): time 0.00232/0.1716, allocations: 0.6069 MB / 0.7204 GB, free: 14.82 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0003418/0.172, allocations: 67.84 kB / 0.7205 GB, free: 14.75 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.628e-05/0.172, allocations: 0 / 0.7205 GB, free: 14.75 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 4.735e-05/0.1721, allocations: 11.92 kB / 0.7205 GB, free: 14.74 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.215e-05/0.1721, allocations: 3.938 kB / 0.7205 GB, free: 14.74 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003614/0.1725, allocations: 55.88 kB / 0.7205 GB, free: 14.68 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.507e-05/0.1725, allocations: 19.98 kB / 0.7205 GB, free: 14.66 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.805e-05/0.1726, allocations: 4 kB / 0.7205 GB, free: 14.66 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.234e-05/0.1726, allocations: 15.97 kB / 0.7206 GB, free: 14.64 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002406/0.1729, allocations: 71.88 kB / 0.7206 GB, free: 14.57 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.429e-05/0.1729, allocations: 0 / 0.7206 GB, free: 14.57 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001259/0.173, allocations: 47.94 kB / 0.7207 GB, free: 14.53 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.176e-05/0.1731, allocations: 12 kB / 0.7207 GB, free: 14.52 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.318e-05/0.1731, allocations: 27.8 kB / 0.7207 GB, free: 14.49 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001565/0.1733, allocations: 71.66 kB / 0.7208 GB, free: 14.42 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1733, allocations: 4 kB / 0.7208 GB, free: 14.41 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.213e-06/0.1733, allocations: 0 / 0.7208 GB, free: 14.41 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.1733, allocations: 4 kB / 0.7208 GB, free: 14.41 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.0003985/0.1737, allocations: 278.3 kB / 0.7211 GB, free: 14.11 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.1737, allocations: 12.03 kB / 0.7211 GB, free: 14.09 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.748e-05/0.1737, allocations: 192 / 0.7211 GB, free: 14.09 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.296e-05/0.1738, allocations: 42.73 kB / 0.7211 GB, free: 14.04 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.484e-05/0.1738, allocations: 8.891 kB / 0.7211 GB, free: 14.04 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.648e-05/0.1739, allocations: 114.4 kB / 0.7212 GB, free: 13.9 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.1739, allocations: 4.375 kB / 0.7212 GB, free: 13.89 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.21e-05/0.1739, allocations: 4.375 kB / 0.7212 GB, free: 13.89 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002898/0.1742, allocations: 179.1 kB / 0.7214 GB, free: 13.69 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.582e-05/0.1742, allocations: 3.938 kB / 0.7214 GB, free: 13.69 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.463e-05/0.1742, allocations: 0 / 0.7214 GB, free: 13.69 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.013e-05/0.1743, allocations: 23.98 kB / 0.7214 GB, free: 13.66 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.113e-05/0.1744, allocations: 35.91 kB / 0.7215 GB, free: 13.63 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007509/0.1751, allocations: 0.8858 MB / 0.7223 GB, free: 12.68 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001007/0.1752, allocations: 173.1 kB / 0.7225 GB, free: 12.5 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.282e-05/0.1752, allocations: 80.14 kB / 0.7226 GB, free: 12.42 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.476e-05/0.1753, allocations: 75.28 kB / 0.7226 GB, free: 12.34 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.158e-05/0.1754, allocations: 121.8 kB / 0.7228 GB, free: 12.21 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 8.01e-07/0.1754, allocations: 0 / 0.7228 GB, free: 12.21 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 9.583e-05/0.1754, allocations: 37.66 kB / 0.7228 GB, free: 12.17 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002085/0.1757, allocations: 383.7 kB / 0.7232 GB, free: 11.72 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001679/0.1758, allocations: 167.8 kB / 0.7233 GB, free: 11.55 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.599e-05/0.1759, allocations: 29.7 kB / 0.7234 GB, free: 11.52 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001017/0.176, allocations: 147.5 kB / 0.7235 GB, free: 11.37 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 9.378e-06/0.176, allocations: 11.98 kB / 0.7235 GB, free: 11.36 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.934e-05/0.1761, allocations: 53.59 kB / 0.7236 GB, free: 11.3 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001511/0.1762, allocations: 326.8 kB / 0.7239 GB, free: 10.97 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.384e-05/0.1762, allocations: 27.97 kB / 0.7239 GB, free: 10.94 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002383/0.1765, allocations: 221 kB / 0.7241 GB, free: 10.63 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002424/0.1767, allocations: 201.7 kB / 0.7243 GB, free: 10.37 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.1767, allocations: 4 kB / 0.7243 GB, free: 10.37 MB / 0.545 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003366/0.1771, allocations: 193.1 kB / 0.7245 GB, free: 10.17 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.1771, allocations: 4 kB / 0.7245 GB, free: 10.17 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.323e-05/0.1771, allocations: 11.94 kB / 0.7245 GB, free: 10.16 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.988e-05/0.1771, allocations: 4.656 kB / 0.7245 GB, free: 10.15 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001513/0.1773, allocations: 39.92 kB / 0.7245 GB, free: 10.11 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.388e-05/0.1773, allocations: 11.94 kB / 0.7246 GB, free: 10.1 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001123/0.1774, allocations: 31.83 kB / 0.7246 GB, free: 10.07 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.52e-05/0.1774, allocations: 12 kB / 0.7246 GB, free: 10.06 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.0001549/0.1776, allocations: 214.3 kB / 0.7248 GB, free: 9.84 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.345e-05/0.1776, allocations: 116.9 kB / 0.7249 GB, free: 9.719 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.938e-05/0.1777, allocations: 112.7 kB / 0.725 GB, free: 9.598 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.213e-05/0.1778, allocations: 184.2 kB / 0.7252 GB, free: 9.41 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.715e-05/0.1779, allocations: 180.2 kB / 0.7254 GB, free: 9.227 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.26e-05/0.178, allocations: 188.2 kB / 0.7255 GB, free: 9.035 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002812/0.1782, allocations: 388.3 kB / 0.7259 GB, free: 8.605 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.921e-05/0.1783, allocations: 105 kB / 0.726 GB, free: 8.496 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.606e-05/0.1783, allocations: 104.9 kB / 0.7261 GB, free: 8.387 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.768e-05/0.1784, allocations: 184.2 kB / 0.7263 GB, free: 8.199 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.303e-05/0.1785, allocations: 184.1 kB / 0.7265 GB, free: 8.012 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.033e-05/0.1786, allocations: 180.9 kB / 0.7266 GB, free: 7.828 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.729e-05/0.1787, allocations: 180.2 kB / 0.7268 GB, free: 7.645 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001789/0.1788, allocations: 311.8 kB / 0.7271 GB, free: 7.316 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.972e-05/0.1789, allocations: 112.9 kB / 0.7272 GB, free: 7.199 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001018/0.179, allocations: 188.5 kB / 0.7274 GB, free: 7.008 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.1791, allocations: 109 kB / 0.7275 GB, free: 6.895 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.356e-05/0.1792, allocations: 188.2 kB / 0.7277 GB, free: 6.703 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.541e-05/0.1792, allocations: 105 kB / 0.7278 GB, free: 6.594 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001074/0.1794, allocations: 118.6 kB / 0.7279 GB, free: 6.48 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.1794, allocations: 0 / 0.7279 GB, free: 6.48 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000347/0.1797, allocations: 31.94 kB / 0.7279 GB, free: 6.449 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.0006008/0.1803, allocations: 0.8203 MB / 0.7287 GB, free: 5.602 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001862/0.1805, allocations: 79.78 kB / 0.7288 GB, free: 5.523 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.1805, allocations: 0 / 0.7288 GB, free: 5.523 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.32e-06/0.1805, allocations: 3.938 kB / 0.7288 GB, free: 5.52 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004292/0.1809, allocations: 470.9 kB / 0.7293 GB, free: 5.059 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006587/0.1816, allocations: 278.1 kB / 0.7295 GB, free: 4.742 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003653/0.1819, allocations: 0.6969 MB / 0.7302 GB, free: 4.02 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002441/0.1822, allocations: 52.59 kB / 0.7303 GB, free: 3.965 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.885e-05/0.1822, allocations: 19.42 kB / 0.7303 GB, free: 3.945 MB / 0.545 GB Notification: Performance of SimCode: time 6.01e-07/0.1822, allocations: 0 / 0.7303 GB, free: 3.945 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02315/0.2054, allocations: 3.216 MB / 0.7334 GB, free: 0.9141 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.97/11.18, allocations: 6.906 kB / 0.7334 GB, free: 0.9102 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_IsMonotonic_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.931539427954704] Failed to read output from testmodel.py, exit status != 0: 11.336322258925065 11.357545351 11.178441524 Calling exit ...