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.5.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.5.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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7816/0.7816, allocations: 127.3 MB / 139.8 MB, free: 15.44 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001021/0.001021, allocations: 176.9 kB / 169.7 MB, free: 1.742 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.656/1.656, allocations: 205.1 MB / 404.5 MB, free: 1.586 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.000883/0.0008832, allocations: 82.47 kB / 481.8 MB, free: 4.238 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.911e-05/2.913e-05, allocations: 4 kB / 0.5532 GB, free: 54.83 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1668/0.1668, allocations: 76.76 MB / 0.6282 GB, free: 10.01 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.618/0.7849, allocations: 102.3 MB / 0.7281 GB, free: 11.01 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002657/0.7852, allocations: 81.12 kB / 0.7281 GB, free: 10.96 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003286/0.7885, allocations: 1.263 MB / 0.7294 GB, free: 9.777 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.7885, allocations: 3.938 kB / 0.7294 GB, free: 9.773 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.7885, allocations: 0 / 0.7294 GB, free: 9.773 MB / 490.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.0003177/0.7889, allocations: 336.1 kB / 0.7297 GB, free: 9.406 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/0.7889, allocations: 8.031 kB / 0.7297 GB, free: 9.398 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.603e-05/0.789, allocations: 11.86 kB / 0.7297 GB, free: 9.387 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000119/0.7891, allocations: 171 kB / 0.7299 GB, free: 9.18 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/0.7891, allocations: 3.984 kB / 0.7299 GB, free: 9.176 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.008e-05/0.7891, allocations: 0 / 0.7299 GB, free: 9.176 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002488/0.7894, allocations: 163 kB / 0.73 GB, free: 9.008 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.7894, allocations: 0 / 0.73 GB, free: 9.008 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.846e-05/0.7894, allocations: 2.812 kB / 0.73 GB, free: 9.008 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.583e-05/0.7895, allocations: 24.62 kB / 0.7301 GB, free: 8.984 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.435e-05/0.7896, allocations: 41.42 kB / 0.7301 GB, free: 8.949 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000716/0.7903, allocations: 0.8907 MB / 0.731 GB, free: 8.02 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.971e-05/0.7904, allocations: 176.5 kB / 0.7311 GB, free: 7.84 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.371e-05/0.7904, allocations: 84.14 kB / 0.7312 GB, free: 7.754 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.025e-05/0.7905, allocations: 79.27 kB / 0.7313 GB, free: 7.676 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.119e-05/0.7905, allocations: 108 kB / 0.7314 GB, free: 7.562 MB / 490.7 MB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.7905, allocations: 4 kB / 0.7314 GB, free: 7.559 MB / 490.7 MB Notification: Performance of matching and sorting (n=0): time 7.79e-05/0.7906, allocations: 36.2 kB / 0.7314 GB, free: 7.52 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001762/0.7908, allocations: 395.5 kB / 0.7318 GB, free: 7.062 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001416/0.791, allocations: 151.7 kB / 0.732 GB, free: 6.922 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.775e-05/0.791, allocations: 32.52 kB / 0.732 GB, free: 6.887 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.249e-05/0.7911, allocations: 153.6 kB / 0.7321 GB, free: 6.738 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.038e-06/0.7911, allocations: 3.812 kB / 0.7321 GB, free: 6.738 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.757e-06/0.7911, allocations: 0 / 0.7321 GB, free: 6.738 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001302/0.7912, allocations: 318.7 kB / 0.7325 GB, free: 6.422 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.577e-05/0.7913, allocations: 23.67 kB / 0.7325 GB, free: 6.402 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001773/0.7915, allocations: 221.4 kB / 0.7327 GB, free: 6.105 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.961e-05/0.7916, allocations: 59.7 kB / 0.7327 GB, free: 6.051 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.7916, allocations: 4 kB / 0.7327 GB, free: 6.047 MB / 490.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002847/0.7919, allocations: 189 kB / 0.7329 GB, free: 5.879 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.7919, allocations: 4 kB / 0.7329 GB, free: 5.875 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.7919, allocations: 8 kB / 0.7329 GB, free: 5.867 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.7919, allocations: 4 kB / 0.7329 GB, free: 5.863 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001174/0.792, allocations: 39.92 kB / 0.733 GB, free: 5.824 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.416e-05/0.7921, allocations: 7.938 kB / 0.733 GB, free: 5.816 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.688e-05/0.7922, allocations: 31.25 kB / 0.733 GB, free: 5.789 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.02e-05/0.7922, allocations: 23.39 kB / 0.733 GB, free: 5.77 MB / 490.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.0001107/0.7923, allocations: 196.1 kB / 0.7332 GB, free: 5.574 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.529e-05/0.7924, allocations: 113 kB / 0.7333 GB, free: 5.457 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.308e-05/0.7925, allocations: 119.5 kB / 0.7334 GB, free: 5.34 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.642e-05/0.7925, allocations: 176.6 kB / 0.7336 GB, free: 5.16 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.197e-05/0.7926, allocations: 188.2 kB / 0.7338 GB, free: 4.969 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.644e-05/0.7927, allocations: 187.8 kB / 0.734 GB, free: 4.781 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000254/0.793, allocations: 419.2 kB / 0.7344 GB, free: 4.32 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.646e-05/0.793, allocations: 105.8 kB / 0.7345 GB, free: 4.211 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.489e-05/0.7931, allocations: 101 kB / 0.7346 GB, free: 4.105 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.302e-05/0.7932, allocations: 184.2 kB / 0.7347 GB, free: 3.918 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.919e-05/0.7932, allocations: 188 kB / 0.7349 GB, free: 3.73 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.619e-05/0.7933, allocations: 176.3 kB / 0.7351 GB, free: 3.551 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.526e-05/0.7934, allocations: 180.2 kB / 0.7353 GB, free: 3.367 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001555/0.7935, allocations: 318.3 kB / 0.7356 GB, free: 3.035 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.331e-05/0.7936, allocations: 190.7 kB / 0.7358 GB, free: 2.824 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.279e-05/0.7937, allocations: 183.3 kB / 0.7359 GB, free: 2.641 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.315e-05/0.7938, allocations: 105.3 kB / 0.736 GB, free: 2.531 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.277e-05/0.7939, allocations: 180.2 kB / 0.7362 GB, free: 2.348 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.948e-05/0.7939, allocations: 113 kB / 0.7363 GB, free: 2.23 MB / 490.7 MB Notification: Performance of sorting global known variables: time 8.266e-05/0.794, allocations: 117.6 kB / 0.7364 GB, free: 2.129 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.794, allocations: 0 / 0.7364 GB, free: 2.129 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002971/0.7943, allocations: 30.88 kB / 0.7364 GB, free: 2.102 MB / 490.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.0002104/0.7946, allocations: 190.3 kB / 0.7366 GB, free: 1.906 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001376/0.7947, allocations: 71.61 kB / 0.7367 GB, free: 1.848 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.7947, allocations: 320 / 0.7367 GB, free: 1.848 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.522e-06/0.7947, allocations: 4 kB / 0.7367 GB, free: 1.844 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003562/0.7951, allocations: 0.5423 MB / 0.7372 GB, free: 1.305 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002445/0.7953, allocations: 177 kB / 0.7374 GB, free: 1.109 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002789/0.7956, allocations: 0.6971 MB / 0.7381 GB, free: 396 kB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0001673/0.7958, allocations: 53.48 kB / 0.7381 GB, free: 340 kB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.88e-05/0.7958, allocations: 15.44 kB / 0.7381 GB, free: 324 kB / 490.7 MB Notification: Performance of SimCode: time 3.31e-07/0.7958, allocations: 4 kB / 0.7382 GB, free: 320 kB / 490.7 MB Notification: Performance of Templates: time 0.004252/0.8001, allocations: 1.757 MB / 0.7399 GB, free: 14.61 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)