Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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.001402/0.001402, allocations: 118 kB / 17.84 MB, free: 5.234 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.001545/0.001545, allocations: 203.9 kB / 20.79 MB, free: 2.297 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.487/1.487, allocations: 230.6 MB / 254.2 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.038/1.038, allocations: 150 MB / 460.2 MB, free: 5.309 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Utilities.Math.Functions.Examples.IsMonotonic,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_IsMonotonic",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.IsMonotonic,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_IsMonotonic",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.001958/0.001958, allocations: 66.91 kB / 0.6368 GB, free: 30.45 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1688/0.1707, allocations: 89.13 MB / 0.7239 GB, free: 3.996 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.IsMonotonic): time 0.00174/0.1725, allocations: 0.5991 MB / 0.7245 GB, free: 3.395 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.000359/0.1728, allocations: 63.84 kB / 0.7245 GB, free: 3.332 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.329e-05/0.1728, allocations: 4 kB / 0.7245 GB, free: 3.328 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.24e-05/0.1729, allocations: 7.922 kB / 0.7245 GB, free: 3.32 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.942e-05/0.1729, allocations: 8 kB / 0.7246 GB, free: 3.312 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002857/0.1732, allocations: 39.94 kB / 0.7246 GB, free: 3.273 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.519e-05/0.1733, allocations: 23.92 kB / 0.7246 GB, free: 3.25 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.444e-05/0.1733, allocations: 4 kB / 0.7246 GB, free: 3.246 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.08e-05/0.1733, allocations: 15.97 kB / 0.7246 GB, free: 3.23 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001924/0.1735, allocations: 67.88 kB / 0.7247 GB, free: 3.164 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.18e-05/0.1735, allocations: 0 / 0.7247 GB, free: 3.164 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001079/0.1737, allocations: 39.95 kB / 0.7247 GB, free: 3.125 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.016e-05/0.1737, allocations: 23.92 kB / 0.7248 GB, free: 3.102 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.727e-05/0.1737, allocations: 27.86 kB / 0.7248 GB, free: 3.074 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001312/0.1739, allocations: 64.02 kB / 0.7248 GB, free: 3.012 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.1739, allocations: 0 / 0.7248 GB, free: 3.012 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.372e-06/0.1739, allocations: 0 / 0.7248 GB, free: 3.012 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.569e-06/0.1739, allocations: 3.938 kB / 0.7249 GB, free: 3.008 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.000466/0.1743, allocations: 367.2 kB / 0.7252 GB, free: 2.598 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.1744, allocations: 12.03 kB / 0.7252 GB, free: 2.586 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.959e-05/0.1744, allocations: 192 / 0.7252 GB, free: 2.586 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.305e-05/0.1744, allocations: 46.73 kB / 0.7253 GB, free: 2.531 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.183e-05/0.1745, allocations: 8.891 kB / 0.7253 GB, free: 2.523 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001249/0.1746, allocations: 164.4 kB / 0.7254 GB, free: 2.324 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.028e-05/0.1746, allocations: 384 / 0.7254 GB, free: 2.324 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.973e-06/0.1746, allocations: 384 / 0.7254 GB, free: 2.324 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002681/0.1749, allocations: 188 kB / 0.7256 GB, free: 2.117 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.365e-06/0.1749, allocations: 0 / 0.7256 GB, free: 2.117 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.564e-05/0.1749, allocations: 4 kB / 0.7256 GB, free: 2.113 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.921e-05/0.175, allocations: 27.92 kB / 0.7256 GB, free: 2.086 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.753e-05/0.175, allocations: 39.89 kB / 0.7257 GB, free: 2.047 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007728/0.1758, allocations: 0.9062 MB / 0.7266 GB, free: 1.066 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001019/0.1759, allocations: 173.5 kB / 0.7267 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.965e-05/0.1759, allocations: 80.14 kB / 0.7268 GB, free: 0.8047 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.955e-05/0.176, allocations: 83.28 kB / 0.7269 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.074e-05/0.176, allocations: 117.8 kB / 0.727 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.176, allocations: 3.938 kB / 0.727 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of matching and sorting (n=0): time 8.358e-05/0.1761, allocations: 37.66 kB / 0.727 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002185/0.1763, allocations: 391.7 kB / 0.7274 GB, free: 96 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002129/0.1765, allocations: 168.5 kB / 0.7276 GB, free: 15.92 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.24e-05/0.1766, allocations: 29.7 kB / 0.7276 GB, free: 15.89 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001061/0.1767, allocations: 151.5 kB / 0.7277 GB, free: 15.73 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.47e-06/0.1767, allocations: 3.984 kB / 0.7277 GB, free: 15.73 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.13e-05/0.1768, allocations: 53.64 kB / 0.7278 GB, free: 15.67 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001515/0.1769, allocations: 318.8 kB / 0.7281 GB, free: 15.35 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.109e-05/0.177, allocations: 27.97 kB / 0.7281 GB, free: 15.32 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002177/0.1772, allocations: 222.5 kB / 0.7283 GB, free: 15.01 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002127/0.1774, allocations: 197.7 kB / 0.7285 GB, free: 14.75 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.1774, allocations: 0 / 0.7285 GB, free: 14.75 MB / 0.545 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003111/0.1777, allocations: 193.7 kB / 0.7287 GB, free: 14.56 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.1777, allocations: 8.062 kB / 0.7287 GB, free: 14.55 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.729e-06/0.1777, allocations: 11.94 kB / 0.7287 GB, free: 14.54 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.205e-05/0.1777, allocations: 8 kB / 0.7287 GB, free: 14.53 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001209/0.1779, allocations: 35.92 kB / 0.7288 GB, free: 14.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.135e-05/0.1779, allocations: 8 kB / 0.7288 GB, free: 14.49 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.764e-05/0.178, allocations: 31.78 kB / 0.7288 GB, free: 14.46 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.251e-05/0.178, allocations: 8 kB / 0.7288 GB, free: 14.45 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.0001473/0.1781, allocations: 217 kB / 0.729 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.536e-05/0.1782, allocations: 116.9 kB / 0.7291 GB, free: 14.11 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.88e-05/0.1783, allocations: 112.8 kB / 0.7292 GB, free: 13.99 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.68e-05/0.1784, allocations: 190.1 kB / 0.7294 GB, free: 13.8 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.916e-05/0.1784, allocations: 176.3 kB / 0.7296 GB, free: 13.62 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.504e-05/0.1785, allocations: 184.2 kB / 0.7298 GB, free: 13.43 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003/0.1788, allocations: 421.2 kB / 0.7302 GB, free: 12.96 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.364e-05/0.1789, allocations: 105 kB / 0.7303 GB, free: 12.85 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.665e-05/0.1789, allocations: 104.9 kB / 0.7304 GB, free: 12.74 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.358e-05/0.179, allocations: 180.2 kB / 0.7305 GB, free: 12.56 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.658e-05/0.1791, allocations: 188.1 kB / 0.7307 GB, free: 12.37 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.233e-05/0.1792, allocations: 180.2 kB / 0.7309 GB, free: 12.18 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.29e-05/0.1793, allocations: 184.3 kB / 0.7311 GB, free: 12 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001744/0.1794, allocations: 311.7 kB / 0.7314 GB, free: 11.67 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001391/0.1796, allocations: 190 kB / 0.7315 GB, free: 11.46 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001009/0.1797, allocations: 188.2 kB / 0.7317 GB, free: 11.27 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.128e-05/0.1798, allocations: 101 kB / 0.7318 GB, free: 11.16 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.088e-05/0.1799, allocations: 192.5 kB / 0.732 GB, free: 10.96 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.262e-05/0.1799, allocations: 101 kB / 0.7321 GB, free: 10.86 MB / 0.545 GB Notification: Performance of sorting global known variables: time 9.469e-05/0.18, allocations: 114.5 kB / 0.7322 GB, free: 10.75 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.18, allocations: 3.938 kB / 0.7322 GB, free: 10.75 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003213/0.1803, allocations: 28 kB / 0.7322 GB, free: 10.72 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.0005645/0.1809, allocations: 0.8398 MB / 0.7331 GB, free: 9.852 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001652/0.181, allocations: 72.91 kB / 0.7331 GB, free: 9.781 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.181, allocations: 0 / 0.7331 GB, free: 9.781 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.253e-06/0.181, allocations: 192 / 0.7331 GB, free: 9.781 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004171/0.1815, allocations: 475.6 kB / 0.7336 GB, free: 9.312 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005172/0.182, allocations: 274.3 kB / 0.7338 GB, free: 9.004 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004194/0.1824, allocations: 0.6968 MB / 0.7345 GB, free: 8.281 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001669/0.1826, allocations: 52.59 kB / 0.7346 GB, free: 8.227 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.51e-05/0.1826, allocations: 27.42 kB / 0.7346 GB, free: 8.199 MB / 0.545 GB Notification: Performance of SimCode: time 2.81e-07/0.1826, allocations: 0 / 0.7346 GB, free: 8.199 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02139/0.204, allocations: 2.994 MB / 0.7375 GB, free: 5.352 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.445/8.649, allocations: 10.56 kB / 0.7375 GB, free: 5.344 MB / 0.545 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.IsMonotonic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_IsMonotonic_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_IsMonotonic.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.595668261987157] Failed to read output from testmodel.py, exit status != 0: 8.777127657958772 8.803778763 8.625739062 Calling exit ...