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.001562/0.001562, allocations: 105.4 kB / 16.41 MB, free: 6.473 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.001701/0.001701, allocations: 187 kB / 17.34 MB, free: 5.754 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.344/1.344, allocations: 222.9 MB / 241 MB, free: 15.14 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.9986/0.9986, allocations: 143.1 MB / 434.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001164/0.001164, allocations: 67.98 kB / 0.5962 GB, free: 12.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1496/0.1507, allocations: 82.04 MB / 0.6763 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside): time 0.002833/0.1536, allocations: 1.434 MB / 0.6777 GB, free: 8.906 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0009143/0.1546, allocations: 471.8 kB / 0.6782 GB, free: 8.438 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.862e-05/0.1546, allocations: 0 / 0.6782 GB, free: 8.438 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.073e-05/0.1547, allocations: 0 / 0.6782 GB, free: 8.438 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 7.053e-05/0.1548, allocations: 3.938 kB / 0.6782 GB, free: 8.434 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002464/0.155, allocations: 31.84 kB / 0.6782 GB, free: 8.402 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 7.872e-05/0.1551, allocations: 19.92 kB / 0.6782 GB, free: 8.383 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001131/0.1552, allocations: 19.98 kB / 0.6782 GB, free: 8.363 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 7.131e-05/0.1553, allocations: 11.94 kB / 0.6782 GB, free: 8.352 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.638e-05/0.1554, allocations: 11.92 kB / 0.6783 GB, free: 8.34 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.112e-05/0.1554, allocations: 0 / 0.6783 GB, free: 8.34 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 9.282e-05/0.1555, allocations: 23.98 kB / 0.6783 GB, free: 8.316 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.282e-05/0.1555, allocations: 0 / 0.6783 GB, free: 8.316 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.154e-05/0.1555, allocations: 19.91 kB / 0.6783 GB, free: 8.297 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001167/0.1557, allocations: 31.84 kB / 0.6783 GB, free: 8.266 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.1557, allocations: 0 / 0.6783 GB, free: 8.266 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.633e-06/0.1557, allocations: 0 / 0.6783 GB, free: 8.266 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.703e-06/0.1557, allocations: 0 / 0.6783 GB, free: 8.266 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.0004815/0.1562, allocations: 350.3 kB / 0.6787 GB, free: 7.879 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.1562, allocations: 8.031 kB / 0.6787 GB, free: 7.871 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.413e-05/0.1563, allocations: 4.938 kB / 0.6787 GB, free: 7.867 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001349/0.1564, allocations: 164.4 kB / 0.6788 GB, free: 7.668 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.556e-06/0.1564, allocations: 384 / 0.6788 GB, free: 7.668 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.523e-05/0.1564, allocations: 4.375 kB / 0.6788 GB, free: 7.664 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001892/0.1566, allocations: 53.98 kB / 0.6789 GB, free: 7.605 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.164e-06/0.1567, allocations: 4 kB / 0.6789 GB, free: 7.602 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.1567, allocations: 0 / 0.6789 GB, free: 7.602 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.1567, allocations: 4 kB / 0.6789 GB, free: 7.598 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000158/0.1568, allocations: 31.91 kB / 0.6789 GB, free: 7.566 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003521/0.1572, allocations: 260.8 kB / 0.6792 GB, free: 7.262 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001248/0.1573, allocations: 34.56 kB / 0.6792 GB, free: 7.219 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.697e-05/0.1574, allocations: 24.89 kB / 0.6792 GB, free: 7.191 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001396/0.1576, allocations: 81.11 kB / 0.6793 GB, free: 7.094 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.207e-05/0.1576, allocations: 30.56 kB / 0.6793 GB, free: 7.055 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 3.737e-06/0.1576, allocations: 0 / 0.6793 GB, free: 7.055 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0003497/0.158, allocations: 89.67 kB / 0.6794 GB, free: 6.961 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.273e-05/0.158, allocations: 51.41 kB / 0.6795 GB, free: 6.898 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.883e-05/0.1581, allocations: 105.8 kB / 0.6796 GB, free: 6.785 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.412e-05/0.1581, allocations: 25.7 kB / 0.6796 GB, free: 6.754 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.786e-05/0.1582, allocations: 88.12 kB / 0.6797 GB, free: 6.664 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.275e-05/0.1582, allocations: 11.84 kB / 0.6797 GB, free: 6.652 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.19e-05/0.1583, allocations: 9.719 kB / 0.6797 GB, free: 6.637 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001054/0.1584, allocations: 318.8 kB / 0.68 GB, free: 6.316 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.224e-05/0.1585, allocations: 20.02 kB / 0.68 GB, free: 6.297 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.333e-05/0.1586, allocations: 15.98 kB / 0.68 GB, free: 6.281 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001462/0.1587, allocations: 48.64 kB / 0.6801 GB, free: 6.23 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.1587, allocations: 0 / 0.6801 GB, free: 6.23 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002003/0.1589, allocations: 73.66 kB / 0.6802 GB, free: 6.152 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.1589, allocations: 4 kB / 0.6802 GB, free: 6.148 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.159, allocations: 0 / 0.6802 GB, free: 6.148 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.159, allocations: 0 / 0.6802 GB, free: 6.148 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.277e-05/0.1591, allocations: 11.98 kB / 0.6802 GB, free: 6.137 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.1591, allocations: 0 / 0.6802 GB, free: 6.137 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.849e-05/0.1591, allocations: 7.984 kB / 0.6802 GB, free: 6.129 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.073e-06/0.1592, allocations: 3.984 kB / 0.6802 GB, free: 6.125 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.969e-05/0.1592, allocations: 121.8 kB / 0.6803 GB, free: 5.996 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.565e-05/0.1593, allocations: 3.906 kB / 0.6803 GB, free: 5.992 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002279/0.1595, allocations: 72.72 kB / 0.6804 GB, free: 5.918 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.1595, allocations: 0 / 0.6804 GB, free: 5.918 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.1595, allocations: 0 / 0.6804 GB, free: 5.918 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.1595, allocations: 0 / 0.6804 GB, free: 5.918 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001589/0.1597, allocations: 165.6 kB / 0.6805 GB, free: 5.707 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.1597, allocations: 0 / 0.6805 GB, free: 5.707 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.985e-05/0.1598, allocations: 16.02 kB / 0.6805 GB, free: 5.691 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.1598, allocations: 0 / 0.6805 GB, free: 5.691 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.193e-06/0.1598, allocations: 256 / 0.6805 GB, free: 5.691 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.1598, allocations: 0 / 0.6805 GB, free: 5.691 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.1598, allocations: 4 kB / 0.6806 GB, free: 5.688 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002228/0.16, allocations: 163.4 kB / 0.6807 GB, free: 5.512 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.843e-05/0.1601, allocations: 85.14 kB / 0.6808 GB, free: 5.41 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.264e-05/0.1601, allocations: 4 kB / 0.6808 GB, free: 5.406 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.528e-05/0.1602, allocations: 7.984 kB / 0.6808 GB, free: 5.398 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.655e-05/0.1602, allocations: 0 / 0.6808 GB, free: 5.398 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.1602, allocations: 0 / 0.6808 GB, free: 5.398 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.142e-05/0.1603, allocations: 79.28 kB / 0.6809 GB, free: 5.32 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1603, allocations: 0 / 0.6809 GB, free: 5.32 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002296/0.1605, allocations: 16 kB / 0.6809 GB, free: 5.305 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.0001655/0.1607, allocations: 103.2 kB / 0.681 GB, free: 5.191 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002109/0.1609, allocations: 35.97 kB / 0.681 GB, free: 5.156 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.1609, allocations: 0 / 0.681 GB, free: 5.156 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 8.633e-05/0.161, allocations: 31.84 kB / 0.6811 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.0003239/0.1613, allocations: 3.938 kB / 0.6811 GB, free: 5.121 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003237/0.1617, allocations: 135.2 kB / 0.6812 GB, free: 4.957 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002439/0.1619, allocations: 0.6768 MB / 0.6818 GB, free: 4.254 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.455e-05/0.162, allocations: 11.44 kB / 0.6819 GB, free: 4.242 MB / 0.5137 GB Notification: Performance of SimCode: time 3.7e-07/0.162, allocations: 3.938 kB / 0.6819 GB, free: 4.238 MB / 0.5137 GB Notification: Performance of Templates: time 0.00231/0.1643, allocations: 0.6635 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)