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.001341/0.001341, allocations: 119.1 kB / 16.37 MB, free: 5.984 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.001351/0.001351, allocations: 193.5 kB / 17.31 MB, free: 5.602 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.308/1.308, allocations: 222.9 MB / 241 MB, free: 15.17 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.8565/0.8565, allocations: 143.1 MB / 434.2 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 67.89 kB / 0.5156 GB, free: 14.45 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3363/0.3375, allocations: 82.04 MB / 0.5957 GB, free: 16.12 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit): time 0.002398/0.3399, allocations: 1.446 MB / 0.5971 GB, free: 14.69 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007987/0.3408, allocations: 0.5591 MB / 0.5977 GB, free: 14.12 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.086e-05/0.3408, allocations: 4 kB / 0.5977 GB, free: 14.12 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.413e-05/0.3408, allocations: 2.375 kB / 0.5977 GB, free: 14.12 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.067e-05/0.3409, allocations: 7.922 kB / 0.5977 GB, free: 14.11 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002238/0.3411, allocations: 47.83 kB / 0.5977 GB, free: 14.06 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.443e-05/0.3412, allocations: 35.8 kB / 0.5978 GB, free: 14.03 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.509e-05/0.3413, allocations: 4.953 kB / 0.5978 GB, free: 14.02 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.084e-05/0.3414, allocations: 12 kB / 0.5978 GB, free: 14.01 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.978e-05/0.3414, allocations: 13.11 kB / 0.5978 GB, free: 14 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.071e-05/0.3414, allocations: 0 / 0.5978 GB, free: 14 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.409e-05/0.3415, allocations: 63.94 kB / 0.5978 GB, free: 13.94 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.313e-05/0.3415, allocations: 5.438 kB / 0.5978 GB, free: 13.93 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.497e-05/0.3416, allocations: 11.94 kB / 0.5979 GB, free: 13.92 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001166/0.3417, allocations: 67.84 kB / 0.5979 GB, free: 13.86 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.3417, allocations: 0 / 0.5979 GB, free: 13.86 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3417, allocations: 0.6562 kB / 0.5979 GB, free: 13.86 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.3417, allocations: 0 / 0.5979 GB, free: 13.86 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.0003325/0.3421, allocations: 344.9 kB / 0.5983 GB, free: 13.48 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.913e-05/0.3421, allocations: 12.03 kB / 0.5983 GB, free: 13.46 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.766e-05/0.3421, allocations: 8.844 kB / 0.5983 GB, free: 13.46 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.621e-05/0.3422, allocations: 179.4 kB / 0.5984 GB, free: 13.25 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.214e-06/0.3422, allocations: 384 / 0.5984 GB, free: 13.25 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.007e-05/0.3422, allocations: 384 / 0.5984 GB, free: 13.25 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001072/0.3424, allocations: 50.73 kB / 0.5985 GB, free: 13.19 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.622e-06/0.3424, allocations: 0 / 0.5985 GB, free: 13.19 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.815e-06/0.3424, allocations: 1.406 kB / 0.5985 GB, free: 13.19 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.3424, allocations: 4 kB / 0.5985 GB, free: 13.19 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.932e-05/0.3425, allocations: 15.98 kB / 0.5985 GB, free: 13.17 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002166/0.3427, allocations: 262.2 kB / 0.5988 GB, free: 12.87 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.829e-05/0.3428, allocations: 35.25 kB / 0.5988 GB, free: 12.82 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.091e-05/0.3428, allocations: 22.36 kB / 0.5988 GB, free: 12.8 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006261/0.3434, allocations: 479.5 kB / 0.5993 GB, free: 12.24 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.19e-05/0.3435, allocations: 36 kB / 0.5993 GB, free: 12.2 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.3435, allocations: 0 / 0.5993 GB, free: 12.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001941/0.3437, allocations: 62.39 kB / 0.5994 GB, free: 12.13 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.767e-05/0.3437, allocations: 60.81 kB / 0.5994 GB, free: 12.06 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.947e-05/0.3438, allocations: 105.8 kB / 0.5995 GB, free: 11.95 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.412e-06/0.3438, allocations: 25.7 kB / 0.5996 GB, free: 11.92 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.2e-05/0.3438, allocations: 90.55 kB / 0.5996 GB, free: 11.83 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.296e-05/0.3438, allocations: 3.906 kB / 0.5996 GB, free: 11.82 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.392e-05/0.3438, allocations: 13.7 kB / 0.5997 GB, free: 11.8 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.745e-05/0.3439, allocations: 318.8 kB / 0.6 GB, free: 11.48 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.626e-05/0.3439, allocations: 4 kB / 0.6 GB, free: 11.48 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.852e-05/0.344, allocations: 17.33 kB / 0.6 GB, free: 11.46 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.21e-05/0.344, allocations: 30.31 kB / 0.6 GB, free: 11.43 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.344, allocations: 0 / 0.6 GB, free: 11.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001132/0.3441, allocations: 57.53 kB / 0.6001 GB, free: 11.37 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.779e-06/0.3442, allocations: 7.375 kB / 0.6001 GB, free: 11.37 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.406e-06/0.3442, allocations: 0 / 0.6001 GB, free: 11.37 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.3442, allocations: 4 kB / 0.6001 GB, free: 11.36 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.135e-05/0.3443, allocations: 9.141 kB / 0.6001 GB, free: 11.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.3443, allocations: 0 / 0.6001 GB, free: 11.36 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.888e-05/0.3443, allocations: 3.938 kB / 0.6001 GB, free: 11.35 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.458e-06/0.3443, allocations: 0.9375 kB / 0.6001 GB, free: 11.35 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.105e-05/0.3444, allocations: 119.3 kB / 0.6002 GB, free: 11.23 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.309e-05/0.3444, allocations: 3.984 kB / 0.6002 GB, free: 11.22 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000129/0.3445, allocations: 62.47 kB / 0.6003 GB, free: 11.15 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.3445, allocations: 0 / 0.6003 GB, free: 11.15 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.3445, allocations: 0 / 0.6003 GB, free: 11.15 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.3445, allocations: 3.984 kB / 0.6003 GB, free: 11.15 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001017/0.3447, allocations: 158.9 kB / 0.6004 GB, free: 10.95 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.3447, allocations: 7.938 kB / 0.6004 GB, free: 10.94 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.821e-05/0.3447, allocations: 7.984 kB / 0.6004 GB, free: 10.93 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.3447, allocations: 1.312 kB / 0.6004 GB, free: 10.93 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.901e-06/0.3447, allocations: 0 / 0.6004 GB, free: 10.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.3447, allocations: 0 / 0.6004 GB, free: 10.93 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3447, allocations: 7.938 kB / 0.6004 GB, free: 10.92 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001073/0.3448, allocations: 157.5 kB / 0.6006 GB, free: 10.75 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.622e-05/0.3449, allocations: 81.09 kB / 0.6007 GB, free: 10.66 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.078e-05/0.3449, allocations: 1.375 kB / 0.6007 GB, free: 10.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.621e-05/0.3449, allocations: 0 / 0.6007 GB, free: 10.66 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.706e-05/0.345, allocations: 4 kB / 0.6007 GB, free: 10.65 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-06/0.345, allocations: 1.344 kB / 0.6007 GB, free: 10.65 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.313e-05/0.345, allocations: 91.27 kB / 0.6008 GB, free: 10.56 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.345, allocations: 3.938 kB / 0.6008 GB, free: 10.56 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002182/0.3452, allocations: 13.53 kB / 0.6008 GB, free: 10.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 (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.0001163/0.3454, allocations: 115.2 kB / 0.6009 GB, free: 10.43 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001082/0.3455, allocations: 21.27 kB / 0.6009 GB, free: 10.41 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.3455, allocations: 0 / 0.6009 GB, free: 10.41 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.603e-05/0.3455, allocations: 17.3 kB / 0.6009 GB, free: 10.39 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001904/0.3457, 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.0002115/0.3459, allocations: 124.1 kB / 0.6011 GB, free: 10.24 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.953e-05/0.346, allocations: 0.6815 MB / 0.6017 GB, free: 9.531 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.953e-05/0.3461, allocations: 4 kB / 0.6017 GB, free: 9.527 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.411e-05/0.3461, allocations: 8.688 kB / 0.6017 GB, free: 9.52 MB / 446.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3461, allocations: 0 / 0.6017 GB, free: 9.52 MB / 446.1 MB Notification: Performance of Templates: time 0.002374/0.3485, allocations: 0.6976 MB / 0.6024 GB, free: 8.871 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 gbode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)