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.000787/0.0007871, allocations: 92.16 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009416/0.0009417, allocations: 182.6 kB / 16.92 MB, free: 6.926 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.538/1.538, allocations: 223.3 MB / 241 MB, free: 5.34 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.045/1.045, allocations: 143.2 MB / 435.3 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003457/0.0003459, allocations: 12 kB / 0.517 GB, free: 11.13 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1571/0.1575, allocations: 83.41 MB / 0.5985 GB, free: 7.68 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside): time 0.001576/0.1591, allocations: 1.151 MB / 0.5996 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007778/0.1599, allocations: 456 kB / 0.6001 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.739e-05/0.1599, allocations: 0 / 0.6001 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.458e-05/0.1599, allocations: 3.938 kB / 0.6001 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.545e-05/0.16, allocations: 4 kB / 0.6001 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001684/0.1602, allocations: 27.92 kB / 0.6001 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.678e-05/0.1603, allocations: 23.86 kB / 0.6001 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.222e-05/0.1603, allocations: 8 kB / 0.6001 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.87e-05/0.1604, allocations: 4 kB / 0.6001 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.95e-05/0.1605, allocations: 19.91 kB / 0.6002 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.021e-05/0.1605, allocations: 0 / 0.6002 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.522e-05/0.1606, allocations: 15.98 kB / 0.6002 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.156e-05/0.1606, allocations: 3.984 kB / 0.6002 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.486e-05/0.1606, allocations: 41.64 kB / 0.6002 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 6.949e-05/0.1607, allocations: 11.97 kB / 0.6002 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.1607, allocations: 4 kB / 0.6002 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.263e-06/0.1607, allocations: 0 / 0.6002 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.417e-06/0.1607, allocations: 0 / 0.6002 GB, free: 5.891 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.0004009/0.1611, allocations: 343.7 kB / 0.6006 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.1612, allocations: 8.031 kB / 0.6006 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.109e-05/0.1612, allocations: 12.88 kB / 0.6006 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001293/0.1613, allocations: 160.4 kB / 0.6007 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.287e-05/0.1614, allocations: 4.359 kB / 0.6007 GB, free: 5.289 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.04e-05/0.1614, allocations: 4.375 kB / 0.6007 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001812/0.1616, allocations: 54 kB / 0.6008 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.1616, allocations: 0 / 0.6008 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.1616, allocations: 3.984 kB / 0.6008 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.1616, allocations: 3.938 kB / 0.6008 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001741/0.1618, allocations: 43.97 kB / 0.6008 GB, free: 5.176 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003281/0.1621, allocations: 264.7 kB / 0.6011 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001369/0.1623, allocations: 46.56 kB / 0.6011 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.922e-05/0.1624, allocations: 20.91 kB / 0.6012 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001084/0.1625, allocations: 85.09 kB / 0.6012 GB, free: 4.688 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.798e-05/0.1625, allocations: 42.56 kB / 0.6013 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.1625, allocations: 3.938 kB / 0.6013 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003604/0.1629, allocations: 93.58 kB / 0.6014 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.19e-05/0.1629, allocations: 55.53 kB / 0.6014 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.891e-05/0.163, allocations: 105.9 kB / 0.6015 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.312e-05/0.163, allocations: 29.69 kB / 0.6015 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.894e-05/0.1631, allocations: 84.14 kB / 0.6016 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.907e-05/0.1631, allocations: 7.906 kB / 0.6016 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.165e-05/0.1631, allocations: 9.719 kB / 0.6016 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000107/0.1632, allocations: 314.8 kB / 0.6019 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.612e-05/0.1633, allocations: 19.98 kB / 0.602 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.88e-05/0.1634, allocations: 27.97 kB / 0.602 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001615/0.1636, allocations: 52.83 kB / 0.602 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1636, allocations: 0 / 0.602 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002003/0.1638, allocations: 81.59 kB / 0.6021 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.1638, allocations: 8.031 kB / 0.6021 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.1638, allocations: 0 / 0.6021 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.1639, allocations: 3.984 kB / 0.6021 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.083e-05/0.164, allocations: 11.98 kB / 0.6021 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.164, allocations: 0 / 0.6021 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.956e-05/0.164, allocations: 11.94 kB / 0.6022 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.569e-06/0.164, allocations: 0 / 0.6022 GB, free: 3.672 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 7.359e-05/0.1641, allocations: 125.8 kB / 0.6023 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.431e-05/0.1641, allocations: 3.906 kB / 0.6023 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002346/0.1644, allocations: 80.72 kB / 0.6024 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.1644, allocations: 0 / 0.6024 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.1644, allocations: 0 / 0.6024 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.1644, allocations: 4.031 kB / 0.6024 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00015/0.1646, allocations: 169.6 kB / 0.6025 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1646, allocations: 3.938 kB / 0.6025 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.603e-05/0.1646, allocations: 8 kB / 0.6025 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.1646, allocations: 0 / 0.6025 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.74e-06/0.1647, allocations: 0 / 0.6025 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.1647, allocations: 0 / 0.6025 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.1647, allocations: 3.984 kB / 0.6025 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000286/0.165, allocations: 175.5 kB / 0.6027 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.388e-05/0.165, allocations: 81.09 kB / 0.6028 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.231e-05/0.165, allocations: 0 / 0.6028 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.776e-05/0.1651, allocations: 12.03 kB / 0.6028 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.618e-05/0.1652, allocations: 3.984 kB / 0.6028 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.669e-06/0.1652, allocations: 0 / 0.6028 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.958e-05/0.1652, allocations: 87.47 kB / 0.6029 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.21e-07/0.1652, allocations: 0 / 0.6029 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000261/0.1655, allocations: 19.94 kB / 0.6029 GB, free: 2.812 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.0001458/0.1656, allocations: 99.23 kB / 0.603 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002236/0.1659, allocations: 47.97 kB / 0.603 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.1659, allocations: 0 / 0.603 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.807e-05/0.166, allocations: 19.98 kB / 0.6031 GB, free: 2.637 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002772/0.1663, allocations: 23.98 kB / 0.6031 GB, free: 2.613 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002624/0.1665, allocations: 138.3 kB / 0.6032 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002288/0.1668, allocations: 0.677 MB / 0.6039 GB, free: 1.742 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.305e-05/0.1668, allocations: 11.44 kB / 0.6039 GB, free: 1.73 MB / 0.4981 GB Notification: Performance of SimCode: time 4e-07/0.1668, allocations: 0 / 0.6039 GB, free: 1.73 MB / 0.4981 GB Notification: Performance of Templates: time 0.001945/0.1688, allocations: 0.659 MB / 0.6045 GB, free: 1.082 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)