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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001067/0.001067, allocations: 110.4 kB / 17.03 MB, free: 5.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009944/0.0009944, allocations: 196.1 kB / 17.97 MB, free: 5.078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.246/1.246, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6768/0.6768, allocations: 115.1 MB / 406.9 MB, free: 6.367 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001171/0.001171, allocations: 67.91 kB / 494.8 MB, free: 15.83 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3327/0.3338, allocations: 76.14 MB / 0.5576 GB, free: 36.67 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001631/0.3355, allocations: 0.5846 MB / 0.5581 GB, free: 36.33 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003161/0.3358, allocations: 77.19 kB / 0.5582 GB, free: 36.29 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.61e-05/0.3359, allocations: 1.281 kB / 0.5582 GB, free: 36.29 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.798e-05/0.3359, allocations: 0 / 0.5582 GB, free: 36.29 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.944e-05/0.336, allocations: 12.12 kB / 0.5582 GB, free: 36.28 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002903/0.3363, allocations: 42.7 kB / 0.5583 GB, free: 36.27 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.25e-05/0.3364, allocations: 22.64 kB / 0.5583 GB, free: 36.26 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.336e-05/0.3364, allocations: 4.375 kB / 0.5583 GB, free: 36.26 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.719e-05/0.3364, allocations: 15.38 kB / 0.5583 GB, free: 36.26 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001842/0.3366, allocations: 67.98 kB / 0.5584 GB, free: 36.23 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.325e-05/0.3366, allocations: 1.156 kB / 0.5584 GB, free: 36.23 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.484e-05/0.3367, allocations: 38.16 kB / 0.5584 GB, free: 36.23 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.764e-05/0.3368, allocations: 20.5 kB / 0.5584 GB, free: 36.22 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.899e-05/0.3368, allocations: 22.73 kB / 0.5585 GB, free: 36.2 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001267/0.337, allocations: 66.66 kB / 0.5585 GB, free: 36.18 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.337, allocations: 0.6875 kB / 0.5585 GB, free: 36.18 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.337, allocations: 0 / 0.5585 GB, free: 36.18 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.337, allocations: 6 kB / 0.5585 GB, free: 36.18 MB / 446.1 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.0002575/0.3372, allocations: 356.8 kB / 0.5589 GB, free: 35.81 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.165e-05/0.3373, allocations: 9.281 kB / 0.5589 GB, free: 35.81 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.509e-05/0.3373, allocations: 6.516 kB / 0.5589 GB, free: 35.81 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.711e-05/0.3374, allocations: 169.3 kB / 0.559 GB, free: 35.61 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/0.3374, allocations: 7.047 kB / 0.559 GB, free: 35.61 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.157e-05/0.3374, allocations: 2.719 kB / 0.559 GB, free: 35.61 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002271/0.3376, allocations: 185.7 kB / 0.5592 GB, free: 35.5 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.3377, allocations: 0 / 0.5592 GB, free: 35.5 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/0.3377, allocations: 2.875 kB / 0.5592 GB, free: 35.5 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-05/0.3377, allocations: 26.83 kB / 0.5593 GB, free: 35.5 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.126e-05/0.3378, allocations: 35.92 kB / 0.5593 GB, free: 35.49 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004808/0.3383, allocations: 0.9048 MB / 0.5602 GB, free: 34.61 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.794e-05/0.3384, allocations: 169.2 kB / 0.5603 GB, free: 34.44 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.775e-05/0.3384, allocations: 89.42 kB / 0.5604 GB, free: 34.35 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.391e-05/0.3384, allocations: 78.52 kB / 0.5605 GB, free: 34.27 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.115e-05/0.3384, allocations: 107.2 kB / 0.5606 GB, free: 34.16 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 9.51e-07/0.3384, allocations: 1.531 kB / 0.5606 GB, free: 34.16 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 6.931e-05/0.3385, allocations: 35.66 kB / 0.5606 GB, free: 34.12 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.792e-05/0.3386, allocations: 394.8 kB / 0.561 GB, free: 33.67 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001257/0.3387, allocations: 166.6 kB / 0.5612 GB, free: 33.55 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.063e-05/0.3387, allocations: 26.95 kB / 0.5612 GB, free: 33.52 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.046e-05/0.3388, allocations: 153.1 kB / 0.5613 GB, free: 33.38 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.102e-06/0.3388, allocations: 2.562 kB / 0.5613 GB, free: 33.38 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.86e-05/0.3389, allocations: 60.56 kB / 0.5614 GB, free: 33.34 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.016e-05/0.3389, allocations: 320.5 kB / 0.5617 GB, free: 33.02 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.353e-05/0.339, allocations: 27.34 kB / 0.5617 GB, free: 33.02 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001205/0.3391, allocations: 225.9 kB / 0.5619 GB, free: 32.76 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001379/0.3393, allocations: 200.9 kB / 0.5621 GB, free: 32.56 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.3393, allocations: 2.25 kB / 0.5621 GB, free: 32.56 MB / 446.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002914/0.3396, allocations: 188.1 kB / 0.5623 GB, free: 32.48 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.3396, allocations: 6.781 kB / 0.5623 GB, free: 32.48 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.3396, allocations: 5.75 kB / 0.5623 GB, free: 32.48 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.875e-05/0.3396, allocations: 9.438 kB / 0.5623 GB, free: 32.47 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001161/0.3397, allocations: 41.62 kB / 0.5624 GB, free: 32.47 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.178e-05/0.3398, allocations: 11.19 kB / 0.5624 GB, free: 32.46 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.496e-05/0.3398, allocations: 25.31 kB / 0.5624 GB, free: 32.45 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.403e-05/0.3399, allocations: 12.12 kB / 0.5624 GB, free: 32.45 MB / 446.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.586e-05/0.34, allocations: 216.4 kB / 0.5626 GB, free: 32.25 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.818e-05/0.34, allocations: 111.6 kB / 0.5627 GB, free: 32.14 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.081e-05/0.34, allocations: 119.8 kB / 0.5629 GB, free: 32.02 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.622e-05/0.3401, allocations: 194.8 kB / 0.563 GB, free: 31.83 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.533e-05/0.3401, allocations: 178.1 kB / 0.5632 GB, free: 31.65 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.235e-05/0.3401, allocations: 182.2 kB / 0.5634 GB, free: 31.46 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001354/0.3403, allocations: 420.5 kB / 0.5638 GB, free: 31.02 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.547e-05/0.3403, allocations: 109.5 kB / 0.5639 GB, free: 30.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.412e-05/0.3403, allocations: 102.9 kB / 0.564 GB, free: 30.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-05/0.3403, allocations: 179.2 kB / 0.5642 GB, free: 30.62 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.686e-05/0.3404, allocations: 186.1 kB / 0.5643 GB, free: 30.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.416e-05/0.3404, allocations: 183.7 kB / 0.5645 GB, free: 30.25 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.532e-05/0.3404, allocations: 185.9 kB / 0.5647 GB, free: 30.06 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.193e-05/0.3405, allocations: 311.4 kB / 0.565 GB, free: 29.74 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.879e-05/0.3406, allocations: 187.5 kB / 0.5652 GB, free: 29.54 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.919e-05/0.3406, allocations: 183.6 kB / 0.5653 GB, free: 29.36 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.321e-05/0.3407, allocations: 113.8 kB / 0.5654 GB, free: 29.24 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.841e-05/0.3407, allocations: 183.4 kB / 0.5656 GB, free: 29.06 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.347e-05/0.3407, allocations: 106.1 kB / 0.5657 GB, free: 28.95 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.429e-05/0.3408, allocations: 115.5 kB / 0.5658 GB, free: 28.87 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3408, allocations: 0.8438 kB / 0.5658 GB, free: 28.87 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002995/0.3411, allocations: 26.34 kB / 0.5659 GB, free: 28.86 MB / 446.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001514/0.3413, allocations: 187.5 kB / 0.566 GB, free: 28.7 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001362/0.3414, allocations: 74.77 kB / 0.5661 GB, free: 28.68 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.3414, allocations: 1.375 kB / 0.5661 GB, free: 28.68 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.252e-06/0.3414, allocations: 1.25 kB / 0.5661 GB, free: 28.68 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002543/0.3417, allocations: 473.9 kB / 0.5666 GB, free: 28.23 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002225/0.3419, allocations: 227.6 kB / 0.5668 GB, free: 28.03 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001251/0.342, allocations: 0.694 MB / 0.5675 GB, free: 27.34 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001812/0.3422, allocations: 54.27 kB / 0.5675 GB, free: 27.33 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.628e-05/0.3423, allocations: 13.59 kB / 0.5675 GB, free: 27.32 MB / 446.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3423, allocations: 1.969 kB / 0.5675 GB, free: 27.32 MB / 446.1 MB Notification: Performance of Templates: time 0.004737/0.347, allocations: 1.659 MB / 0.5691 GB, free: 27.2 MB / 446.1 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 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1)