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.001447/0.001447, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001752/0.001752, allocations: 195.6 kB / 16.26 MB, free: 6.621 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.413/1.413, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.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 1.119/1.119, allocations: 143 MB / 433.1 MB, free: 11.48 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 63.91 kB / 0.5137 GB, free: 12.01 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1647/0.1659, allocations: 82.03 MB / 0.5938 GB, free: 9.961 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside): time 0.003003/0.169, allocations: 1.49 MB / 0.5952 GB, free: 8.453 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007681/0.1698, allocations: 471.9 kB / 0.5957 GB, free: 7.984 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.467e-05/0.1698, allocations: 0 / 0.5957 GB, free: 7.984 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.171e-05/0.1699, allocations: 3.938 kB / 0.5957 GB, free: 7.98 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.99e-05/0.17, allocations: 0 / 0.5957 GB, free: 7.98 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001995/0.1702, allocations: 23.92 kB / 0.5957 GB, free: 7.957 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.898e-05/0.1702, allocations: 23.92 kB / 0.5957 GB, free: 7.934 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.812e-05/0.1704, allocations: 4 kB / 0.5957 GB, free: 7.93 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.912e-05/0.1704, allocations: 15.94 kB / 0.5958 GB, free: 7.914 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.76e-05/0.1705, allocations: 15.91 kB / 0.5958 GB, free: 7.898 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.255e-05/0.1705, allocations: 4 kB / 0.5958 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.829e-05/0.1706, allocations: 23.98 kB / 0.5958 GB, free: 7.871 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.046e-05/0.1706, allocations: 3.984 kB / 0.5958 GB, free: 7.867 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.734e-05/0.1706, allocations: 11.94 kB / 0.5958 GB, free: 7.855 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001168/0.1707, allocations: 31.89 kB / 0.5958 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.1707, allocations: 0 / 0.5958 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.443e-06/0.1708, allocations: 0 / 0.5958 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.154e-06/0.1708, allocations: 0 / 0.5958 GB, free: 7.824 MB / 0.4981 GB 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.000466/0.1712, allocations: 351.7 kB / 0.5962 GB, free: 7.434 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.1713, allocations: 8.031 kB / 0.5962 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.836e-05/0.1713, allocations: 4.938 kB / 0.5962 GB, free: 7.422 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001279/0.1715, allocations: 168.2 kB / 0.5963 GB, free: 7.219 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.037e-06/0.1715, allocations: 384 / 0.5963 GB, free: 7.219 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.501e-05/0.1715, allocations: 4.375 kB / 0.5964 GB, free: 7.215 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001838/0.1717, allocations: 49.98 kB / 0.5964 GB, free: 7.16 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.1717, allocations: 0 / 0.5964 GB, free: 7.16 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.1717, allocations: 8 kB / 0.5964 GB, free: 7.152 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.1717, allocations: 0 / 0.5964 GB, free: 7.152 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001647/0.1719, allocations: 31.95 kB / 0.5964 GB, free: 7.121 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003589/0.1723, allocations: 256.9 kB / 0.5967 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001231/0.1724, allocations: 42.55 kB / 0.5967 GB, free: 6.77 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.955e-05/0.1725, allocations: 16.91 kB / 0.5967 GB, free: 6.75 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001181/0.1726, allocations: 81.11 kB / 0.5968 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.989e-05/0.1726, allocations: 30.56 kB / 0.5968 GB, free: 6.613 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.1726, allocations: 0 / 0.5968 GB, free: 6.613 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003388/0.173, allocations: 93.61 kB / 0.5969 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.481e-05/0.173, allocations: 51.41 kB / 0.597 GB, free: 6.453 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.016e-05/0.1731, allocations: 109.8 kB / 0.5971 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.238e-05/0.1731, allocations: 25.7 kB / 0.5971 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.768e-05/0.1732, allocations: 84.14 kB / 0.5972 GB, free: 6.219 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.147e-05/0.1732, allocations: 7.906 kB / 0.5972 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.084e-05/0.1732, allocations: 13.7 kB / 0.5972 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.686e-05/0.1733, allocations: 318.8 kB / 0.5975 GB, free: 5.871 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.163e-05/0.1734, allocations: 16.02 kB / 0.5975 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.892e-05/0.1735, allocations: 15.98 kB / 0.5975 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001475/0.1737, allocations: 45 kB / 0.5976 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.1737, allocations: 0 / 0.5976 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001967/0.1739, allocations: 73.67 kB / 0.5977 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.1739, allocations: 6.031 kB / 0.5977 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.1739, allocations: 3.984 kB / 0.5977 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.1739, allocations: 0 / 0.5977 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.801e-05/0.174, allocations: 8 kB / 0.5977 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.174, allocations: 0 / 0.5977 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.975e-05/0.1741, allocations: 15.83 kB / 0.5977 GB, free: 5.684 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.029e-06/0.1741, allocations: 0 / 0.5977 GB, free: 5.684 MB / 0.4981 GB 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 6.977e-05/0.1742, allocations: 121.8 kB / 0.5978 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.214e-05/0.1742, allocations: 0 / 0.5978 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003141/0.1745, allocations: 76.72 kB / 0.5979 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.1745, allocations: 3.984 kB / 0.5979 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.1745, allocations: 0 / 0.5979 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.1745, allocations: 0 / 0.5979 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002/0.1748, allocations: 157.6 kB / 0.598 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.1748, allocations: 0 / 0.598 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.971e-05/0.1748, allocations: 16.02 kB / 0.5981 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.1749, allocations: 0 / 0.5981 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-06/0.1749, allocations: 0 / 0.5981 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1749, allocations: 0 / 0.5981 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1749, allocations: 0 / 0.5981 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002308/0.1751, allocations: 163.5 kB / 0.5982 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.85e-05/0.1752, allocations: 89.12 kB / 0.5983 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.39e-05/0.1752, allocations: 0 / 0.5983 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.271e-05/0.1753, allocations: 7.984 kB / 0.5983 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.348e-05/0.1753, allocations: 3.938 kB / 0.5983 GB, free: 4.961 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-06/0.1753, allocations: 0 / 0.5983 GB, free: 4.961 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.901e-05/0.1754, allocations: 91.2 kB / 0.5984 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1754, allocations: 0 / 0.5984 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002194/0.1756, allocations: 15.91 kB / 0.5984 GB, free: 4.855 MB / 0.4981 GB 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.0001675/0.1758, allocations: 103.2 kB / 0.5985 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002048/0.176, allocations: 39.95 kB / 0.5985 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.176, allocations: 0 / 0.5985 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.178e-05/0.1761, allocations: 19.98 kB / 0.5986 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002867/0.1764, allocations: 9.828 kB / 0.5986 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002599/0.1766, allocations: 113.5 kB / 0.5987 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002202/0.1769, allocations: 0.6806 MB / 0.5993 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.611e-05/0.1769, allocations: 0 / 0.5993 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.057e-05/0.1769, allocations: 7.438 kB / 0.5994 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of SimCode: time 3.71e-07/0.1769, allocations: 4 kB / 0.5994 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of Templates: time 0.002879/0.1798, allocations: 0.5111 MB / 0.5999 GB, free: 3.312 MB / 0.4981 GB 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)