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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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(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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001135/0.001135, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00128/0.00128, allocations: 199.2 kB / 16.14 MB, free: 6.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.423/1.423, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.054/3.054, allocations: 472.6 MB / 0.7447 GB, free: 4.926 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001592/0.001592, allocations: 63.59 kB / 0.9114 GB, free: 33.75 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3579/0.3596, allocations: 159.9 MB / 1.068 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001931/0.3615, allocations: 0.6543 MB / 1.068 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0003352/0.3619, allocations: 75.84 kB / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.31e-05/0.3619, allocations: 0 / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.545e-05/0.362, allocations: 3.938 kB / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.858e-05/0.362, allocations: 7.984 kB / 1.068 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002454/0.3623, allocations: 35.95 kB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.339e-05/0.3624, allocations: 27.91 kB / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.202e-05/0.3624, allocations: 4 kB / 1.068 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.8e-05/0.3624, allocations: 15.92 kB / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002198/0.3627, allocations: 67.92 kB / 1.068 GB, free: 9.98 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.624e-05/0.3627, allocations: 4 kB / 1.068 GB, free: 9.977 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001025/0.3628, allocations: 39.95 kB / 1.068 GB, free: 9.938 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.076e-05/0.3628, allocations: 23.86 kB / 1.068 GB, free: 9.914 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.279e-05/0.3629, allocations: 19.88 kB / 1.068 GB, free: 9.895 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.00012/0.363, allocations: 63.78 kB / 1.069 GB, free: 9.832 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.363, allocations: 4 kB / 1.069 GB, free: 9.828 MB / 0.8262 GB Notification: Performance of FrontEnd: time 7.91e-07/0.363, allocations: 0 / 1.069 GB, free: 9.828 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.827e-06/0.363, allocations: 0 / 1.069 GB, free: 9.828 MB / 0.8262 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.0003756/0.3634, allocations: 363.7 kB / 1.069 GB, free: 9.422 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.3635, allocations: 12.03 kB / 1.069 GB, free: 9.41 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.97e-05/0.3635, allocations: 8.938 kB / 1.069 GB, free: 9.402 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.665e-05/0.3636, allocations: 164.3 kB / 1.069 GB, free: 9.203 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.102e-05/0.3636, allocations: 384 / 1.069 GB, free: 9.203 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.109e-05/0.3636, allocations: 8.359 kB / 1.069 GB, free: 9.195 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002468/0.3639, allocations: 182.4 kB / 1.069 GB, free: 8.996 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.3639, allocations: 4 kB / 1.069 GB, free: 8.992 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.554e-05/0.3639, allocations: 3.984 kB / 1.069 GB, free: 8.988 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.48e-05/0.364, allocations: 23.98 kB / 1.069 GB, free: 8.965 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.74e-05/0.364, allocations: 39.84 kB / 1.069 GB, free: 8.926 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007277/0.3648, allocations: 0.9062 MB / 1.07 GB, free: 7.949 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001026/0.3649, allocations: 173.1 kB / 1.07 GB, free: 7.77 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.063e-05/0.3649, allocations: 84.14 kB / 1.07 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 6.083e-05/0.365, allocations: 79.27 kB / 1.071 GB, free: 7.605 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.262e-05/0.3651, allocations: 117.8 kB / 1.071 GB, free: 7.48 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 9.01e-07/0.3651, allocations: 0 / 1.071 GB, free: 7.48 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 8.509e-05/0.3652, allocations: 35.78 kB / 1.071 GB, free: 7.441 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001877/0.3653, allocations: 395.7 kB / 1.071 GB, free: 6.98 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001898/0.3656, allocations: 165.6 kB / 1.071 GB, free: 6.809 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.759e-05/0.3656, allocations: 25.7 kB / 1.071 GB, free: 6.777 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.878e-05/0.3657, allocations: 147.2 kB / 1.071 GB, free: 6.629 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.192e-06/0.3657, allocations: 11.97 kB / 1.071 GB, free: 6.617 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.585e-05/0.3658, allocations: 57.61 kB / 1.071 GB, free: 6.555 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001232/0.3659, allocations: 314.8 kB / 1.072 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.121e-05/0.3659, allocations: 27.97 kB / 1.072 GB, free: 6.211 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002021/0.3662, allocations: 231.6 kB / 1.072 GB, free: 5.891 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001892/0.3664, allocations: 193.8 kB / 1.072 GB, free: 5.637 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.3664, allocations: 0 / 1.072 GB, free: 5.637 MB / 0.8262 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003101/0.3667, allocations: 193.1 kB / 1.072 GB, free: 5.441 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.3667, allocations: 8.656 kB / 1.072 GB, free: 5.434 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.3667, allocations: 4 kB / 1.072 GB, free: 5.43 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.3667, allocations: 11.94 kB / 1.072 GB, free: 5.418 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001243/0.3669, allocations: 39.92 kB / 1.072 GB, free: 5.379 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.165e-05/0.3669, allocations: 8.031 kB / 1.072 GB, free: 5.371 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.791e-05/0.367, allocations: 35.7 kB / 1.072 GB, free: 5.336 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.394e-05/0.367, allocations: 12 kB / 1.072 GB, free: 5.324 MB / 0.8262 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.0001317/0.3671, allocations: 205.1 kB / 1.073 GB, free: 5.113 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.672e-05/0.3672, allocations: 120.8 kB / 1.073 GB, free: 4.988 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.186e-05/0.3673, allocations: 116.6 kB / 1.073 GB, free: 4.863 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-05/0.3673, allocations: 184.2 kB / 1.073 GB, free: 4.676 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.58e-05/0.3674, allocations: 184.2 kB / 1.073 GB, free: 4.488 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.303e-05/0.3675, allocations: 184.3 kB / 1.073 GB, free: 4.301 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003075/0.3678, allocations: 417.2 kB / 1.074 GB, free: 3.836 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.109e-05/0.3679, allocations: 113 kB / 1.074 GB, free: 3.719 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.652e-05/0.3679, allocations: 105 kB / 1.074 GB, free: 3.609 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.592e-05/0.368, allocations: 180.2 kB / 1.074 GB, free: 3.426 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001213/0.3681, allocations: 176.3 kB / 1.074 GB, free: 3.246 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.663e-05/0.3682, allocations: 188.1 kB / 1.075 GB, free: 3.055 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.699e-05/0.3682, allocations: 180.3 kB / 1.075 GB, free: 2.871 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001529/0.3684, allocations: 315.7 kB / 1.075 GB, free: 2.539 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.465e-05/0.3685, allocations: 189.9 kB / 1.075 GB, free: 2.328 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.008e-05/0.3686, allocations: 184.2 kB / 1.075 GB, free: 2.141 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.966e-05/0.3687, allocations: 109.2 kB / 1.075 GB, free: 2.027 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.03e-05/0.3688, allocations: 188.2 kB / 1.076 GB, free: 1.836 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.526e-05/0.3688, allocations: 105 kB / 1.076 GB, free: 1.727 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001318/0.3689, allocations: 119.2 kB / 1.076 GB, free: 1.613 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3689, allocations: 0 / 1.076 GB, free: 1.613 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003507/0.3693, allocations: 28 kB / 1.076 GB, free: 1.586 MB / 0.8262 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.0002339/0.3695, allocations: 186.5 kB / 1.076 GB, free: 1.395 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001525/0.3697, allocations: 75.91 kB / 1.076 GB, free: 1.32 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.3697, allocations: 0 / 1.076 GB, free: 1.32 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.432e-06/0.3697, allocations: 0 / 1.076 GB, free: 1.32 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003953/0.3701, allocations: 0.5444 MB / 1.077 GB, free: 0.7734 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000303/0.3704, allocations: 242.6 kB / 1.077 GB, free: 0.5078 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002957/0.3707, allocations: 0.6971 MB / 1.078 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002392/0.371, allocations: 60.58 kB / 1.078 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.709e-05/0.371, allocations: 11.44 kB / 1.078 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of SimCode: time 2.2e-07/0.371, allocations: 0 / 1.078 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of Templates: time 0.004471/0.3755, allocations: 1.749 MB / 1.079 GB, free: 14 MB / 0.8419 GB 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)