Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.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.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001473/0.001473, allocations: 105.9 kB / 15.98 MB, free: 6.352 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.00161/0.00161, allocations: 193.5 kB / 16.91 MB, free: 6.195 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.317/1.317, allocations: 222.9 MB / 240.6 MB, free: 13.73 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.843/0.843, allocations: 143 MB / 433.8 MB, free: 12.24 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001161/0.001161, allocations: 63.89 kB / 0.5143 GB, free: 15.54 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3343/0.3355, allocations: 82.03 MB / 0.5944 GB, free: 16.52 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside): time 0.00226/0.3378, allocations: 1.491 MB / 0.5959 GB, free: 15.04 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006007/0.3384, allocations: 466.6 kB / 0.5963 GB, free: 14.57 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.251e-05/0.3385, allocations: 0 / 0.5963 GB, free: 14.57 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.028e-05/0.3385, allocations: 3.938 kB / 0.5963 GB, free: 14.57 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.093e-05/0.3386, allocations: 4.656 kB / 0.5964 GB, free: 14.57 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001931/0.3388, allocations: 11.98 kB / 0.5964 GB, free: 14.55 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.476e-05/0.3389, allocations: 28.94 kB / 0.5964 GB, free: 14.53 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.371e-05/0.339, allocations: 11.97 kB / 0.5964 GB, free: 14.52 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.744e-05/0.339, allocations: 16.67 kB / 0.5964 GB, free: 14.5 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.587e-05/0.3391, allocations: 11.92 kB / 0.5964 GB, free: 14.49 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.134e-05/0.3391, allocations: 5.469 kB / 0.5964 GB, free: 14.48 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.084e-05/0.3392, allocations: 19.98 kB / 0.5965 GB, free: 14.46 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.148e-05/0.3392, allocations: 8 kB / 0.5965 GB, free: 14.46 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.638e-05/0.3392, allocations: 11.92 kB / 0.5965 GB, free: 14.45 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 8.368e-05/0.3393, allocations: 21.08 kB / 0.5965 GB, free: 14.43 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.339e-06/0.3393, allocations: 0 / 0.5965 GB, free: 14.43 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3393, allocations: 0 / 0.5965 GB, free: 14.43 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.593e-06/0.3393, allocations: 0.5 kB / 0.5965 GB, free: 14.43 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.0003774/0.3397, allocations: 343.6 kB / 0.5968 GB, free: 14.05 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.3398, allocations: 9.188 kB / 0.5968 GB, free: 14.04 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.927e-05/0.3398, allocations: 0.9375 kB / 0.5968 GB, free: 14.04 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.338e-05/0.3399, allocations: 176.2 kB / 0.597 GB, free: 13.83 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.344e-06/0.3399, allocations: 2.312 kB / 0.597 GB, free: 13.83 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.332e-05/0.3399, allocations: 4.312 kB / 0.597 GB, free: 13.82 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001597/0.3401, allocations: 57.98 kB / 0.5971 GB, free: 13.76 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.3401, allocations: 0 / 0.5971 GB, free: 13.76 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.3401, allocations: 0.625 kB / 0.5971 GB, free: 13.76 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.3401, allocations: 4 kB / 0.5971 GB, free: 13.76 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001456/0.3403, allocations: 37.3 kB / 0.5971 GB, free: 13.72 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002586/0.3405, allocations: 250.2 kB / 0.5973 GB, free: 13.43 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001103/0.3406, allocations: 43.39 kB / 0.5974 GB, free: 13.38 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.487e-05/0.3407, allocations: 21.88 kB / 0.5974 GB, free: 13.36 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000105/0.3408, allocations: 85.69 kB / 0.5975 GB, free: 13.25 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.466e-05/0.3409, allocations: 32.03 kB / 0.5975 GB, free: 13.21 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.3409, allocations: 0 / 0.5975 GB, free: 13.21 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003211/0.3412, allocations: 79.5 kB / 0.5976 GB, free: 13.13 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.625e-05/0.3412, allocations: 55.39 kB / 0.5976 GB, free: 13.07 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.664e-05/0.3413, allocations: 106.6 kB / 0.5977 GB, free: 12.95 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.714e-06/0.3413, allocations: 25.7 kB / 0.5978 GB, free: 12.92 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.64e-05/0.3413, allocations: 82.73 kB / 0.5978 GB, free: 12.84 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.78e-05/0.3414, allocations: 15.89 kB / 0.5979 GB, free: 12.82 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.724e-05/0.3414, allocations: 9.719 kB / 0.5979 GB, free: 12.81 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.663e-05/0.3414, allocations: 310.8 kB / 0.5982 GB, free: 12.5 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.813e-05/0.3415, allocations: 24.67 kB / 0.5982 GB, free: 12.47 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.586e-05/0.3416, allocations: 17.47 kB / 0.5982 GB, free: 12.46 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000136/0.3417, allocations: 46.27 kB / 0.5983 GB, free: 12.41 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.3418, allocations: 0 / 0.5983 GB, free: 12.41 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001649/0.3419, allocations: 66.22 kB / 0.5983 GB, free: 12.34 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.3419, allocations: 5.5 kB / 0.5983 GB, free: 12.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.342, allocations: 0 / 0.5983 GB, free: 12.34 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.342, allocations: 0 / 0.5983 GB, free: 12.34 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.621e-05/0.3421, allocations: 11.94 kB / 0.5983 GB, free: 12.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.3421, allocations: 5.484 kB / 0.5983 GB, free: 12.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.309e-05/0.3421, allocations: 4 kB / 0.5983 GB, free: 12.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.669e-06/0.3421, allocations: 0 / 0.5983 GB, free: 12.32 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.362e-05/0.3422, allocations: 114.5 kB / 0.5984 GB, free: 12.2 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.295e-05/0.3422, allocations: 9.312 kB / 0.5985 GB, free: 12.19 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000198/0.3424, allocations: 74 kB / 0.5985 GB, free: 12.11 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.093e-06/0.3424, allocations: 4.25 kB / 0.5985 GB, free: 12.11 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.3424, allocations: 0 / 0.5985 GB, free: 12.11 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.3424, allocations: 4.938 kB / 0.5985 GB, free: 12.11 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001124/0.3426, allocations: 157.6 kB / 0.5987 GB, free: 11.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.3426, allocations: 0 / 0.5987 GB, free: 11.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.39e-05/0.3426, allocations: 17.33 kB / 0.5987 GB, free: 11.89 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.502e-06/0.3426, allocations: 3.938 kB / 0.5987 GB, free: 11.88 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-06/0.3426, allocations: 0 / 0.5987 GB, free: 11.88 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.3427, allocations: 0.9062 kB / 0.5987 GB, free: 11.88 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.3427, allocations: 0 / 0.5987 GB, free: 11.88 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001894/0.3429, allocations: 166.2 kB / 0.5989 GB, free: 11.71 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.55e-05/0.3429, allocations: 77.11 kB / 0.5989 GB, free: 11.61 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.421e-05/0.3429, allocations: 7.984 kB / 0.5989 GB, free: 11.61 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.979e-05/0.343, allocations: 4.719 kB / 0.599 GB, free: 11.6 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.92e-05/0.343, allocations: 9.141 kB / 0.599 GB, free: 11.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.287e-06/0.343, allocations: 0 / 0.599 GB, free: 11.59 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.181e-05/0.3431, allocations: 83.27 kB / 0.599 GB, free: 11.51 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3431, allocations: 2.719 kB / 0.599 GB, free: 11.51 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002303/0.3433, allocations: 8 kB / 0.5991 GB, free: 11.5 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.0001271/0.3434, allocations: 103.2 kB / 0.5991 GB, free: 11.39 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002005/0.3436, allocations: 45.23 kB / 0.5992 GB, free: 11.35 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.3436, allocations: 0 / 0.5992 GB, free: 11.35 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.597e-05/0.3437, allocations: 17.52 kB / 0.5992 GB, free: 11.33 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002943/0.344, allocations: 11.88 kB / 0.5992 GB, free: 11.32 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002547/0.3443, allocations: 144.5 kB / 0.5994 GB, free: 11.15 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001005/0.3444, allocations: 0.6776 MB / 0.6 GB, free: 10.45 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.044e-05/0.3444, allocations: 7.438 kB / 0.6 GB, free: 10.44 MB / 446.1 MB Notification: Performance of SimCode: time 3e-07/0.3444, allocations: 0 / 0.6 GB, free: 10.44 MB / 446.1 MB Notification: Performance of Templates: time 0.001799/0.3462, allocations: 0.6589 MB / 0.6007 GB, free: 9.812 MB / 446.1 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1)