Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Utilities.Math.Functions.Examples.IsMonotonic.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Utilities.Math.Functions.Examples.IsMonotonic") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002883/0.002882, allocations: 357.8 kB / 16.58 MB, free: 5.566 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.591/1.591, allocations: 165.8 MB / 183.1 MB, free: 5.402 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.76/3.76, allocations: 410.7 MB / 0.6001 GB, free: 15.17 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00181/0.00181, allocations: 202.2 kB / 0.6668 GB, free: 6.934 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006373/0.0006375, allocations: 23.98 kB / 0.7429 GB, free: 8.965 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4085/0.4092, allocations: 67.44 MB / 0.8087 GB, free: 28.8 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1672/0.5764, allocations: 98.03 MB / 0.9045 GB, free: 10.63 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000306/0.5768, allocations: 79.95 kB / 0.9046 GB, free: 10.55 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004622/0.5814, allocations: 1.147 MB / 0.9057 GB, free: 9.406 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.525e-06/0.5815, allocations: 0 / 0.9057 GB, free: 9.406 MB / 458.7 MB Notification: Performance of Transformations before backend: time 7.374e-06/0.5815, allocations: 0 / 0.9057 GB, free: 9.406 MB / 458.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.0003696/0.5819, allocations: 351.2 kB / 0.906 GB, free: 9.016 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.086e-05/0.5819, allocations: 16.02 kB / 0.906 GB, free: 9 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.38e-05/0.582, allocations: 11.91 kB / 0.906 GB, free: 8.988 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001136/0.5821, allocations: 167 kB / 0.9062 GB, free: 8.785 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.692e-05/0.5822, allocations: 0 / 0.9062 GB, free: 8.785 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.842e-05/0.5822, allocations: 4 kB / 0.9062 GB, free: 8.781 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003749/0.5826, allocations: 168.8 kB / 0.9064 GB, free: 8.59 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.5826, allocations: 0 / 0.9064 GB, free: 8.59 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.691e-05/0.5827, allocations: 3.953 kB / 0.9064 GB, free: 8.586 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.043e-05/0.5827, allocations: 23.92 kB / 0.9064 GB, free: 8.562 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001124/0.5828, allocations: 39.91 kB / 0.9064 GB, free: 8.523 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008892/0.5837, allocations: 0.8906 MB / 0.9073 GB, free: 7.562 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.947e-05/0.5839, allocations: 168.1 kB / 0.9075 GB, free: 7.391 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.288e-05/0.5839, allocations: 84.08 kB / 0.9075 GB, free: 7.305 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.855e-05/0.584, allocations: 79.28 kB / 0.9076 GB, free: 7.227 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.158e-05/0.584, allocations: 113.8 kB / 0.9077 GB, free: 7.105 MB / 458.7 MB Notification: Performance of pre-optimization done (n=0): time 1.804e-06/0.5841, allocations: 0 / 0.9077 GB, free: 7.105 MB / 458.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001154/0.5842, allocations: 41.5 kB / 0.9078 GB, free: 7.059 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002152/0.5844, allocations: 391.7 kB / 0.9081 GB, free: 6.602 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002259/0.5846, allocations: 163.2 kB / 0.9083 GB, free: 6.434 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.576e-05/0.5847, allocations: 29.7 kB / 0.9083 GB, free: 6.398 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001224/0.5848, allocations: 147.3 kB / 0.9085 GB, free: 6.25 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.157e-06/0.5848, allocations: 8 kB / 0.9085 GB, free: 6.242 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.913e-06/0.5849, allocations: 3.938 kB / 0.9085 GB, free: 6.238 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.585, allocations: 322.8 kB / 0.9088 GB, free: 5.914 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.446e-05/0.5851, allocations: 20.36 kB / 0.9088 GB, free: 5.895 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002497/0.5853, allocations: 226.7 kB / 0.909 GB, free: 5.582 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001464/0.5855, allocations: 59.91 kB / 0.9091 GB, free: 5.523 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/0.5855, allocations: 4 kB / 0.9091 GB, free: 5.52 MB / 458.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004727/0.586, allocations: 197.5 kB / 0.9093 GB, free: 5.32 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.522e-05/0.586, allocations: 14.78 kB / 0.9093 GB, free: 5.309 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/0.5861, allocations: 4 kB / 0.9093 GB, free: 5.305 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.382e-05/0.5861, allocations: 7.953 kB / 0.9093 GB, free: 5.297 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002192/0.5863, allocations: 39.92 kB / 0.9093 GB, free: 5.258 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.562e-05/0.5864, allocations: 8 kB / 0.9093 GB, free: 5.25 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001322/0.5865, allocations: 27.73 kB / 0.9094 GB, free: 5.223 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.114e-05/0.5865, allocations: 12 kB / 0.9094 GB, free: 5.211 MB / 458.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001779/0.5867, allocations: 213.7 kB / 0.9096 GB, free: 4.992 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.968e-05/0.5868, allocations: 116.9 kB / 0.9097 GB, free: 4.871 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.577e-05/0.5869, allocations: 108.9 kB / 0.9098 GB, free: 4.762 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.36e-05/0.587, allocations: 180.3 kB / 0.91 GB, free: 4.578 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.888e-05/0.5871, allocations: 192.5 kB / 0.9101 GB, free: 4.383 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.797e-05/0.5872, allocations: 180.3 kB / 0.9103 GB, free: 4.199 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003289/0.5875, allocations: 425.2 kB / 0.9107 GB, free: 3.727 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-05/0.5876, allocations: 101 kB / 0.9108 GB, free: 3.621 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.447e-05/0.5876, allocations: 105 kB / 0.9109 GB, free: 3.512 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.821e-05/0.5877, allocations: 180.2 kB / 0.9111 GB, free: 3.328 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.677e-05/0.5878, allocations: 180.3 kB / 0.9113 GB, free: 3.145 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.603e-05/0.5879, allocations: 181.3 kB / 0.9114 GB, free: 2.961 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.938e-05/0.588, allocations: 188.2 kB / 0.9116 GB, free: 2.77 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001836/0.5882, allocations: 315.6 kB / 0.9119 GB, free: 2.438 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.952e-05/0.5883, allocations: 186 kB / 0.9121 GB, free: 2.23 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001075/0.5884, allocations: 184.2 kB / 0.9123 GB, free: 2.043 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001254/0.5886, allocations: 109 kB / 0.9124 GB, free: 1.93 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.727e-05/0.5887, allocations: 188.2 kB / 0.9126 GB, free: 1.738 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.931e-05/0.5887, allocations: 105.3 kB / 0.9127 GB, free: 1.629 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001422/0.5889, allocations: 115.8 kB / 0.9128 GB, free: 1.516 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.5889, allocations: 0 / 0.9128 GB, free: 1.516 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0004332/0.5894, allocations: 28 kB / 0.9128 GB, free: 1.488 MB / 458.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 () * 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 (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.0002559/0.5896, allocations: 186.5 kB / 0.913 GB, free: 1.293 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002356/0.5899, allocations: 79.77 kB / 0.913 GB, free: 1.215 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/0.5899, allocations: 0 / 0.913 GB, free: 1.215 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 5.63e-06/0.5899, allocations: 3.938 kB / 0.913 GB, free: 1.211 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000504/0.5904, allocations: 0.5394 MB / 0.9136 GB, free: 0.668 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004123/0.5908, allocations: 230.6 kB / 0.9138 GB, free: 424 kB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003916/0.5913, allocations: 0.6932 MB / 0.9145 GB, free: 15.7 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0002899/0.5916, allocations: 56.58 kB / 0.9145 GB, free: 15.64 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.623e-05/0.5916, allocations: 15.44 kB / 0.9145 GB, free: 15.62 MB / 474.7 MB Notification: Performance of SimCode: time 8.51e-07/0.5916, allocations: 0 / 0.9145 GB, free: 15.62 MB / 474.7 MB Notification: Performance of Templates: time 0.006248/0.5979, allocations: 1.704 MB / 0.9162 GB, free: 13.95 MB / 474.7 MB