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.0009678/0.000968, allocations: 87.91 kB / 16.66 MB, free: 5.742 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.00107/0.00107, allocations: 177.6 kB / 17.58 MB, free: 5.477 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.303/1.303, allocations: 223.3 MB / 241.6 MB, free: 220 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.704/0.704, allocations: 115.5 MB / 408.2 MB, free: 7.105 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003192/0.0003192, allocations: 12 kB / 496.5 MB, free: 15.67 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3614/0.3618, allocations: 77.51 MB / 0.5606 GB, free: 36.25 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.IsMonotonic): time 0.0007074/0.3625, allocations: 335.8 kB / 0.5609 GB, free: 36.02 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003389/0.3629, allocations: 74.34 kB / 0.561 GB, free: 35.98 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.794e-05/0.3629, allocations: 0 / 0.561 GB, free: 35.98 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.132e-05/0.3629, allocations: 2.922 kB / 0.561 GB, free: 35.98 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.491e-05/0.363, allocations: 6.953 kB / 0.561 GB, free: 35.98 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002275/0.3632, allocations: 31.89 kB / 0.561 GB, free: 35.97 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.406e-05/0.3633, allocations: 29.33 kB / 0.5611 GB, free: 35.96 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.266e-05/0.3633, allocations: 2.328 kB / 0.5611 GB, free: 35.96 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.525e-05/0.3634, allocations: 19.34 kB / 0.5611 GB, free: 35.95 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001975/0.3636, allocations: 71.59 kB / 0.5611 GB, free: 35.94 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.244e-05/0.3636, allocations: 0 / 0.5611 GB, free: 35.94 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.317e-05/0.3637, allocations: 34.81 kB / 0.5612 GB, free: 35.93 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.965e-05/0.3637, allocations: 23.83 kB / 0.5612 GB, free: 35.92 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.815e-05/0.3638, allocations: 45.5 kB / 0.5612 GB, free: 35.88 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 9.603e-05/0.3639, allocations: 38.62 kB / 0.5613 GB, free: 35.87 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.3639, allocations: 3.281 kB / 0.5613 GB, free: 35.87 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3639, allocations: 0 / 0.5613 GB, free: 35.87 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.657e-06/0.3639, allocations: 0 / 0.5613 GB, free: 35.87 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.0002496/0.3642, allocations: 347.7 kB / 0.5616 GB, free: 35.5 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.3642, allocations: 13.48 kB / 0.5616 GB, free: 35.5 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.333e-05/0.3642, allocations: 9.5 kB / 0.5616 GB, free: 35.49 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.47e-05/0.3643, allocations: 167 kB / 0.5618 GB, free: 35.29 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.499e-05/0.3643, allocations: 1.531 kB / 0.5618 GB, free: 35.29 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.164e-05/0.3644, allocations: 4.031 kB / 0.5618 GB, free: 35.29 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002331/0.3646, allocations: 184.2 kB / 0.562 GB, free: 35.19 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.203e-06/0.3646, allocations: 5.25 kB / 0.562 GB, free: 35.18 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.3646, allocations: 3.281 kB / 0.562 GB, free: 35.18 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.127e-05/0.3647, allocations: 21.25 kB / 0.562 GB, free: 35.18 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.38e-05/0.3647, allocations: 43.56 kB / 0.562 GB, free: 35.17 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005118/0.3653, allocations: 0.9097 MB / 0.5629 GB, free: 34.29 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.749e-05/0.3653, allocations: 171.5 kB / 0.5631 GB, free: 34.11 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.532e-05/0.3653, allocations: 80.89 kB / 0.5632 GB, free: 34.03 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.396e-05/0.3654, allocations: 77.38 kB / 0.5632 GB, free: 33.95 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.851e-05/0.3654, allocations: 113.3 kB / 0.5634 GB, free: 33.84 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.3654, allocations: 1.406 kB / 0.5634 GB, free: 33.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 6.979e-05/0.3655, allocations: 39.2 kB / 0.5634 GB, free: 33.8 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.192e-05/0.3656, allocations: 388.1 kB / 0.5638 GB, free: 33.35 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001235/0.3657, allocations: 169.3 kB / 0.5639 GB, free: 33.23 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.19e-05/0.3657, allocations: 26.67 kB / 0.5639 GB, free: 33.2 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.933e-05/0.3658, allocations: 146.3 kB / 0.5641 GB, free: 33.06 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.53e-06/0.3658, allocations: 7.078 kB / 0.5641 GB, free: 33.06 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.991e-05/0.3658, allocations: 21.72 kB / 0.5641 GB, free: 33.04 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.896e-05/0.3659, allocations: 331.4 kB / 0.5644 GB, free: 32.71 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.259e-05/0.3659, allocations: 25.95 kB / 0.5645 GB, free: 32.71 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001219/0.3661, allocations: 220.9 kB / 0.5647 GB, free: 32.45 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001558/0.3662, allocations: 200.9 kB / 0.5649 GB, free: 32.25 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.3662, allocations: 1.594 kB / 0.5649 GB, free: 32.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002831/0.3665, allocations: 193.7 kB / 0.565 GB, free: 32.16 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.3665, allocations: 9.719 kB / 0.5651 GB, free: 32.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.926e-06/0.3666, allocations: 9.406 kB / 0.5651 GB, free: 32.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.3666, allocations: 5.375 kB / 0.5651 GB, free: 32.16 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001247/0.3667, allocations: 46.47 kB / 0.5651 GB, free: 32.15 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.096e-05/0.3667, allocations: 7.141 kB / 0.5651 GB, free: 32.15 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.708e-05/0.3668, allocations: 19.34 kB / 0.5651 GB, free: 32.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.483e-05/0.3668, allocations: 16.31 kB / 0.5652 GB, free: 32.14 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.536e-05/0.3669, allocations: 212.2 kB / 0.5654 GB, free: 31.94 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.659e-05/0.367, allocations: 114.1 kB / 0.5655 GB, free: 31.82 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.969e-05/0.367, allocations: 120 kB / 0.5656 GB, free: 31.71 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.548e-05/0.367, allocations: 182.9 kB / 0.5658 GB, free: 31.52 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.497e-05/0.3671, allocations: 182.9 kB / 0.5659 GB, free: 31.34 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.587e-05/0.3671, allocations: 180.6 kB / 0.5661 GB, free: 31.16 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001428/0.3673, allocations: 425 kB / 0.5665 GB, free: 30.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.511e-05/0.3673, allocations: 106.6 kB / 0.5666 GB, free: 30.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.485e-05/0.3673, allocations: 103.6 kB / 0.5667 GB, free: 30.49 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.857e-05/0.3673, allocations: 187.3 kB / 0.5669 GB, free: 30.3 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.574e-05/0.3674, allocations: 179.5 kB / 0.5671 GB, free: 30.12 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.317e-05/0.3674, allocations: 185.8 kB / 0.5672 GB, free: 29.93 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.59e-05/0.3674, allocations: 183.9 kB / 0.5674 GB, free: 29.75 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.579e-05/0.3675, allocations: 313.8 kB / 0.5677 GB, free: 29.43 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.695e-05/0.3675, allocations: 187.4 kB / 0.5679 GB, free: 29.23 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.266e-05/0.3676, allocations: 184.2 kB / 0.5681 GB, free: 29.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.317e-05/0.3677, allocations: 113.5 kB / 0.5682 GB, free: 28.93 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.082e-05/0.3677, allocations: 183.6 kB / 0.5683 GB, free: 28.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.329e-05/0.3677, allocations: 101.6 kB / 0.5684 GB, free: 28.64 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.467e-05/0.3678, allocations: 115.9 kB / 0.5686 GB, free: 28.56 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3678, allocations: 1.969 kB / 0.5686 GB, free: 28.56 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003066/0.3681, allocations: 27.72 kB / 0.5686 GB, free: 28.55 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.0001506/0.3683, allocations: 182 kB / 0.5688 GB, free: 28.39 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001444/0.3684, allocations: 74.69 kB / 0.5688 GB, free: 28.38 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3684, allocations: 0.6875 kB / 0.5688 GB, free: 28.38 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.864e-06/0.3684, allocations: 5.812 kB / 0.5688 GB, free: 28.37 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002804/0.3687, allocations: 0.5322 MB / 0.5694 GB, free: 27.84 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002695/0.369, allocations: 272.3 kB / 0.5696 GB, free: 27.6 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001356/0.3691, allocations: 0.6967 MB / 0.5703 GB, free: 26.9 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.553e-05/0.3692, allocations: 14.62 kB / 0.5703 GB, free: 26.89 MB / 446.1 MB Notification: Performance of SimCode: time 1.032e-06/0.3692, allocations: 0 / 0.5703 GB, free: 26.89 MB / 446.1 MB Notification: Performance of Templates: time 0.003647/0.3728, allocations: 1.697 MB / 0.572 GB, free: 26.81 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 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1)