Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.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.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit") translateModel(IBPSA.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001314/0.001314, allocations: 115.1 kB / 17.04 MB, free: 5.805 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.0009863/0.0009864, allocations: 195 kB / 17.98 MB, free: 5.031 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.296/1.296, 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.6846/0.6846, allocations: 115.1 MB / 406.9 MB, free: 6.379 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 63.89 kB / 494.8 MB, free: 15.88 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3337/0.335, allocations: 76.13 MB / 0.5576 GB, free: 36.65 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothLimit): time 0.002314/0.3374, allocations: 1.448 MB / 0.559 GB, free: 35.66 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008124/0.3382, allocations: 0.5671 MB / 0.5595 GB, free: 35.27 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.145e-05/0.3382, allocations: 0.7812 kB / 0.5595 GB, free: 35.27 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.619e-05/0.3383, allocations: 0 / 0.5595 GB, free: 35.27 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.189e-05/0.3383, allocations: 6.625 kB / 0.5595 GB, free: 35.27 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002424/0.3386, allocations: 45.22 kB / 0.5596 GB, free: 35.25 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.927e-05/0.3386, allocations: 23.98 kB / 0.5596 GB, free: 35.23 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.707e-05/0.3387, allocations: 12.09 kB / 0.5596 GB, free: 35.23 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.472e-05/0.3388, allocations: 19.69 kB / 0.5596 GB, free: 35.22 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.026e-05/0.3389, allocations: 14.75 kB / 0.5596 GB, free: 35.21 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.248e-05/0.3389, allocations: 3.188 kB / 0.5597 GB, free: 35.21 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000112/0.339, allocations: 52.39 kB / 0.5597 GB, free: 35.2 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.253e-05/0.339, allocations: 7.062 kB / 0.5597 GB, free: 35.19 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.591e-05/0.3391, allocations: 20.81 kB / 0.5597 GB, free: 35.18 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001419/0.3392, allocations: 62.22 kB / 0.5598 GB, free: 35.15 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.3392, allocations: 0 / 0.5598 GB, free: 35.15 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.3392, allocations: 3.016 kB / 0.5598 GB, free: 35.15 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.756e-06/0.3392, allocations: 0 / 0.5598 GB, free: 35.15 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003436/0.3396, allocations: 348 kB / 0.5601 GB, free: 34.79 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.144e-05/0.3396, allocations: 9.469 kB / 0.5601 GB, free: 34.79 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.974e-05/0.3397, allocations: 11.81 kB / 0.5601 GB, free: 34.78 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.053e-05/0.3398, allocations: 167.7 kB / 0.5603 GB, free: 34.59 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.3398, allocations: 1.656 kB / 0.5603 GB, free: 34.59 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.028e-05/0.3398, allocations: 3.109 kB / 0.5603 GB, free: 34.59 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001202/0.3399, allocations: 51.05 kB / 0.5604 GB, free: 34.54 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.3399, allocations: 0 / 0.5604 GB, free: 34.54 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-06/0.3399, allocations: 1.594 kB / 0.5604 GB, free: 34.54 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.3399, allocations: 5.5 kB / 0.5604 GB, free: 34.54 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.249e-05/0.34, allocations: 19.88 kB / 0.5604 GB, free: 34.54 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002573/0.3403, allocations: 256.6 kB / 0.5606 GB, free: 34.26 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.594e-05/0.3404, allocations: 35.33 kB / 0.5607 GB, free: 34.23 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.139e-05/0.3404, allocations: 16.36 kB / 0.5607 GB, free: 34.22 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006804/0.3411, allocations: 477.5 kB / 0.5611 GB, free: 33.75 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.854e-05/0.3411, allocations: 33.3 kB / 0.5612 GB, free: 33.71 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.113e-06/0.3412, allocations: 5.25 kB / 0.5612 GB, free: 33.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002103/0.3414, allocations: 62.17 kB / 0.5612 GB, free: 33.66 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.63e-05/0.3414, allocations: 53.44 kB / 0.5613 GB, free: 33.6 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.716e-05/0.3415, allocations: 116.8 kB / 0.5614 GB, free: 33.49 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.907e-06/0.3415, allocations: 26.59 kB / 0.5614 GB, free: 33.46 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.36e-05/0.3415, allocations: 86.48 kB / 0.5615 GB, free: 33.38 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.463e-05/0.3415, allocations: 12.16 kB / 0.5615 GB, free: 33.37 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.743e-05/0.3416, allocations: 12.77 kB / 0.5615 GB, free: 33.35 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.688e-05/0.3416, allocations: 314.1 kB / 0.5618 GB, free: 33.04 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.024e-05/0.3417, allocations: 11.02 kB / 0.5618 GB, free: 33.04 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.246e-05/0.3417, allocations: 8.953 kB / 0.5618 GB, free: 33.04 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.868e-05/0.3418, allocations: 34.56 kB / 0.5619 GB, free: 33.02 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.3418, allocations: 1 kB / 0.5619 GB, free: 33.02 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000103/0.3419, allocations: 53.39 kB / 0.5619 GB, free: 32.98 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.3419, allocations: 7.703 kB / 0.5619 GB, free: 32.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.3419, allocations: 0 / 0.5619 GB, free: 32.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.3419, allocations: 0.7969 kB / 0.5619 GB, free: 32.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.765e-05/0.342, allocations: 10.34 kB / 0.5619 GB, free: 32.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.342, allocations: 1.719 kB / 0.5619 GB, free: 32.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.182e-05/0.3421, allocations: 6.672 kB / 0.562 GB, free: 32.97 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.3421, allocations: 2.891 kB / 0.562 GB, free: 32.97 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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 5.494e-05/0.3421, allocations: 112.6 kB / 0.5621 GB, free: 32.86 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.545e-05/0.3422, allocations: 6.891 kB / 0.5621 GB, free: 32.85 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001494/0.3423, allocations: 60.42 kB / 0.5621 GB, free: 32.81 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.277e-06/0.3423, allocations: 3.172 kB / 0.5621 GB, free: 32.81 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.686e-06/0.3423, allocations: 0 / 0.5621 GB, free: 32.81 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.3424, allocations: 1.562 kB / 0.5621 GB, free: 32.81 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001173/0.3425, allocations: 167 kB / 0.5623 GB, free: 32.61 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3425, allocations: 0 / 0.5623 GB, free: 32.61 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.217e-05/0.3425, allocations: 7.125 kB / 0.5623 GB, free: 32.61 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.3425, allocations: 1.031 kB / 0.5623 GB, free: 32.61 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.674e-06/0.3425, allocations: 5.5 kB / 0.5623 GB, free: 32.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.3426, allocations: 4.641 kB / 0.5623 GB, free: 32.6 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3426, allocations: 1.719 kB / 0.5623 GB, free: 32.6 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001219/0.3427, allocations: 148.6 kB / 0.5624 GB, free: 32.46 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.19e-05/0.3427, allocations: 82.97 kB / 0.5625 GB, free: 32.37 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.231e-05/0.3427, allocations: 4.734 kB / 0.5625 GB, free: 32.36 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.787e-05/0.3428, allocations: 7.969 kB / 0.5625 GB, free: 32.36 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.3e-05/0.3428, allocations: 3.125 kB / 0.5625 GB, free: 32.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-06/0.3428, allocations: 5.875 kB / 0.5625 GB, free: 32.36 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.834e-05/0.3429, allocations: 87.36 kB / 0.5626 GB, free: 32.28 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3429, allocations: 1.375 kB / 0.5626 GB, free: 32.28 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002278/0.3431, allocations: 16.61 kB / 0.5627 GB, free: 32.27 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 (2): * Single equations (assignments): 2 * 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.0001325/0.3433, allocations: 110.9 kB / 0.5628 GB, free: 32.18 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000122/0.3434, allocations: 29 kB / 0.5628 GB, free: 32.18 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.3434, allocations: 1.188 kB / 0.5628 GB, free: 32.18 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.088e-05/0.3434, allocations: 9.531 kB / 0.5628 GB, free: 32.18 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001989/0.3436, allocations: 11.19 kB / 0.5628 GB, free: 32.17 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002624/0.3439, allocations: 125.5 kB / 0.5629 GB, free: 32.05 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001415/0.3441, allocations: 0.6782 MB / 0.5636 GB, free: 31.36 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.363e-05/0.3441, allocations: 3.781 kB / 0.5636 GB, free: 31.36 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.767e-05/0.3441, allocations: 9.219 kB / 0.5636 GB, free: 31.35 MB / 446.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3441, allocations: 0 / 0.5636 GB, free: 31.35 MB / 446.1 MB Notification: Performance of Templates: time 0.0029/0.347, allocations: 0.67 MB / 0.5643 GB, free: 31.3 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)