Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.IsMonotonic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.IsMonotonic") translateModel(IBPSA.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.IsMonotonic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001338/0.001338, allocations: 169 kB / 16.76 MB, free: 5.055 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4959/0.4959, allocations: 86.27 MB / 103.8 MB, free: 14.58 MB / 90.74 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.42/1.42, allocations: 223.3 MB / 348.4 MB, free: 5.035 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008223/0.0008222, allocations: 92.75 kB / 420.2 MB, free: 9.684 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006118/0.0006119, allocations: 16 kB / 0.4901 GB, free: 8.023 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3774/0.378, allocations: 71.02 MB / 0.5595 GB, free: 43.73 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1273/0.5054, allocations: 99.87 MB / 0.657 GB, free: 9.66 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002434/0.5057, allocations: 79.89 kB / 0.6571 GB, free: 9.582 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003017/0.5087, allocations: 1.153 MB / 0.6582 GB, free: 8.434 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.5087, allocations: 0 / 0.6582 GB, free: 8.434 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.111e-06/0.5088, allocations: 4 kB / 0.6582 GB, free: 8.43 MB / 474.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.0003192/0.5091, allocations: 343.5 kB / 0.6585 GB, free: 8.043 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.5091, allocations: 8.031 kB / 0.6585 GB, free: 8.035 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.085e-05/0.5092, allocations: 12.84 kB / 0.6585 GB, free: 8.023 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001177/0.5093, allocations: 172.3 kB / 0.6587 GB, free: 7.816 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.666e-05/0.5094, allocations: 16.28 kB / 0.6587 GB, free: 7.801 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.456e-06/0.5094, allocations: 384 / 0.6587 GB, free: 7.801 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002677/0.5096, allocations: 159.4 kB / 0.6589 GB, free: 7.621 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.5097, allocations: 0 / 0.6589 GB, free: 7.621 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.827e-05/0.5097, allocations: 8 kB / 0.6589 GB, free: 7.613 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.716e-05/0.5097, allocations: 23.97 kB / 0.6589 GB, free: 7.59 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.56e-05/0.5098, allocations: 43.84 kB / 0.659 GB, free: 7.547 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007809/0.5106, allocations: 0.8828 MB / 0.6598 GB, free: 6.594 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001045/0.5107, allocations: 169.1 kB / 0.66 GB, free: 6.418 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.006e-05/0.5108, allocations: 84.14 kB / 0.6601 GB, free: 6.332 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.255e-05/0.5108, allocations: 79.28 kB / 0.6601 GB, free: 6.254 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.856e-05/0.5109, allocations: 109.8 kB / 0.6602 GB, free: 6.137 MB / 474.7 MB Notification: Performance of pre-optimization done (n=0): time 1.393e-06/0.5109, allocations: 0 / 0.6602 GB, free: 6.137 MB / 474.7 MB Notification: Performance of matching and sorting (n=0): time 9.76e-05/0.511, allocations: 37.61 kB / 0.6603 GB, free: 6.094 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002224/0.5112, allocations: 387.7 kB / 0.6606 GB, free: 5.641 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001763/0.5114, allocations: 172.2 kB / 0.6608 GB, free: 5.465 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.628e-05/0.5115, allocations: 29.7 kB / 0.6608 GB, free: 5.43 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001092/0.5116, allocations: 151.1 kB / 0.661 GB, free: 5.277 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.829e-06/0.5116, allocations: 4 kB / 0.661 GB, free: 5.273 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.851e-06/0.5116, allocations: 4 kB / 0.661 GB, free: 5.27 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.5117, allocations: 322.8 kB / 0.6613 GB, free: 4.945 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.426e-05/0.5118, allocations: 27.97 kB / 0.6613 GB, free: 4.918 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002015/0.512, allocations: 214.5 kB / 0.6615 GB, free: 4.613 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002288/0.5122, allocations: 197.8 kB / 0.6617 GB, free: 4.355 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.5123, allocations: 0 / 0.6617 GB, free: 4.355 MB / 474.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003631/0.5126, allocations: 193.1 kB / 0.6619 GB, free: 4.16 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.368e-05/0.5127, allocations: 8 kB / 0.6619 GB, free: 4.152 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.888e-06/0.5127, allocations: 4.656 kB / 0.6619 GB, free: 4.148 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.933e-05/0.5127, allocations: 4 kB / 0.6619 GB, free: 4.145 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001389/0.5129, allocations: 47.86 kB / 0.662 GB, free: 4.098 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.482e-05/0.5129, allocations: 11.94 kB / 0.662 GB, free: 4.086 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.879e-05/0.513, allocations: 27.83 kB / 0.662 GB, free: 4.059 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.542e-05/0.513, allocations: 12.09 kB / 0.662 GB, free: 4.047 MB / 474.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.0001632/0.5132, allocations: 212.9 kB / 0.6622 GB, free: 3.828 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.096e-05/0.5133, allocations: 117.2 kB / 0.6623 GB, free: 3.707 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.219e-05/0.5134, allocations: 120.8 kB / 0.6624 GB, free: 3.574 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.87e-05/0.5134, allocations: 188.1 kB / 0.6626 GB, free: 3.383 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.996e-05/0.5135, allocations: 184.2 kB / 0.6628 GB, free: 3.195 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.172e-05/0.5136, allocations: 180.3 kB / 0.663 GB, free: 3.012 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002669/0.5139, allocations: 413.2 kB / 0.6634 GB, free: 2.551 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-05/0.5139, allocations: 108.9 kB / 0.6635 GB, free: 2.438 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.745e-05/0.514, allocations: 115.5 kB / 0.6636 GB, free: 2.32 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.163e-05/0.5141, allocations: 180.2 kB / 0.6637 GB, free: 2.137 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.134e-05/0.5141, allocations: 176.3 kB / 0.6639 GB, free: 1.957 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.117e-05/0.5142, allocations: 188.2 kB / 0.6641 GB, free: 1.766 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.975e-05/0.5143, allocations: 180.2 kB / 0.6643 GB, free: 1.582 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001608/0.5145, allocations: 315.7 kB / 0.6646 GB, free: 1.25 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.033e-05/0.5146, allocations: 190 kB / 0.6647 GB, free: 1.039 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.267e-05/0.5146, allocations: 176.3 kB / 0.6649 GB, free: 0.8594 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.393e-05/0.5147, allocations: 112.9 kB / 0.665 GB, free: 0.7422 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.088e-05/0.5148, allocations: 180.2 kB / 0.6652 GB, free: 0.5586 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.378e-05/0.5149, allocations: 116.9 kB / 0.6653 GB, free: 448 kB / 474.7 MB Notification: Performance of sorting global known variables: time 8.436e-05/0.515, allocations: 117.9 kB / 0.6654 GB, free: 332 kB / 474.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.515, allocations: 0 / 0.6654 GB, free: 332 kB / 474.7 MB Notification: Performance of remove unused functions: time 0.0003642/0.5153, allocations: 24 kB / 0.6654 GB, free: 308 kB / 474.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.0002021/0.5156, allocations: 183.1 kB / 0.6656 GB, free: 116 kB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0001671/0.5157, allocations: 76.39 kB / 0.6657 GB, free: 40 kB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.5157, allocations: 4 kB / 0.6657 GB, free: 36 kB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 1.864e-06/0.5158, allocations: 0 / 0.6657 GB, free: 36 kB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004386/0.5162, allocations: 0.5291 MB / 0.6662 GB, free: 15.5 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003377/0.5165, allocations: 239.1 kB / 0.6664 GB, free: 15.24 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000382/0.5169, allocations: 0.6971 MB / 0.6671 GB, free: 14.52 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0001828/0.5171, allocations: 56.59 kB / 0.6672 GB, free: 14.46 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.062e-05/0.5172, allocations: 11.44 kB / 0.6672 GB, free: 14.45 MB / 490.7 MB Notification: Performance of SimCode: time 3.71e-07/0.5172, allocations: 0 / 0.6672 GB, free: 14.45 MB / 490.7 MB Notification: Performance of Templates: time 0.004488/0.5217, allocations: 1.734 MB / 0.6689 GB, free: 12.75 MB / 490.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.IsMonotonic.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.IsMonotonic.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.IsMonotonic -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1)