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/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.IsMonotonic") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.IsMonotonic") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.74/0.74, allocations: 127.4 MB / 134.6 MB, free: 4.137 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001401/0.001401, allocations: 173.3 kB / 164.4 MB, free: 6.914 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.773/1.773, allocations: 205.1 MB / 399.1 MB, free: 6.176 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009229/0.0009231, allocations: 88.05 kB / 476.3 MB, free: 8.922 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 8.105e-06/8.205e-06, allocations: 0 / 0.546 GB, free: 42.79 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1521/0.1521, allocations: 76.75 MB / 0.6209 GB, free: 13.97 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4331/0.5852, allocations: 101.6 MB / 0.7201 GB, free: 10.9 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002176/0.5855, allocations: 79.94 kB / 0.7202 GB, free: 10.82 MB / 490.7 MB Notification: Performance of FrontEnd: time 0.003028/0.5885, allocations: 0.9551 MB / 0.7211 GB, free: 9.871 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.5885, allocations: 0 / 0.7211 GB, free: 9.871 MB / 490.7 MB 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.0002505/0.5888, allocations: 338.4 kB / 0.7214 GB, free: 9.496 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.5889, allocations: 8.031 kB / 0.7214 GB, free: 9.488 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.634e-05/0.5889, allocations: 11.84 kB / 0.7214 GB, free: 9.477 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.537e-05/0.589, allocations: 166.9 kB / 0.7216 GB, free: 9.273 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.589, allocations: 4 kB / 0.7216 GB, free: 9.27 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.317e-06/0.589, allocations: 0 / 0.7216 GB, free: 9.27 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.692e-05/0.5891, allocations: 40.92 kB / 0.7217 GB, free: 9.227 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001703/0.5893, allocations: 154.5 kB / 0.7218 GB, free: 9.055 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.5893, allocations: 3.938 kB / 0.7218 GB, free: 9.051 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.695e-05/0.5893, allocations: 4.547 kB / 0.7218 GB, free: 9.047 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.868e-05/0.5894, allocations: 27.97 kB / 0.7218 GB, free: 9.02 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005944/0.59, allocations: 0.8715 MB / 0.7227 GB, free: 8.09 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.057e-05/0.5901, allocations: 173.1 kB / 0.7228 GB, free: 7.91 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.618e-05/0.5901, allocations: 80.14 kB / 0.7229 GB, free: 7.828 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.557e-05/0.5901, allocations: 81.58 kB / 0.723 GB, free: 7.75 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.264e-05/0.5902, allocations: 112.3 kB / 0.7231 GB, free: 7.633 MB / 490.7 MB Notification: Performance of pre-optimization done (n=0): time 1.122e-06/0.5902, allocations: 0 / 0.7231 GB, free: 7.633 MB / 490.7 MB Notification: Performance of matching and sorting (n=0): time 8.215e-05/0.5903, allocations: 37.55 kB / 0.7231 GB, free: 7.59 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001093/0.5904, allocations: 316.4 kB / 0.7234 GB, free: 7.207 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001172/0.5905, allocations: 153.4 kB / 0.7236 GB, free: 7.051 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.395e-05/0.5906, allocations: 25.7 kB / 0.7236 GB, free: 7.02 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.619e-05/0.5906, allocations: 143.3 kB / 0.7238 GB, free: 6.875 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.649e-06/0.5906, allocations: 4 kB / 0.7238 GB, free: 6.871 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.837e-06/0.5907, allocations: 0 / 0.7238 GB, free: 6.871 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.608e-05/0.5908, allocations: 325.2 kB / 0.7241 GB, free: 6.547 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.248e-05/0.5908, allocations: 24.36 kB / 0.7241 GB, free: 6.523 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001448/0.5909, allocations: 221.9 kB / 0.7243 GB, free: 6.215 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.086e-05/0.591, allocations: 59.91 kB / 0.7244 GB, free: 6.156 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.591, allocations: 0 / 0.7244 GB, free: 6.156 MB / 490.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002552/0.5913, allocations: 161.5 kB / 0.7245 GB, free: 5.992 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.5913, allocations: 8 kB / 0.7245 GB, free: 5.984 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.5913, allocations: 4 kB / 0.7245 GB, free: 5.98 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.5914, allocations: 8 kB / 0.7245 GB, free: 5.973 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000123/0.5915, allocations: 39.92 kB / 0.7246 GB, free: 5.934 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/0.5915, allocations: 8 kB / 0.7246 GB, free: 5.926 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.619e-05/0.5916, allocations: 23.69 kB / 0.7246 GB, free: 5.902 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.369e-05/0.5916, allocations: 12.34 kB / 0.7246 GB, free: 5.891 MB / 490.7 MB 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001021/0.5917, allocations: 200.1 kB / 0.7248 GB, free: 5.688 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.851e-05/0.5918, allocations: 116.9 kB / 0.7249 GB, free: 5.566 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.562e-05/0.5919, allocations: 108.6 kB / 0.725 GB, free: 5.457 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.336e-05/0.5919, allocations: 180.2 kB / 0.7252 GB, free: 5.273 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.795e-05/0.592, allocations: 176.6 kB / 0.7254 GB, free: 5.094 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-05/0.5921, allocations: 188.2 kB / 0.7255 GB, free: 4.902 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002423/0.5923, allocations: 409.7 kB / 0.7259 GB, free: 4.457 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.887e-05/0.5924, allocations: 101 kB / 0.726 GB, free: 4.352 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.519e-05/0.5924, allocations: 101 kB / 0.7261 GB, free: 4.246 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.331e-05/0.5925, allocations: 188.2 kB / 0.7263 GB, free: 4.055 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.715e-05/0.5925, allocations: 177.2 kB / 0.7265 GB, free: 3.875 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.459e-05/0.5926, allocations: 184.2 kB / 0.7266 GB, free: 3.688 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.398e-05/0.5927, allocations: 184.2 kB / 0.7268 GB, free: 3.5 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000122/0.5928, allocations: 311.7 kB / 0.7271 GB, free: 3.172 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.938e-05/0.5929, allocations: 189.9 kB / 0.7273 GB, free: 2.961 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.917e-05/0.593, allocations: 184.4 kB / 0.7275 GB, free: 2.773 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.068e-05/0.5931, allocations: 109 kB / 0.7276 GB, free: 2.66 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.197e-05/0.5931, allocations: 184.2 kB / 0.7278 GB, free: 2.473 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.531e-05/0.5932, allocations: 105 kB / 0.7279 GB, free: 2.363 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.154e-05/0.5933, allocations: 111.8 kB / 0.728 GB, free: 2.254 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003152/0.5936, allocations: 24 kB / 0.728 GB, free: 2.23 MB / 490.7 MB 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000208/0.5938, allocations: 186.5 kB / 0.7282 GB, free: 2.035 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001259/0.5939, allocations: 67.8 kB / 0.7282 GB, free: 1.969 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.5939, allocations: 0 / 0.7282 GB, free: 1.969 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.102e-06/0.5939, allocations: 0 / 0.7282 GB, free: 1.969 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002782/0.5942, allocations: 0.5276 MB / 0.7287 GB, free: 1.438 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002347/0.5945, allocations: 178.9 kB / 0.7289 GB, free: 1.238 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002772/0.5948, allocations: 0.7159 MB / 0.7296 GB, free: 0.4961 MB / 490.7 MB Notification: Performance of SimCode: time 2.785e-06/0.5948, allocations: 0 / 0.7296 GB, free: 0.4961 MB / 490.7 MB Notification: Performance of Templates: time 0.0043/0.5991, allocations: 1.793 MB / 0.7314 GB, free: 14.74 MB / 0.4948 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.IsMonotonic.makefile (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 & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.IsMonotonic -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1)