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.7826/0.7826, allocations: 127.4 MB / 134.9 MB, free: 3.441 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.001243/0.001243, allocations: 189.7 kB / 164.7 MB, free: 11.61 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.432/1.432, allocations: 205.2 MB / 399.5 MB, free: 13.52 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.0008739/0.0008738, allocations: 100.2 kB / 476.7 MB, free: 1.453 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 1.846e-05/1.847e-05, allocations: 5.406 kB / 0.5466 GB, free: 95.59 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.1239, allocations: 76.76 MB / 0.6215 GB, free: 43.06 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1162/0.2401, allocations: 101.6 MB / 0.7208 GB, free: 5.289 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002112/0.2404, allocations: 75.95 kB / 0.7209 GB, free: 5.215 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.003202/0.2436, allocations: 1.266 MB / 0.7221 GB, free: 3.945 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.273e-06/0.2436, allocations: 0 / 0.7221 GB, free: 3.945 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.115e-06/0.2436, allocations: 4 kB / 0.7221 GB, free: 3.941 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.0002641/0.2439, allocations: 346.4 kB / 0.7224 GB, free: 3.559 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.2439, allocations: 8.031 kB / 0.7224 GB, free: 3.551 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.14e-05/0.244, allocations: 11.86 kB / 0.7225 GB, free: 3.539 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.623e-05/0.2441, allocations: 159.1 kB / 0.7226 GB, free: 3.344 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.094e-05/0.2441, allocations: 0 / 0.7226 GB, free: 3.344 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.532e-06/0.2441, allocations: 4 kB / 0.7226 GB, free: 3.34 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.101e-05/0.2442, allocations: 36.11 kB / 0.7226 GB, free: 3.301 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001817/0.2444, allocations: 156.3 kB / 0.7228 GB, free: 3.125 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.2444, allocations: 3.938 kB / 0.7228 GB, free: 3.121 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.585e-05/0.2444, allocations: 0 / 0.7228 GB, free: 3.121 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.768e-05/0.2445, allocations: 19.98 kB / 0.7228 GB, free: 3.102 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006114/0.2451, allocations: 0.8715 MB / 0.7237 GB, free: 2.172 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.871e-05/0.2452, allocations: 169.1 kB / 0.7238 GB, free: 1.996 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.85e-05/0.2452, allocations: 80.14 kB / 0.7239 GB, free: 1.914 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.301e-05/0.2452, allocations: 83.28 kB / 0.724 GB, free: 1.832 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.315e-05/0.2453, allocations: 109.8 kB / 0.7241 GB, free: 1.715 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.2453, allocations: 0 / 0.7241 GB, free: 1.715 MB / 0.4948 GB Notification: Performance of matching and sorting (n=0): time 7.853e-05/0.2454, allocations: 43.7 kB / 0.7241 GB, free: 1.668 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000131/0.2455, allocations: 308.4 kB / 0.7244 GB, free: 1.293 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001195/0.2457, allocations: 147.3 kB / 0.7246 GB, free: 1.145 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.671e-05/0.2457, allocations: 25.7 kB / 0.7246 GB, free: 1.113 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.13e-05/0.2458, allocations: 151.2 kB / 0.7247 GB, free: 0.9609 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.64e-06/0.2458, allocations: 8 kB / 0.7247 GB, free: 0.9531 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.118e-06/0.2458, allocations: 0 / 0.7247 GB, free: 0.9531 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.757e-05/0.2459, allocations: 322.8 kB / 0.7251 GB, free: 0.6289 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.438e-05/0.2459, allocations: 24.36 kB / 0.7251 GB, free: 0.6055 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001474/0.2461, allocations: 217.9 kB / 0.7253 GB, free: 308 kB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.507e-05/0.2462, allocations: 47.91 kB / 0.7253 GB, free: 260 kB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.2462, allocations: 8 kB / 0.7253 GB, free: 252 kB / 0.4948 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002573/0.2464, allocations: 157.8 kB / 0.7255 GB, free: 88 kB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.2465, allocations: 12.12 kB / 0.7255 GB, free: 76 kB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.806e-06/0.2465, allocations: 4 kB / 0.7255 GB, free: 72 kB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.2465, allocations: 12.03 kB / 0.7255 GB, free: 60 kB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001136/0.2466, allocations: 39.86 kB / 0.7256 GB, free: 20 kB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.2466, allocations: 8 kB / 0.7256 GB, free: 12 kB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001012/0.2468, allocations: 27.8 kB / 0.7256 GB, free: 15.98 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.829e-05/0.2468, allocations: 16 kB / 0.7256 GB, free: 15.96 MB / 0.5105 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 0.0001056/0.2469, allocations: 188 kB / 0.7258 GB, free: 15.78 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.526e-05/0.247, allocations: 120.9 kB / 0.7259 GB, free: 15.65 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.709e-05/0.247, allocations: 113.5 kB / 0.726 GB, free: 15.54 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.413e-05/0.2471, allocations: 180.2 kB / 0.7262 GB, free: 15.36 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.308e-05/0.2472, allocations: 176.3 kB / 0.7263 GB, free: 15.18 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.685e-05/0.2473, allocations: 188.2 kB / 0.7265 GB, free: 14.98 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002174/0.2475, allocations: 401.7 kB / 0.7269 GB, free: 14.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.137e-05/0.2475, allocations: 105 kB / 0.727 GB, free: 14.44 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.187e-05/0.2476, allocations: 105 kB / 0.7271 GB, free: 14.33 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.445e-05/0.2476, allocations: 184.2 kB / 0.7273 GB, free: 14.14 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.72e-05/0.2477, allocations: 176.3 kB / 0.7275 GB, free: 13.96 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.336e-05/0.2478, allocations: 176.3 kB / 0.7276 GB, free: 13.78 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.356e-05/0.2478, allocations: 192.2 kB / 0.7278 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001375/0.248, allocations: 316.5 kB / 0.7281 GB, free: 13.25 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 7.645e-05/0.2481, allocations: 185.9 kB / 0.7283 GB, free: 13.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.145e-05/0.2481, allocations: 180.3 kB / 0.7285 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.82e-05/0.2482, allocations: 101 kB / 0.7285 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.793e-05/0.2483, allocations: 188.2 kB / 0.7287 GB, free: 12.57 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.846e-05/0.2483, allocations: 109.3 kB / 0.7288 GB, free: 12.45 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 6.505e-05/0.2484, allocations: 107.8 kB / 0.7289 GB, free: 12.35 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2484, allocations: 0 / 0.7289 GB, free: 12.35 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003213/0.2488, allocations: 27.94 kB / 0.729 GB, free: 12.32 MB / 0.5105 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.0001827/0.2489, allocations: 186.5 kB / 0.7291 GB, free: 12.12 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001204/0.2491, allocations: 63.8 kB / 0.7292 GB, free: 12.06 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.2491, allocations: 0 / 0.7292 GB, free: 12.06 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.413e-06/0.2491, allocations: 0 / 0.7292 GB, free: 12.06 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003089/0.2494, allocations: 0.5354 MB / 0.7297 GB, free: 11.52 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002221/0.2496, allocations: 179.6 kB / 0.7299 GB, free: 11.32 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002682/0.2499, allocations: 0.6968 MB / 0.7306 GB, free: 10.6 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001707/0.2501, allocations: 52.72 kB / 0.7306 GB, free: 10.55 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.83e-05/0.2501, allocations: 15.44 kB / 0.7306 GB, free: 10.54 MB / 0.5105 GB Notification: Performance of SimCode: time 2.31e-07/0.2501, allocations: 3.938 kB / 0.7306 GB, free: 10.53 MB / 0.5105 GB Notification: Performance of Templates: time 0.004198/0.2543, allocations: 1.74 MB / 0.7323 GB, free: 8.824 MB / 0.5105 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)