Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.IsMonotonic") translateModel(Buildings.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.IsMonotonic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.729/1.729, allocations: 289.9 MB / 297.4 MB, free: 6.441 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001078/0.001079, allocations: 184.8 kB / 366.7 MB, free: 1.68 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.483/1.483, allocations: 205.2 MB / 0.626 GB, free: 7.148 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008712/0.0008713, allocations: 86.64 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.699e-05/1.702e-05, allocations: 8 kB / 0.8597 GB, free: 13.05 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.564/0.564, allocations: 116.3 MB / 0.9733 GB, free: 76.34 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.168/0.732, allocations: 138 MB / 1.108 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001879/0.7323, allocations: 71.95 kB / 1.108 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.002902/0.7352, allocations: 1.168 MB / 1.109 GB, free: 10.99 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.493e-06/0.7352, allocations: 0 / 1.109 GB, free: 10.99 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.7352, allocations: 1.062 kB / 1.109 GB, free: 10.99 MB / 0.7136 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.0002593/0.7355, allocations: 347.1 kB / 1.11 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.235e-05/0.7355, allocations: 8.75 kB / 1.11 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.837e-05/0.7356, allocations: 8.594 kB / 1.11 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.626e-05/0.7357, allocations: 182.5 kB / 1.11 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.929e-06/0.7357, allocations: 0.5312 kB / 1.11 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.951e-06/0.7357, allocations: 0 / 1.11 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001156/0.7358, allocations: 36.98 kB / 1.11 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001748/0.736, allocations: 152.9 kB / 1.11 GB, free: 10.17 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-06/0.736, allocations: 0.6875 kB / 1.11 GB, free: 10.17 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.72e-05/0.736, allocations: 4.594 kB / 1.11 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-05/0.7361, allocations: 20.7 kB / 1.11 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005684/0.7367, allocations: 0.8673 MB / 1.111 GB, free: 9.223 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.135e-05/0.7367, allocations: 167.1 kB / 1.111 GB, free: 9.051 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.81e-05/0.7368, allocations: 81.92 kB / 1.111 GB, free: 8.969 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.854e-05/0.7368, allocations: 76.59 kB / 1.111 GB, free: 8.895 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.401e-05/0.7369, allocations: 119.1 kB / 1.111 GB, free: 8.77 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 9.91e-07/0.7369, allocations: 0 / 1.111 GB, free: 8.77 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 6.911e-05/0.737, allocations: 36.17 kB / 1.111 GB, free: 8.73 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001304/0.7371, allocations: 319.6 kB / 1.112 GB, free: 8.348 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001236/0.7372, allocations: 144.2 kB / 1.112 GB, free: 8.203 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.628e-05/0.7372, allocations: 29.7 kB / 1.112 GB, free: 8.168 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.964e-05/0.7373, allocations: 143.3 kB / 1.112 GB, free: 8.023 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.009e-06/0.7373, allocations: 7.984 kB / 1.112 GB, free: 8.016 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.787e-06/0.7373, allocations: 0 / 1.112 GB, free: 8.016 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001132/0.7375, allocations: 318.8 kB / 1.112 GB, free: 7.695 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.379e-05/0.7375, allocations: 21.33 kB / 1.112 GB, free: 7.676 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001488/0.7377, allocations: 213.3 kB / 1.112 GB, free: 7.375 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.042e-05/0.7378, allocations: 59.83 kB / 1.112 GB, free: 7.316 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.7378, allocations: 0 / 1.112 GB, free: 7.316 MB / 0.7136 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002521/0.738, allocations: 165.2 kB / 1.113 GB, free: 7.148 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.738, allocations: 11.39 kB / 1.113 GB, free: 7.141 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.7381, allocations: 7.188 kB / 1.113 GB, free: 7.137 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.7381, allocations: 4 kB / 1.113 GB, free: 7.133 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001111/0.7382, allocations: 43.92 kB / 1.113 GB, free: 7.09 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/0.7382, allocations: 15.92 kB / 1.113 GB, free: 7.074 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.169e-05/0.7383, allocations: 15.84 kB / 1.113 GB, free: 7.059 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.689e-05/0.7383, allocations: 16 kB / 1.113 GB, free: 7.043 MB / 0.7136 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 () * 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 9.818e-05/0.7384, allocations: 188.1 kB / 1.113 GB, free: 6.852 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.28e-05/0.7385, allocations: 112.8 kB / 1.113 GB, free: 6.734 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.291e-05/0.7386, allocations: 116.9 kB / 1.113 GB, free: 6.613 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.616e-05/0.7386, allocations: 188.2 kB / 1.113 GB, free: 6.422 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.433e-05/0.7387, allocations: 176.6 kB / 1.113 GB, free: 6.242 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.578e-05/0.7387, allocations: 184.2 kB / 1.114 GB, free: 6.055 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001958/0.7389, allocations: 393.8 kB / 1.114 GB, free: 5.625 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.644e-05/0.739, allocations: 109 kB / 1.114 GB, free: 5.512 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.04e-05/0.739, allocations: 108.9 kB / 1.114 GB, free: 5.398 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.608e-05/0.7391, allocations: 176.3 kB / 1.114 GB, free: 5.219 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.387e-05/0.7391, allocations: 188.2 kB / 1.115 GB, free: 5.027 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.56e-05/0.7392, allocations: 180.2 kB / 1.115 GB, free: 4.844 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.937e-05/0.7393, allocations: 176.8 kB / 1.115 GB, free: 4.664 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001315/0.7394, allocations: 320.6 kB / 1.115 GB, free: 4.328 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.805e-05/0.7395, allocations: 186 kB / 1.115 GB, free: 4.121 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.744e-05/0.7395, allocations: 176.3 kB / 1.116 GB, free: 3.941 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.444e-05/0.7396, allocations: 116.9 kB / 1.116 GB, free: 3.82 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.551e-05/0.7397, allocations: 179.3 kB / 1.116 GB, free: 3.641 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.515e-05/0.7398, allocations: 105 kB / 1.116 GB, free: 3.531 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 7.242e-05/0.7399, allocations: 110.5 kB / 1.116 GB, free: 3.426 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7399, allocations: 0 / 1.116 GB, free: 3.426 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002859/0.7402, allocations: 27.36 kB / 1.116 GB, free: 3.402 MB / 0.7136 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 () * 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.0001704/0.7404, allocations: 198.4 kB / 1.116 GB, free: 3.199 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001137/0.7405, allocations: 57.36 kB / 1.116 GB, free: 3.145 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.7405, allocations: 4.125 kB / 1.116 GB, free: 3.141 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.273e-06/0.7405, allocations: 0 / 1.116 GB, free: 3.141 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002676/0.7408, allocations: 0.538 MB / 1.117 GB, free: 2.598 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000202/0.741, allocations: 175.1 kB / 1.117 GB, free: 2.402 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002429/0.7412, allocations: 0.6968 MB / 1.118 GB, free: 1.68 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001545/0.7414, allocations: 56.5 kB / 1.118 GB, free: 1.625 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.451e-05/0.7414, allocations: 19.44 kB / 1.118 GB, free: 1.605 MB / 0.7136 GB Notification: Performance of SimCode: time 2.5e-07/0.7414, allocations: 0 / 1.118 GB, free: 1.605 MB / 0.7136 GB Notification: Performance of Templates: time 0.003633/0.7451, allocations: 1.693 MB / 1.119 GB, free: 15.99 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.IsMonotonic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1)