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.4.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.4.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") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/UsersGuide/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: License Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo): time 0.7342/0.7342, allocations: 117.9 MB / 133.9 MB, free: 4.508 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.001235/0.001235, allocations: 181 kB / 161.7 MB, free: 2.746 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.884/1.884, allocations: 205.4 MB / 394.8 MB, free: 21 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.0009185/0.0009186, allocations: 98.84 kB / 470.1 MB, free: 12.12 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004628/0.0004629, allocations: 16 kB / 0.5423 GB, free: 6.816 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3633/0.3638, allocations: 74.53 MB / 0.6151 GB, free: 54.11 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1358/0.4997, allocations: 101.3 MB / 0.714 GB, free: 0.6953 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002409/0.5, allocations: 79.94 kB / 0.7141 GB, free: 0.6172 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003134/0.5032, allocations: 1.236 MB / 0.7153 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.454e-06/0.5032, allocations: 0 / 0.7153 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.805e-06/0.5032, allocations: 4 kB / 0.7153 GB, free: 15.38 MB / 0.4948 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.0003014/0.5035, allocations: 350.9 kB / 0.7157 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.5036, allocations: 12.03 kB / 0.7157 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.127e-05/0.5036, allocations: 8.844 kB / 0.7157 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001068/0.5037, allocations: 172.2 kB / 0.7158 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.5037, allocations: 384 / 0.7158 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.305e-05/0.5038, allocations: 4.375 kB / 0.7158 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002418/0.504, allocations: 171.4 kB / 0.716 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.315e-06/0.504, allocations: 0 / 0.716 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.63e-05/0.504, allocations: 0 / 0.716 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.963e-05/0.5041, allocations: 23.97 kB / 0.716 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.051e-05/0.5042, allocations: 31.92 kB / 0.7161 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006766/0.5048, allocations: 0.8984 MB / 0.7169 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.456e-05/0.5049, allocations: 172.8 kB / 0.7171 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.984e-05/0.505, allocations: 88.08 kB / 0.7172 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.923e-05/0.505, allocations: 75.28 kB / 0.7173 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.684e-05/0.5051, allocations: 113.8 kB / 0.7174 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=0): time 2.856e-06/0.5051, allocations: 3.984 kB / 0.7174 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of matching and sorting (n=0): time 7.256e-05/0.5051, allocations: 33.61 kB / 0.7174 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001671/0.5053, allocations: 387.7 kB / 0.7178 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001611/0.5055, allocations: 165.6 kB / 0.7179 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.688e-05/0.5055, allocations: 29.7 kB / 0.718 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.553e-05/0.5056, allocations: 159.1 kB / 0.7181 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.288e-06/0.5056, allocations: 0 / 0.7181 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.042e-06/0.5056, allocations: 4 kB / 0.7181 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001551/0.5058, allocations: 322.8 kB / 0.7184 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.083e-05/0.5058, allocations: 27.97 kB / 0.7185 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001726/0.506, allocations: 222.1 kB / 0.7187 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001816/0.5062, allocations: 193.8 kB / 0.7188 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.5062, allocations: 4 kB / 0.7189 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002955/0.5065, allocations: 185.7 kB / 0.719 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.5065, allocations: 12.03 kB / 0.719 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.5066, allocations: 4 kB / 0.719 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/0.5066, allocations: 8 kB / 0.7191 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001387/0.5067, allocations: 47.86 kB / 0.7191 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.341e-05/0.5067, allocations: 12.02 kB / 0.7191 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.588e-05/0.5068, allocations: 31.69 kB / 0.7191 GB, free: 10.99 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.314e-05/0.5069, allocations: 8 kB / 0.7191 GB, free: 10.98 MB / 0.4948 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001287/0.507, allocations: 213 kB / 0.7193 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.413e-05/0.5071, allocations: 117.2 kB / 0.7195 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.488e-05/0.5071, allocations: 120.8 kB / 0.7196 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.318e-05/0.5072, allocations: 180.2 kB / 0.7197 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.652e-05/0.5073, allocations: 180.2 kB / 0.7199 GB, free: 10.15 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.64e-05/0.5074, allocations: 180.2 kB / 0.7201 GB, free: 9.969 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000271/0.5076, allocations: 421.2 kB / 0.7205 GB, free: 9.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.375e-05/0.5077, allocations: 104.9 kB / 0.7206 GB, free: 9.391 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.83e-05/0.5077, allocations: 113 kB / 0.7207 GB, free: 9.273 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.154e-05/0.5078, allocations: 184.2 kB / 0.7209 GB, free: 9.086 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.091e-05/0.5079, allocations: 176.3 kB / 0.721 GB, free: 8.906 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.327e-05/0.508, allocations: 184.2 kB / 0.7212 GB, free: 8.719 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.555e-05/0.5081, allocations: 188.1 kB / 0.7214 GB, free: 8.527 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001653/0.5082, allocations: 315.8 kB / 0.7217 GB, free: 8.195 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.997e-05/0.5083, allocations: 182 kB / 0.7219 GB, free: 7.992 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.018e-05/0.5084, allocations: 180.3 kB / 0.722 GB, free: 7.809 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001129/0.5085, allocations: 120.9 kB / 0.7222 GB, free: 7.684 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.576e-05/0.5086, allocations: 180.2 kB / 0.7223 GB, free: 7.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.179e-05/0.5087, allocations: 108.9 kB / 0.7224 GB, free: 7.387 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 7.815e-05/0.5087, allocations: 111.2 kB / 0.7225 GB, free: 7.277 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5088, allocations: 0 / 0.7225 GB, free: 7.277 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000341/0.5091, allocations: 28 kB / 0.7226 GB, free: 7.25 MB / 0.4948 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 (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.0002347/0.5093, allocations: 198.3 kB / 0.7228 GB, free: 7.043 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001514/0.5095, allocations: 67.78 kB / 0.7228 GB, free: 6.977 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/0.5095, allocations: 4 kB / 0.7228 GB, free: 6.973 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.933e-06/0.5095, allocations: 0 / 0.7228 GB, free: 6.973 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004548/0.51, allocations: 0.5354 MB / 0.7234 GB, free: 6.434 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003056/0.5103, allocations: 234.7 kB / 0.7236 GB, free: 6.176 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002837/0.5106, allocations: 0.6971 MB / 0.7243 GB, free: 5.453 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001702/0.5108, allocations: 56.58 kB / 0.7243 GB, free: 5.398 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.787e-05/0.5108, allocations: 11.44 kB / 0.7243 GB, free: 5.387 MB / 0.4948 GB Notification: Performance of SimCode: time 2.2e-07/0.5108, allocations: 0 / 0.7243 GB, free: 5.387 MB / 0.4948 GB Notification: Performance of Templates: time 0.004291/0.5151, allocations: 1.779 MB / 0.7261 GB, free: 3.641 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)