Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.IsMonotonic") translateModel(Buildings.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.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/Buildings 1.6.0+build.1/package.mo): time 0.4997/0.4997, allocations: 94.74 MB / 102 MB, free: 10.36 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00115/0.00115, allocations: 177.8 kB / 125.3 MB, free: 11.98 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.316/1.316, allocations: 170.5 MB / 319 MB, free: 9.41 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001768/0.001768, allocations: 113 kB / 381 MB, free: 18.17 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 9.658e-06/9.688e-06, allocations: 4.219 kB / 448.6 MB, free: 2.121 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.1335, allocations: 61.51 MB / 0.4981 GB, free: 4.516 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3252/0.4587, allocations: 92.73 MB / 0.5887 GB, free: 9.688 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002567/0.4591, allocations: 70.3 kB / 0.5888 GB, free: 9.621 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.003045/0.4621, allocations: 0.8558 MB / 0.5896 GB, free: 8.793 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.783e-06/0.4621, allocations: 4 kB / 0.5896 GB, free: 8.789 MB / 410.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.0002986/0.4624, allocations: 334.2 kB / 0.5899 GB, free: 8.422 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.309e-05/0.4625, allocations: 12.78 kB / 0.5899 GB, free: 8.41 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.001e-05/0.4626, allocations: 10.56 kB / 0.5899 GB, free: 8.402 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001143/0.4627, allocations: 171.8 kB / 0.5901 GB, free: 8.195 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.4627, allocations: 7.328 kB / 0.5901 GB, free: 8.195 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.255e-05/0.4627, allocations: 4 kB / 0.5901 GB, free: 8.191 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.428e-05/0.4628, allocations: 32.17 kB / 0.5901 GB, free: 8.156 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002007/0.463, allocations: 159.3 kB / 0.5903 GB, free: 7.977 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.864e-06/0.463, allocations: 0 / 0.5903 GB, free: 7.977 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.93e-05/0.4631, allocations: 3.719 kB / 0.5903 GB, free: 7.977 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-05/0.4631, allocations: 23.92 kB / 0.5903 GB, free: 7.953 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007452/0.4639, allocations: 0.8672 MB / 0.5912 GB, free: 7.031 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.944e-05/0.464, allocations: 178.5 kB / 0.5913 GB, free: 6.848 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.195e-05/0.464, allocations: 80.14 kB / 0.5914 GB, free: 6.766 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.862e-05/0.464, allocations: 76.62 kB / 0.5915 GB, free: 6.691 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.588e-05/0.4641, allocations: 105.8 kB / 0.5916 GB, free: 6.578 MB / 410.7 MB Notification: Performance of pre-optimization done (n=0): time 1.342e-06/0.4641, allocations: 3.062 kB / 0.5916 GB, free: 6.578 MB / 410.7 MB Notification: Performance of matching and sorting (n=0): time 8.178e-05/0.4642, allocations: 41.59 kB / 0.5916 GB, free: 6.531 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001876/0.4644, allocations: 312.4 kB / 0.5919 GB, free: 6.152 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001262/0.4645, allocations: 151.2 kB / 0.5921 GB, free: 6 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.851e-05/0.4646, allocations: 29.7 kB / 0.5921 GB, free: 5.965 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.806e-05/0.4647, allocations: 151.2 kB / 0.5922 GB, free: 5.812 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.687e-06/0.4647, allocations: 0.5 kB / 0.5922 GB, free: 5.812 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.588e-06/0.4647, allocations: 3.938 kB / 0.5923 GB, free: 5.809 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001265/0.4648, allocations: 329.3 kB / 0.5926 GB, free: 5.48 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.193e-05/0.4649, allocations: 20.38 kB / 0.5926 GB, free: 5.461 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001753/0.465, allocations: 210.4 kB / 0.5928 GB, free: 5.164 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.898e-05/0.4651, allocations: 67.83 kB / 0.5928 GB, free: 5.098 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.4651, allocations: 4 kB / 0.5929 GB, free: 5.094 MB / 410.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002799/0.4654, allocations: 161.2 kB / 0.593 GB, free: 4.926 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.4654, allocations: 4 kB / 0.593 GB, free: 4.922 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/0.4655, allocations: 8 kB / 0.593 GB, free: 4.914 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.4655, allocations: 4.656 kB / 0.593 GB, free: 4.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000128/0.4656, allocations: 43.92 kB / 0.5931 GB, free: 4.867 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.4656, allocations: 7.984 kB / 0.5931 GB, free: 4.859 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.541e-05/0.4657, allocations: 23.75 kB / 0.5931 GB, free: 4.836 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.418e-05/0.4658, allocations: 8 kB / 0.5931 GB, free: 4.828 MB / 410.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.000116/0.4659, allocations: 199.6 kB / 0.5933 GB, free: 4.629 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.363e-05/0.466, allocations: 112.8 kB / 0.5934 GB, free: 4.512 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.114e-05/0.466, allocations: 115.5 kB / 0.5935 GB, free: 4.398 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.37e-05/0.4661, allocations: 180.3 kB / 0.5937 GB, free: 4.215 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.076e-05/0.4662, allocations: 190.6 kB / 0.5939 GB, free: 4.023 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-05/0.4663, allocations: 183.2 kB / 0.594 GB, free: 3.84 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002357/0.4665, allocations: 401.8 kB / 0.5944 GB, free: 3.402 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.382e-05/0.4666, allocations: 104.9 kB / 0.5945 GB, free: 3.293 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.378e-05/0.4666, allocations: 101 kB / 0.5946 GB, free: 3.188 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.502e-05/0.4667, allocations: 180.3 kB / 0.5948 GB, free: 3.004 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.844e-05/0.4667, allocations: 180.2 kB / 0.595 GB, free: 2.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.466e-05/0.4668, allocations: 184.3 kB / 0.5951 GB, free: 2.633 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.623e-05/0.4669, allocations: 180.2 kB / 0.5953 GB, free: 2.449 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001578/0.4671, allocations: 315.6 kB / 0.5956 GB, free: 2.117 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.133e-05/0.4672, allocations: 182 kB / 0.5958 GB, free: 1.914 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.897e-05/0.4673, allocations: 192.4 kB / 0.596 GB, free: 1.719 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.969e-05/0.4674, allocations: 105 kB / 0.5961 GB, free: 1.609 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.803e-05/0.4675, allocations: 180.3 kB / 0.5962 GB, free: 1.426 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.99e-05/0.4675, allocations: 108.9 kB / 0.5963 GB, free: 1.312 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.078e-05/0.4676, allocations: 111.8 kB / 0.5965 GB, free: 1.203 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003596/0.4679, allocations: 24 kB / 0.5965 GB, free: 1.18 MB / 410.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.0002121/0.4682, allocations: 182.5 kB / 0.5966 GB, free: 0.9922 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001374/0.4683, allocations: 60.73 kB / 0.5967 GB, free: 0.9336 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.604e-06/0.4683, allocations: 4.375 kB / 0.5967 GB, free: 0.9297 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.212e-06/0.4683, allocations: 4 kB / 0.5967 GB, free: 0.9258 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003329/0.4687, allocations: 0.5308 MB / 0.5972 GB, free: 400 kB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002665/0.4689, allocations: 174.8 kB / 0.5974 GB, free: 204 kB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003194/0.4693, allocations: 0.712 MB / 0.5981 GB, free: 15.46 MB / 426.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4693, allocations: 0 / 0.5981 GB, free: 15.46 MB / 426.7 MB Notification: Performance of Templates: time 0.004475/0.4738, allocations: 1.751 MB / 0.5998 GB, free: 13.78 MB / 426.7 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.sim & ./Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.IsMonotonic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1)