Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001482/0.001482, allocations: 114.3 kB / 17.13 MB, free: 5.938 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001532/0.001532, allocations: 197.2 kB / 20.08 MB, free: 3 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.356/1.356, allocations: 225.6 MB / 248.5 MB, free: 3.602 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00237/0.00237, allocations: 281.3 kB / 303.6 MB, free: 3.711 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.035/1.035, allocations: 180.9 MB / 0.5268 GB, free: 2.676 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002724/0.002724, allocations: 99.84 kB / 0.726 GB, free: 8.773 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4981/0.5008, allocations: 94.16 MB / 0.8179 GB, free: 7.434 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001785/0.5026, allocations: 0.6044 MB / 0.8185 GB, free: 7.059 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0003171/0.5029, allocations: 69.17 kB / 0.8186 GB, free: 7.02 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.496e-05/0.5029, allocations: 0 / 0.8186 GB, free: 7.02 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.392e-05/0.503, allocations: 4.312 kB / 0.8186 GB, free: 7.02 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.232e-05/0.503, allocations: 6.312 kB / 0.8186 GB, free: 7.02 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000313/0.5033, allocations: 41.11 kB / 0.8186 GB, free: 7.004 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.309e-05/0.5034, allocations: 31.81 kB / 0.8186 GB, free: 6.992 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.082e-05/0.5034, allocations: 2.219 kB / 0.8187 GB, free: 6.992 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.921e-05/0.5035, allocations: 14.83 kB / 0.8187 GB, free: 6.988 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002023/0.5037, allocations: 61.12 kB / 0.8187 GB, free: 6.973 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.773e-05/0.5037, allocations: 1 kB / 0.8187 GB, free: 6.973 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001036/0.5038, allocations: 50.09 kB / 0.8188 GB, free: 6.953 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.154e-05/0.5038, allocations: 24.92 kB / 0.8188 GB, free: 6.941 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.323e-05/0.5038, allocations: 17.69 kB / 0.8188 GB, free: 6.93 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001546/0.504, allocations: 60.88 kB / 0.8189 GB, free: 6.914 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.504, allocations: 0.875 kB / 0.8189 GB, free: 6.914 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.513e-06/0.504, allocations: 4 kB / 0.8189 GB, free: 6.91 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.082e-06/0.504, allocations: 0 / 0.8189 GB, free: 6.91 MB / 0.5762 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.0003145/0.5043, allocations: 373.5 kB / 0.8192 GB, free: 6.531 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.5044, allocations: 12.81 kB / 0.8192 GB, free: 6.527 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.293e-05/0.5044, allocations: 9.266 kB / 0.8193 GB, free: 6.523 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.209e-05/0.5045, allocations: 173.5 kB / 0.8194 GB, free: 6.316 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.676e-06/0.5045, allocations: 2.031 kB / 0.8194 GB, free: 6.316 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.379e-05/0.5045, allocations: 2.156 kB / 0.8194 GB, free: 6.316 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002325/0.5047, allocations: 183.2 kB / 0.8196 GB, free: 6.211 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.5047, allocations: 4.594 kB / 0.8196 GB, free: 6.207 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.531e-05/0.5048, allocations: 2.469 kB / 0.8196 GB, free: 6.207 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.334e-05/0.5048, allocations: 18.41 kB / 0.8196 GB, free: 6.207 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.98e-05/0.5049, allocations: 38.28 kB / 0.8197 GB, free: 6.199 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005272/0.5054, allocations: 0.907 MB / 0.8205 GB, free: 5.312 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 4.504e-05/0.5054, allocations: 170.4 kB / 0.8207 GB, free: 5.137 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.999e-05/0.5055, allocations: 83.61 kB / 0.8208 GB, free: 5.055 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.362e-05/0.5055, allocations: 75.28 kB / 0.8209 GB, free: 4.98 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.02e-05/0.5055, allocations: 116.3 kB / 0.821 GB, free: 4.859 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 1.283e-06/0.5055, allocations: 0 / 0.821 GB, free: 4.859 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 9.015e-05/0.5056, allocations: 35.38 kB / 0.821 GB, free: 4.824 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.494e-05/0.5057, allocations: 390 kB / 0.8214 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001325/0.5058, allocations: 171.1 kB / 0.8215 GB, free: 4.25 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.666e-05/0.5058, allocations: 26.86 kB / 0.8216 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.053e-05/0.5059, allocations: 151.5 kB / 0.8217 GB, free: 4.078 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.222e-06/0.5059, allocations: 8.609 kB / 0.8217 GB, free: 4.074 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.811e-05/0.5059, allocations: 48.55 kB / 0.8218 GB, free: 4.047 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.808e-05/0.506, allocations: 324.1 kB / 0.8221 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.373e-05/0.506, allocations: 27.14 kB / 0.8221 GB, free: 3.723 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001205/0.5062, allocations: 226.7 kB / 0.8223 GB, free: 3.449 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001536/0.5063, allocations: 202.3 kB / 0.8225 GB, free: 3.238 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/0.5063, allocations: 1.969 kB / 0.8225 GB, free: 3.238 MB / 0.5762 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002924/0.5066, allocations: 192.7 kB / 0.8227 GB, free: 3.148 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.5066, allocations: 7.719 kB / 0.8227 GB, free: 3.148 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.5066, allocations: 3.969 kB / 0.8227 GB, free: 3.148 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.073e-05/0.5067, allocations: 10.62 kB / 0.8227 GB, free: 3.145 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001221/0.5068, allocations: 41.45 kB / 0.8228 GB, free: 3.137 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/0.5068, allocations: 9.906 kB / 0.8228 GB, free: 3.133 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.957e-05/0.5069, allocations: 26.44 kB / 0.8228 GB, free: 3.117 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.595e-05/0.5069, allocations: 17.34 kB / 0.8228 GB, free: 3.113 MB / 0.5762 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 8.283e-05/0.507, allocations: 217.2 kB / 0.823 GB, free: 2.906 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.862e-05/0.507, allocations: 111.5 kB / 0.8231 GB, free: 2.797 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.862e-05/0.5071, allocations: 122.1 kB / 0.8232 GB, free: 2.68 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.221e-05/0.5071, allocations: 185.3 kB / 0.8234 GB, free: 2.492 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.371e-05/0.5071, allocations: 177.5 kB / 0.8236 GB, free: 2.312 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.453e-05/0.5071, allocations: 185.6 kB / 0.8238 GB, free: 2.125 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002863/0.5074, allocations: 419.6 kB / 0.8242 GB, free: 17.68 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.484e-05/0.5075, allocations: 102.5 kB / 0.8243 GB, free: 17.57 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.246e-05/0.5075, allocations: 104.9 kB / 0.8244 GB, free: 17.46 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.457e-05/0.5076, allocations: 189 kB / 0.8245 GB, free: 17.27 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.402e-05/0.5077, allocations: 181.6 kB / 0.8247 GB, free: 17.09 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.889e-05/0.5078, allocations: 185.5 kB / 0.8249 GB, free: 16.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.082e-05/0.5078, allocations: 180.2 kB / 0.8251 GB, free: 16.72 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001855/0.508, allocations: 311.5 kB / 0.8254 GB, free: 16.4 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001076/0.5081, allocations: 189 kB / 0.8255 GB, free: 16.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.638e-05/0.5082, allocations: 182.8 kB / 0.8257 GB, free: 16.01 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000114/0.5083, allocations: 119.6 kB / 0.8258 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.059e-05/0.5084, allocations: 177.1 kB / 0.826 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.456e-05/0.5085, allocations: 101.9 kB / 0.8261 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 8.567e-05/0.5086, allocations: 118 kB / 0.8262 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.5086, allocations: 0 / 0.8262 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003589/0.5089, allocations: 30.09 kB / 0.8262 GB, free: 15.52 MB / 0.5919 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.0002147/0.5091, allocations: 185.3 kB / 0.8264 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001529/0.5093, allocations: 72.31 kB / 0.8265 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.5093, allocations: 5.531 kB / 0.8265 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.503e-06/0.5093, allocations: 0 / 0.8265 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004282/0.5097, allocations: 470.7 kB / 0.8269 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000338/0.5101, allocations: 255.4 kB / 0.8272 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003408/0.5104, allocations: 0.7002 MB / 0.8279 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.194e-05/0.5104, allocations: 15.28 kB / 0.8279 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of SimCode: time 4.6e-07/0.5104, allocations: 0 / 0.8279 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of Templates: time 0.004042/0.5145, allocations: 1.721 MB / 0.8296 GB, free: 13.8 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.211429208982736] Failed to read output from testmodel.py, exit status != 0: 0.5218499728944153 0.534317896 0.027361453 Calling exit ...