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.001214/0.001214, allocations: 102.9 kB / 16.64 MB, free: 6.824 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.001332/0.001333, allocations: 197.9 kB / 17.57 MB, free: 5.93 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.355/1.355, allocations: 222.9 MB / 241.2 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7567/0.7567, allocations: 122.9 MB / 414.3 MB, free: 28 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.001319, allocations: 67.89 kB / 0.4913 GB, free: 7.828 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3468/0.3482, allocations: 77.92 MB / 0.5673 GB, free: 32.68 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001834/0.3501, allocations: 0.6581 MB / 0.568 GB, free: 32.27 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003082/0.3504, allocations: 73.61 kB / 0.5681 GB, free: 32.23 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.078e-05/0.3504, allocations: 2.5 kB / 0.5681 GB, free: 32.23 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.295e-05/0.3505, allocations: 0.7031 kB / 0.5681 GB, free: 32.23 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.727e-05/0.3505, allocations: 6.594 kB / 0.5681 GB, free: 32.23 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002968/0.3508, allocations: 42.75 kB / 0.5681 GB, free: 32.21 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.186e-05/0.3509, allocations: 27.95 kB / 0.5681 GB, free: 32.21 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.755e-05/0.351, allocations: 4.281 kB / 0.5681 GB, free: 32.21 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.771e-05/0.351, allocations: 19.52 kB / 0.5682 GB, free: 32.2 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001981/0.3512, allocations: 69.36 kB / 0.5682 GB, free: 32.18 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.464e-05/0.3512, allocations: 1 kB / 0.5682 GB, free: 32.18 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001036/0.3513, allocations: 39.34 kB / 0.5683 GB, free: 32.17 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.609e-05/0.3514, allocations: 24.28 kB / 0.5683 GB, free: 32.16 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.205e-05/0.3514, allocations: 16.84 kB / 0.5683 GB, free: 32.15 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001014/0.3515, allocations: 44.72 kB / 0.5683 GB, free: 32.14 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.3515, allocations: 0 / 0.5683 GB, free: 32.14 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.505e-06/0.3516, allocations: 1.062 kB / 0.5683 GB, free: 32.14 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.3516, allocations: 3.938 kB / 0.5683 GB, free: 32.14 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.0002866/0.3519, allocations: 361.6 kB / 0.5687 GB, free: 31.77 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.3519, allocations: 10.94 kB / 0.5687 GB, free: 31.77 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.308e-05/0.352, allocations: 8.281 kB / 0.5687 GB, free: 31.76 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.251e-05/0.352, allocations: 168.3 kB / 0.5689 GB, free: 31.56 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.352, allocations: 13.41 kB / 0.5689 GB, free: 31.55 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.846e-06/0.3521, allocations: 3.656 kB / 0.5689 GB, free: 31.55 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002703/0.3523, allocations: 183.2 kB / 0.5691 GB, free: 31.45 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.3523, allocations: 0 / 0.5691 GB, free: 31.45 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.791e-05/0.3524, allocations: 4.672 kB / 0.5691 GB, free: 31.45 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-05/0.3524, allocations: 25.33 kB / 0.5691 GB, free: 31.44 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.558e-05/0.3525, allocations: 35.72 kB / 0.5691 GB, free: 31.43 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005154/0.353, allocations: 0.901 MB / 0.57 GB, free: 30.56 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.44e-05/0.3531, allocations: 171.2 kB / 0.5702 GB, free: 30.38 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.866e-05/0.3531, allocations: 81.83 kB / 0.5702 GB, free: 30.3 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.845e-05/0.3531, allocations: 77.23 kB / 0.5703 GB, free: 30.23 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.433e-05/0.3532, allocations: 109.1 kB / 0.5704 GB, free: 30.11 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.3532, allocations: 0 / 0.5704 GB, free: 30.11 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 7.778e-05/0.3533, allocations: 44.77 kB / 0.5705 GB, free: 30.07 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.538e-05/0.3534, allocations: 390 kB / 0.5708 GB, free: 29.62 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001325/0.3535, allocations: 166.7 kB / 0.571 GB, free: 29.5 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.194e-05/0.3535, allocations: 26.8 kB / 0.571 GB, free: 29.47 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.423e-05/0.3536, allocations: 151.2 kB / 0.5712 GB, free: 29.33 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.959e-06/0.3536, allocations: 3.172 kB / 0.5712 GB, free: 29.33 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.416e-05/0.3537, allocations: 56.45 kB / 0.5712 GB, free: 29.3 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.028e-05/0.3537, allocations: 324.1 kB / 0.5715 GB, free: 28.98 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.278e-05/0.3538, allocations: 27.05 kB / 0.5716 GB, free: 28.97 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001328/0.3539, allocations: 218.9 kB / 0.5718 GB, free: 28.71 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001601/0.3541, allocations: 204.3 kB / 0.572 GB, free: 28.51 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.3541, allocations: 2.125 kB / 0.572 GB, free: 28.51 MB / 446.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000291/0.3544, allocations: 198.7 kB / 0.5722 GB, free: 28.42 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.3544, allocations: 7.594 kB / 0.5722 GB, free: 28.42 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.3544, allocations: 4 kB / 0.5722 GB, free: 28.42 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/0.3545, allocations: 9.906 kB / 0.5722 GB, free: 28.42 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/0.3546, allocations: 38.41 kB / 0.5722 GB, free: 28.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.168e-05/0.3546, allocations: 7.375 kB / 0.5722 GB, free: 28.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.512e-05/0.3547, allocations: 24.12 kB / 0.5722 GB, free: 28.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.636e-05/0.3547, allocations: 15.5 kB / 0.5723 GB, free: 28.4 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 9.133e-05/0.3548, allocations: 211.1 kB / 0.5725 GB, free: 28.2 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.249e-05/0.3549, allocations: 117.2 kB / 0.5726 GB, free: 28.09 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.279e-05/0.3549, allocations: 114.7 kB / 0.5727 GB, free: 27.97 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-05/0.355, allocations: 190.3 kB / 0.5729 GB, free: 27.78 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.656e-05/0.355, allocations: 179 kB / 0.573 GB, free: 27.6 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.779e-05/0.355, allocations: 180.7 kB / 0.5732 GB, free: 27.42 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001464/0.3552, allocations: 426.5 kB / 0.5736 GB, free: 26.96 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.446e-05/0.3552, allocations: 102.1 kB / 0.5737 GB, free: 26.86 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.483e-05/0.3552, allocations: 106.9 kB / 0.5738 GB, free: 26.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.566e-05/0.3552, allocations: 178.6 kB / 0.574 GB, free: 26.57 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.232e-05/0.3553, allocations: 183.2 kB / 0.5742 GB, free: 26.39 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.383e-05/0.3553, allocations: 189.9 kB / 0.5743 GB, free: 26.2 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.307e-05/0.3553, allocations: 179.8 kB / 0.5745 GB, free: 26.02 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001043/0.3554, allocations: 316.4 kB / 0.5748 GB, free: 25.7 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.071e-05/0.3555, allocations: 187.2 kB / 0.575 GB, free: 25.49 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.535e-05/0.3555, allocations: 183.8 kB / 0.5752 GB, free: 25.31 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.564e-05/0.3556, allocations: 108.9 kB / 0.5753 GB, free: 25.2 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.282e-05/0.3557, allocations: 186.9 kB / 0.5754 GB, free: 25.01 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.574e-05/0.3557, allocations: 103.1 kB / 0.5755 GB, free: 24.91 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.003e-05/0.3557, allocations: 117.3 kB / 0.5757 GB, free: 24.82 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3558, allocations: 0 / 0.5757 GB, free: 24.82 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003202/0.3561, allocations: 27.3 kB / 0.5757 GB, free: 24.82 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.000162/0.3562, allocations: 182.2 kB / 0.5759 GB, free: 24.66 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001567/0.3564, allocations: 75.22 kB / 0.5759 GB, free: 24.64 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.3564, allocations: 5.406 kB / 0.5759 GB, free: 24.64 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.513e-06/0.3564, allocations: 1.094 kB / 0.5759 GB, free: 24.64 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002766/0.3567, allocations: 474 kB / 0.5764 GB, free: 24.18 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002704/0.357, allocations: 269.3 kB / 0.5766 GB, free: 23.94 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001371/0.3571, allocations: 0.6979 MB / 0.5773 GB, free: 23.24 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.821e-05/0.3572, allocations: 15.16 kB / 0.5773 GB, free: 23.23 MB / 446.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3572, allocations: 0 / 0.5773 GB, free: 23.23 MB / 446.1 MB Notification: Performance of Templates: time 0.004149/0.3613, allocations: 1.703 MB / 0.579 GB, free: 23.13 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)