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.001603/0.001603, allocations: 110.7 kB / 16.41 MB, free: 6.488 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.001747/0.001747, allocations: 187 kB / 17.34 MB, free: 5.762 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.366/1.366, allocations: 222.9 MB / 241 MB, free: 15.15 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.8358/0.8358, allocations: 143.1 MB / 434.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 59.84 kB / 0.5962 GB, free: 12.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1512/0.1524, allocations: 82.03 MB / 0.6763 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside): time 0.002719/0.1552, allocations: 1.439 MB / 0.6777 GB, free: 8.895 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0008397/0.1561, allocations: 471.8 kB / 0.6782 GB, free: 8.426 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.043e-05/0.1561, allocations: 0 / 0.6782 GB, free: 8.426 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.846e-05/0.1562, allocations: 3.938 kB / 0.6782 GB, free: 8.422 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.156e-05/0.1563, allocations: 7.938 kB / 0.6782 GB, free: 8.414 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002129/0.1565, allocations: 15.98 kB / 0.6782 GB, free: 8.398 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 7.386e-05/0.1566, allocations: 27.92 kB / 0.6782 GB, free: 8.371 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 8.526e-05/0.1566, allocations: 8 kB / 0.6782 GB, free: 8.363 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 7.177e-05/0.1567, allocations: 15.92 kB / 0.6782 GB, free: 8.348 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.42e-05/0.1568, allocations: 19.91 kB / 0.6783 GB, free: 8.328 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.176e-05/0.1568, allocations: 3.938 kB / 0.6783 GB, free: 8.324 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 7.247e-05/0.1569, allocations: 19.98 kB / 0.6783 GB, free: 8.305 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 9.518e-06/0.1569, allocations: 0 / 0.6783 GB, free: 8.305 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.535e-05/0.1569, allocations: 11.94 kB / 0.6783 GB, free: 8.293 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001107/0.157, allocations: 35.88 kB / 0.6783 GB, free: 8.258 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.157, allocations: 0 / 0.6783 GB, free: 8.258 MB / 0.5137 GB Notification: Performance of FrontEnd: time 9.81e-07/0.1571, allocations: 0 / 0.6783 GB, free: 8.258 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.806e-06/0.1571, allocations: 4 kB / 0.6783 GB, free: 8.254 MB / 0.5137 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.0004317/0.1575, allocations: 346.2 kB / 0.6787 GB, free: 7.871 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.1575, allocations: 8.031 kB / 0.6787 GB, free: 7.863 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.542e-05/0.1576, allocations: 0.9375 kB / 0.6787 GB, free: 7.863 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.412e-05/0.1577, allocations: 168.4 kB / 0.6788 GB, free: 7.66 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.1577, allocations: 384 / 0.6788 GB, free: 7.66 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.767e-06/0.1577, allocations: 4.312 kB / 0.6788 GB, free: 7.656 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001775/0.1579, allocations: 53.98 kB / 0.6789 GB, free: 7.598 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.1579, allocations: 7.984 kB / 0.6789 GB, free: 7.59 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.778e-06/0.1579, allocations: 0 / 0.6789 GB, free: 7.59 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.1579, allocations: 4 kB / 0.6789 GB, free: 7.586 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001688/0.1581, allocations: 27.97 kB / 0.6789 GB, free: 7.559 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003156/0.1584, allocations: 256.8 kB / 0.6792 GB, free: 7.258 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001305/0.1586, allocations: 46.5 kB / 0.6792 GB, free: 7.203 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.732e-05/0.1587, allocations: 20.84 kB / 0.6792 GB, free: 7.18 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001313/0.1588, allocations: 85.09 kB / 0.6793 GB, free: 7.078 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.933e-05/0.1589, allocations: 34.56 kB / 0.6794 GB, free: 7.035 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.1589, allocations: 0 / 0.6794 GB, free: 7.035 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0003648/0.1592, allocations: 81.64 kB / 0.6794 GB, free: 6.949 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.212e-05/0.1593, allocations: 51.41 kB / 0.6795 GB, free: 6.887 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.326e-05/0.1594, allocations: 109.8 kB / 0.6796 GB, free: 6.77 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.233e-05/0.1594, allocations: 25.7 kB / 0.6796 GB, free: 6.738 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.436e-05/0.1594, allocations: 84.14 kB / 0.6797 GB, free: 6.652 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.085e-05/0.1595, allocations: 11.84 kB / 0.6797 GB, free: 6.641 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.053e-05/0.1595, allocations: 9.719 kB / 0.6797 GB, free: 6.625 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001031/0.1596, allocations: 319 kB / 0.68 GB, free: 6.305 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.874e-05/0.1597, allocations: 19.97 kB / 0.68 GB, free: 6.285 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.579e-05/0.1598, allocations: 19.92 kB / 0.6801 GB, free: 6.266 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001565/0.1599, allocations: 40.77 kB / 0.6801 GB, free: 6.223 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.16, allocations: 0 / 0.6801 GB, free: 6.223 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002025/0.1602, allocations: 69.72 kB / 0.6802 GB, free: 6.148 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.1602, allocations: 4 kB / 0.6802 GB, free: 6.145 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.1602, allocations: 0 / 0.6802 GB, free: 6.145 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.1602, allocations: 3.938 kB / 0.6802 GB, free: 6.141 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.828e-05/0.1603, allocations: 11.98 kB / 0.6802 GB, free: 6.129 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.72e-06/0.1603, allocations: 0 / 0.6802 GB, free: 6.129 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.798e-05/0.1604, allocations: 4 kB / 0.6802 GB, free: 6.125 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.284e-06/0.1604, allocations: 3.984 kB / 0.6802 GB, free: 6.121 MB / 0.5137 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.927e-05/0.1605, allocations: 121.8 kB / 0.6803 GB, free: 5.992 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.911e-05/0.1605, allocations: 3.906 kB / 0.6803 GB, free: 5.988 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002251/0.1607, allocations: 68.78 kB / 0.6804 GB, free: 5.918 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.1607, allocations: 4 kB / 0.6804 GB, free: 5.914 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.1608, allocations: 256 / 0.6804 GB, free: 5.914 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.1608, allocations: 0 / 0.6804 GB, free: 5.914 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001446/0.1609, allocations: 165.6 kB / 0.6805 GB, free: 5.703 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.1609, allocations: 4.031 kB / 0.6805 GB, free: 5.699 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.958e-05/0.161, allocations: 11.94 kB / 0.6805 GB, free: 5.688 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.161, allocations: 0 / 0.6805 GB, free: 5.688 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.525e-06/0.161, allocations: 3.984 kB / 0.6805 GB, free: 5.684 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.161, allocations: 0 / 0.6805 GB, free: 5.684 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.161, allocations: 0 / 0.6805 GB, free: 5.684 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002334/0.1613, allocations: 167.5 kB / 0.6807 GB, free: 5.504 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.135e-05/0.1613, allocations: 77.11 kB / 0.6808 GB, free: 5.41 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.333e-05/0.1613, allocations: 4 kB / 0.6808 GB, free: 5.406 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.449e-05/0.1614, allocations: 4 kB / 0.6808 GB, free: 5.402 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.18e-05/0.1614, allocations: 3.984 kB / 0.6808 GB, free: 5.398 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.436e-06/0.1614, allocations: 3.938 kB / 0.6808 GB, free: 5.395 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.708e-05/0.1615, allocations: 83.28 kB / 0.6809 GB, free: 5.312 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.11e-07/0.1615, allocations: 0 / 0.6809 GB, free: 5.312 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002279/0.1617, allocations: 12 kB / 0.6809 GB, free: 5.301 MB / 0.5137 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.0001365/0.1619, allocations: 103.3 kB / 0.681 GB, free: 5.188 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002204/0.1621, allocations: 39.91 kB / 0.681 GB, free: 5.148 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1621, allocations: 3.938 kB / 0.681 GB, free: 5.145 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 8.687e-05/0.1622, allocations: 19.98 kB / 0.681 GB, free: 5.125 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002962/0.1625, allocations: 8.047 kB / 0.6811 GB, free: 5.117 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002965/0.1628, allocations: 135.1 kB / 0.6812 GB, free: 4.953 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002213/0.163, allocations: 0.6729 MB / 0.6818 GB, free: 4.254 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.351e-05/0.1631, allocations: 11.42 kB / 0.6819 GB, free: 4.242 MB / 0.5137 GB Notification: Performance of SimCode: time 2.9e-07/0.1631, allocations: 0 / 0.6819 GB, free: 4.242 MB / 0.5137 GB Notification: Performance of Templates: time 0.001941/0.165, allocations: 0.6664 MB / 0.6825 GB, free: 3.574 MB / 0.5137 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)