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.001005/0.001006, allocations: 100.1 kB / 16.35 MB, free: 5.875 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.001049/0.001049, allocations: 199.2 kB / 17.3 MB, free: 5.516 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.312/1.312, allocations: 222.9 MB / 241 MB, free: 14.98 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.8669/0.8669, allocations: 143.1 MB / 434.2 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 67.91 kB / 0.5156 GB, free: 14.44 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3536/0.3549, allocations: 82.03 MB / 0.5957 GB, free: 16.14 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside): time 0.002039/0.3569, allocations: 1.438 MB / 0.5971 GB, free: 14.71 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005168/0.3575, allocations: 465.1 kB / 0.5975 GB, free: 14.25 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.398e-05/0.3575, allocations: 0.9062 kB / 0.5975 GB, free: 14.25 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.084e-05/0.3575, allocations: 0 / 0.5975 GB, free: 14.25 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.107e-05/0.3576, allocations: 9.328 kB / 0.5975 GB, free: 14.25 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001547/0.3578, allocations: 23.92 kB / 0.5976 GB, free: 14.22 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.661e-05/0.3578, allocations: 23.92 kB / 0.5976 GB, free: 14.2 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.233e-05/0.3579, allocations: 12.83 kB / 0.5976 GB, free: 14.19 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.554e-05/0.3579, allocations: 8 kB / 0.5976 GB, free: 14.18 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.998e-05/0.358, allocations: 17.17 kB / 0.5976 GB, free: 14.16 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.547e-06/0.358, allocations: 4 kB / 0.5976 GB, free: 14.16 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.158e-05/0.358, allocations: 15.98 kB / 0.5976 GB, free: 14.14 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.878e-06/0.3581, allocations: 8.797 kB / 0.5977 GB, free: 14.14 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.844e-05/0.3581, allocations: 11.94 kB / 0.5977 GB, free: 14.12 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 7.633e-05/0.3582, allocations: 30.73 kB / 0.5977 GB, free: 14.1 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.3582, allocations: 3.938 kB / 0.5977 GB, free: 14.09 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.3582, allocations: 0 / 0.5977 GB, free: 14.09 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.835e-06/0.3582, allocations: 0 / 0.5977 GB, free: 14.09 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.0002726/0.3585, allocations: 347.2 kB / 0.598 GB, free: 13.71 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.512e-05/0.3585, allocations: 8.031 kB / 0.598 GB, free: 13.7 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.172e-05/0.3585, allocations: 6.406 kB / 0.598 GB, free: 13.7 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.819e-05/0.3586, allocations: 164.3 kB / 0.5982 GB, free: 13.5 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.366e-06/0.3586, allocations: 4.375 kB / 0.5982 GB, free: 13.5 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.051e-05/0.3586, allocations: 4.375 kB / 0.5982 GB, free: 13.49 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001324/0.3588, allocations: 50.89 kB / 0.5983 GB, free: 13.44 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.061e-06/0.3588, allocations: 5.438 kB / 0.5983 GB, free: 13.43 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.232e-06/0.3588, allocations: 0 / 0.5983 GB, free: 13.43 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.196e-06/0.3588, allocations: 0 / 0.5983 GB, free: 13.43 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001313/0.3589, allocations: 33.3 kB / 0.5983 GB, free: 13.4 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001992/0.3591, allocations: 254.2 kB / 0.5985 GB, free: 13.11 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001041/0.3592, allocations: 36.09 kB / 0.5986 GB, free: 13.06 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.934e-05/0.3593, allocations: 32.83 kB / 0.5986 GB, free: 13.03 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.183e-05/0.3594, allocations: 82.42 kB / 0.5987 GB, free: 12.93 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.228e-05/0.3594, allocations: 30.56 kB / 0.5987 GB, free: 12.89 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.183e-06/0.3594, allocations: 0 / 0.5987 GB, free: 12.89 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002748/0.3597, allocations: 87.58 kB / 0.5988 GB, free: 12.8 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.992e-05/0.3597, allocations: 56.66 kB / 0.5988 GB, free: 12.73 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.162e-05/0.3598, allocations: 109.8 kB / 0.5989 GB, free: 12.62 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.411e-06/0.3598, allocations: 25.7 kB / 0.599 GB, free: 12.59 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.913e-05/0.3598, allocations: 81.61 kB / 0.5991 GB, free: 12.5 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.204e-05/0.3598, allocations: 9.734 kB / 0.5991 GB, free: 12.5 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.429e-05/0.3599, allocations: 13.72 kB / 0.5991 GB, free: 12.48 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.475e-05/0.3599, allocations: 320.2 kB / 0.5994 GB, free: 12.16 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.772e-05/0.36, allocations: 15.98 kB / 0.5994 GB, free: 12.14 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.851e-05/0.3601, allocations: 13.33 kB / 0.5994 GB, free: 12.13 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001186/0.3602, allocations: 46 kB / 0.5995 GB, free: 12.08 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.572e-06/0.3602, allocations: 1 kB / 0.5995 GB, free: 12.08 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001503/0.3603, allocations: 70.86 kB / 0.5995 GB, free: 12.01 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.427e-06/0.3604, allocations: 5.719 kB / 0.5995 GB, free: 12 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.226e-06/0.3604, allocations: 0 / 0.5995 GB, free: 12 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.3604, allocations: 5.328 kB / 0.5995 GB, free: 12 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.705e-05/0.3605, allocations: 8 kB / 0.5995 GB, free: 11.99 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/0.3605, allocations: 0 / 0.5995 GB, free: 11.99 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.896e-05/0.3605, allocations: 9.516 kB / 0.5995 GB, free: 11.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.488e-06/0.3605, allocations: 0 / 0.5995 GB, free: 11.98 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 3.83e-05/0.3606, allocations: 115.1 kB / 0.5997 GB, free: 11.86 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.252e-05/0.3606, allocations: 3.906 kB / 0.5997 GB, free: 11.86 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000174/0.3608, allocations: 82.08 kB / 0.5997 GB, free: 11.78 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.3608, allocations: 3.984 kB / 0.5997 GB, free: 11.77 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.3608, allocations: 3.984 kB / 0.5997 GB, free: 11.77 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.953e-06/0.3608, allocations: 0.8438 kB / 0.5997 GB, free: 11.77 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.799e-05/0.3609, allocations: 157.6 kB / 0.5999 GB, free: 11.57 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.3609, allocations: 1.125 kB / 0.5999 GB, free: 11.57 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.809e-05/0.361, allocations: 11.98 kB / 0.5999 GB, free: 11.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.361, allocations: 0 / 0.5999 GB, free: 11.55 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.481e-06/0.361, allocations: 1.031 kB / 0.5999 GB, free: 11.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.001e-06/0.361, allocations: 0 / 0.5999 GB, free: 11.55 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.361, allocations: 0 / 0.5999 GB, free: 11.55 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001587/0.3611, allocations: 166 kB / 0.6001 GB, free: 11.38 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.621e-05/0.3612, allocations: 81.11 kB / 0.6001 GB, free: 11.28 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.036e-05/0.3612, allocations: 4.531 kB / 0.6002 GB, free: 11.28 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.601e-05/0.3613, allocations: 9.047 kB / 0.6002 GB, free: 11.27 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.883e-05/0.3613, allocations: 0 / 0.6002 GB, free: 11.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.828e-06/0.3613, allocations: 12.62 kB / 0.6002 GB, free: 11.26 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.892e-05/0.3613, allocations: 87.52 kB / 0.6003 GB, free: 11.17 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3613, allocations: 0.6562 kB / 0.6003 GB, free: 11.17 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002107/0.3615, allocations: 12 kB / 0.6003 GB, free: 11.16 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.0001036/0.3616, allocations: 100.8 kB / 0.6004 GB, free: 11.05 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001726/0.3618, allocations: 45.23 kB / 0.6004 GB, free: 11.01 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.3618, allocations: 0 / 0.6004 GB, free: 11.01 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.565e-05/0.3619, allocations: 16.83 kB / 0.6004 GB, free: 10.99 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002366/0.3622, allocations: 12.75 kB / 0.6004 GB, free: 10.98 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000198/0.3624, allocations: 118.7 kB / 0.6005 GB, free: 10.84 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.382e-05/0.3625, allocations: 0.6781 MB / 0.6012 GB, free: 10.14 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.032e-05/0.3625, allocations: 4 kB / 0.6012 GB, free: 10.13 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.432e-05/0.3625, allocations: 7.438 kB / 0.6012 GB, free: 10.12 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3625, allocations: 1.312 kB / 0.6012 GB, free: 10.12 MB / 446.1 MB Notification: Performance of Templates: time 0.002134/0.3647, allocations: 0.5649 MB / 0.6018 GB, free: 9.594 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 -s gbode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1)