Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.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.001146/0.001146, allocations: 104.6 kB / 16.35 MB, free: 5.895 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.001191/0.001191, allocations: 192.3 kB / 17.29 MB, free: 5.527 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.381/1.381, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.876/0.876, allocations: 143.1 MB / 434.2 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001367, allocations: 63.89 kB / 0.5156 GB, free: 14.43 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3642/0.3656, allocations: 82.03 MB / 0.5957 GB, free: 16.12 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit): time 0.002472/0.3681, allocations: 1.457 MB / 0.5971 GB, free: 14.68 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007758/0.369, allocations: 0.5607 MB / 0.5977 GB, free: 14.11 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.83e-05/0.369, allocations: 0 / 0.5977 GB, free: 14.11 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.414e-05/0.3691, allocations: 7.922 kB / 0.5977 GB, free: 14.1 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.307e-05/0.3691, allocations: 8.5 kB / 0.5977 GB, free: 14.09 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002604/0.3694, allocations: 45.45 kB / 0.5977 GB, free: 14.05 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.818e-05/0.3695, allocations: 31.91 kB / 0.5977 GB, free: 14.02 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.598e-05/0.3696, allocations: 5.375 kB / 0.5977 GB, free: 14.02 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.29e-05/0.3697, allocations: 15.92 kB / 0.5978 GB, free: 14 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.331e-05/0.3697, allocations: 15.92 kB / 0.5978 GB, free: 13.98 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.23e-05/0.3697, allocations: 4 kB / 0.5978 GB, free: 13.98 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001002/0.3698, allocations: 52.72 kB / 0.5978 GB, free: 13.93 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.221e-05/0.3699, allocations: 7.969 kB / 0.5978 GB, free: 13.92 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.38e-05/0.3699, allocations: 17.38 kB / 0.5979 GB, free: 13.91 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001267/0.37, allocations: 59.86 kB / 0.5979 GB, free: 13.85 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.37, allocations: 0 / 0.5979 GB, free: 13.85 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.37, allocations: 0 / 0.5979 GB, free: 13.85 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.37, allocations: 5.25 kB / 0.5979 GB, free: 13.84 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.000326/0.3704, allocations: 351.3 kB / 0.5983 GB, free: 13.46 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/0.3704, allocations: 12.91 kB / 0.5983 GB, free: 13.45 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.876e-05/0.3705, allocations: 8.844 kB / 0.5983 GB, free: 13.44 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.969e-05/0.3705, allocations: 167.6 kB / 0.5984 GB, free: 13.24 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.3706, allocations: 4.375 kB / 0.5984 GB, free: 13.23 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.259e-05/0.3706, allocations: 384 / 0.5984 GB, free: 13.23 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000123/0.3707, allocations: 50.89 kB / 0.5985 GB, free: 13.18 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.615e-06/0.3707, allocations: 0 / 0.5985 GB, free: 13.18 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.3707, allocations: 0 / 0.5985 GB, free: 13.18 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.3707, allocations: 1.094 kB / 0.5985 GB, free: 13.18 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.189e-05/0.3708, allocations: 19.98 kB / 0.5985 GB, free: 13.16 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002404/0.3711, allocations: 262.2 kB / 0.5988 GB, free: 12.86 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.253e-05/0.3711, allocations: 27.3 kB / 0.5988 GB, free: 12.82 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.447e-05/0.3712, allocations: 22.44 kB / 0.5988 GB, free: 12.8 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006277/0.3719, allocations: 470.8 kB / 0.5993 GB, free: 12.25 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.739e-05/0.3719, allocations: 40.16 kB / 0.5993 GB, free: 12.2 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.3719, allocations: 0 / 0.5993 GB, free: 12.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002057/0.3721, allocations: 60.72 kB / 0.5993 GB, free: 12.14 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.986e-05/0.3721, allocations: 55.39 kB / 0.5994 GB, free: 12.07 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.088e-05/0.3722, allocations: 117.8 kB / 0.5995 GB, free: 11.95 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.105e-06/0.3722, allocations: 29.69 kB / 0.5995 GB, free: 11.91 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.366e-05/0.3722, allocations: 84.08 kB / 0.5996 GB, free: 11.82 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.335e-05/0.3723, allocations: 7.906 kB / 0.5996 GB, free: 11.82 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.539e-05/0.3723, allocations: 15.06 kB / 0.5996 GB, free: 11.8 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.078e-05/0.3723, allocations: 314.8 kB / 0.5999 GB, free: 11.48 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.889e-05/0.3724, allocations: 13.34 kB / 0.6 GB, free: 11.47 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.747e-05/0.3724, allocations: 7.984 kB / 0.6 GB, free: 11.46 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.197e-05/0.3725, allocations: 29.97 kB / 0.6 GB, free: 11.43 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3725, allocations: 0.9062 kB / 0.6 GB, free: 11.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.595e-05/0.3726, allocations: 65.53 kB / 0.6001 GB, free: 11.36 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.3726, allocations: 5.531 kB / 0.6001 GB, free: 11.36 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.3726, allocations: 0 / 0.6001 GB, free: 11.36 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.3726, allocations: 0 / 0.6001 GB, free: 11.36 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.922e-05/0.3727, allocations: 4 kB / 0.6001 GB, free: 11.35 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.149e-06/0.3727, allocations: 1.344 kB / 0.6001 GB, free: 11.35 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.138e-05/0.3728, allocations: 11.92 kB / 0.6001 GB, free: 11.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.678e-06/0.3728, allocations: 0 / 0.6001 GB, free: 11.34 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 4.668e-05/0.3728, allocations: 115.1 kB / 0.6002 GB, free: 11.22 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.336e-05/0.3729, allocations: 0 / 0.6002 GB, free: 11.22 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001386/0.373, allocations: 66.61 kB / 0.6003 GB, free: 11.14 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.373, allocations: 0 / 0.6003 GB, free: 11.14 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.373, allocations: 5.188 kB / 0.6003 GB, free: 11.14 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.373, allocations: 0 / 0.6003 GB, free: 11.14 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001142/0.3731, allocations: 169.5 kB / 0.6004 GB, free: 10.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.3732, allocations: 0 / 0.6004 GB, free: 10.93 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.929e-05/0.3732, allocations: 4.719 kB / 0.6004 GB, free: 10.92 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.3732, allocations: 1.406 kB / 0.6004 GB, free: 10.92 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-06/0.3732, allocations: 4 kB / 0.6004 GB, free: 10.92 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.3732, allocations: 0 / 0.6004 GB, free: 10.92 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.3732, allocations: 0 / 0.6004 GB, free: 10.92 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001221/0.3734, allocations: 162.2 kB / 0.6006 GB, free: 10.75 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.006e-05/0.3734, allocations: 77.11 kB / 0.6007 GB, free: 10.65 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.58e-05/0.3734, allocations: 4 kB / 0.6007 GB, free: 10.65 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.831e-05/0.3735, allocations: 7.922 kB / 0.6007 GB, free: 10.64 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.189e-05/0.3735, allocations: 1.344 kB / 0.6007 GB, free: 10.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/0.3735, allocations: 4 kB / 0.6007 GB, free: 10.64 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.779e-05/0.3736, allocations: 88.58 kB / 0.6008 GB, free: 10.55 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3736, allocations: 3.938 kB / 0.6008 GB, free: 10.55 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002282/0.3738, allocations: 12 kB / 0.6008 GB, free: 10.54 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.0001573/0.374, allocations: 116.5 kB / 0.6009 GB, free: 10.41 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001233/0.3741, allocations: 24.89 kB / 0.6009 GB, free: 10.39 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.3741, allocations: 0 / 0.6009 GB, free: 10.39 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.808e-05/0.3741, allocations: 9.312 kB / 0.6009 GB, free: 10.38 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002139/0.3744, allocations: 7.938 kB / 0.6009 GB, free: 10.38 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002322/0.3746, allocations: 124.1 kB / 0.601 GB, free: 10.23 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.672e-05/0.3747, allocations: 0.6807 MB / 0.6017 GB, free: 9.523 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.038e-05/0.3747, allocations: 5.453 kB / 0.6017 GB, free: 9.52 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.767e-05/0.3748, allocations: 11.44 kB / 0.6017 GB, free: 9.508 MB / 446.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3748, allocations: 0 / 0.6017 GB, free: 9.508 MB / 446.1 MB Notification: Performance of Templates: time 0.002465/0.3772, allocations: 0.691 MB / 0.6024 GB, free: 8.867 MB / 446.1 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)