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: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothHeaviside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothHeaviside",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00512/0.00512, allocations: 106.1 kB / 15.74 MB, free: 6.02 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.001138/0.001138, allocations: 193.3 kB / 16.67 MB, free: 5.934 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.454/1.454, allocations: 222.9 MB / 240.4 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.9327/0.9327, allocations: 143.1 MB / 433.6 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 68.11 kB / 0.5951 GB, free: 12.76 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1588/0.1601, allocations: 82.03 MB / 0.6752 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside): time 0.003346/0.1634, allocations: 1.445 MB / 0.6766 GB, free: 9.383 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001112/0.1646, allocations: 463.8 kB / 0.677 GB, free: 8.922 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.968e-05/0.1647, allocations: 0 / 0.677 GB, free: 8.922 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 4.111e-05/0.1648, allocations: 3.938 kB / 0.677 GB, free: 8.918 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 9.765e-05/0.1649, allocations: 3.938 kB / 0.677 GB, free: 8.914 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003236/0.1652, allocations: 19.98 kB / 0.677 GB, free: 8.895 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001012/0.1653, allocations: 27.91 kB / 0.6771 GB, free: 8.867 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.1654, allocations: 8 kB / 0.6771 GB, free: 8.859 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 8.6e-05/0.1655, allocations: 23.86 kB / 0.6771 GB, free: 8.836 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.103e-05/0.1656, allocations: 7.938 kB / 0.6771 GB, free: 8.828 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.311e-05/0.1656, allocations: 0 / 0.6771 GB, free: 8.828 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001113/0.1657, allocations: 27.97 kB / 0.6771 GB, free: 8.801 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.245e-05/0.1657, allocations: 0 / 0.6771 GB, free: 8.801 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.939e-05/0.1658, allocations: 15.92 kB / 0.6772 GB, free: 8.785 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001436/0.1659, allocations: 36.11 kB / 0.6772 GB, free: 8.75 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.1659, allocations: 0 / 0.6772 GB, free: 8.75 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.633e-06/0.166, allocations: 0 / 0.6772 GB, free: 8.75 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.166, allocations: 0 / 0.6772 GB, free: 8.75 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.0005814/0.1666, allocations: 349.3 kB / 0.6775 GB, free: 8.363 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 6.207e-05/0.1666, allocations: 8.031 kB / 0.6775 GB, free: 8.355 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.506e-05/0.1667, allocations: 30.75 kB / 0.6776 GB, free: 8.316 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.356e-05/0.1667, allocations: 4.938 kB / 0.6776 GB, free: 8.312 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001388/0.1669, allocations: 168.3 kB / 0.6777 GB, free: 8.109 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.1669, allocations: 384 / 0.6777 GB, free: 8.109 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.487e-05/0.1669, allocations: 4.375 kB / 0.6777 GB, free: 8.105 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002027/0.1671, allocations: 53.8 kB / 0.6778 GB, free: 8.047 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.946e-06/0.1671, allocations: 4 kB / 0.6778 GB, free: 8.043 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.669e-06/0.1672, allocations: 0 / 0.6778 GB, free: 8.043 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.1672, allocations: 0 / 0.6778 GB, free: 8.043 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001726/0.1673, allocations: 39.89 kB / 0.6778 GB, free: 8.004 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003981/0.1678, allocations: 248.9 kB / 0.6781 GB, free: 7.711 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001399/0.1679, allocations: 46.53 kB / 0.6781 GB, free: 7.656 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.753e-05/0.168, allocations: 16.91 kB / 0.6781 GB, free: 7.637 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001801/0.1682, allocations: 85.09 kB / 0.6782 GB, free: 7.535 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.231e-05/0.1682, allocations: 38.56 kB / 0.6782 GB, free: 7.488 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 3.687e-06/0.1683, allocations: 7.984 kB / 0.6782 GB, free: 7.48 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0004138/0.1687, allocations: 81.67 kB / 0.6783 GB, free: 7.395 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.564e-05/0.1687, allocations: 55.41 kB / 0.6784 GB, free: 7.328 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.652e-05/0.1688, allocations: 97.86 kB / 0.6785 GB, free: 7.223 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.777e-05/0.1689, allocations: 25.7 kB / 0.6785 GB, free: 7.191 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.934e-05/0.169, allocations: 96.08 kB / 0.6786 GB, free: 7.094 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.045e-05/0.169, allocations: 7.938 kB / 0.6786 GB, free: 7.086 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.772e-05/0.1691, allocations: 13.66 kB / 0.6786 GB, free: 7.066 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000192/0.1693, allocations: 322.8 kB / 0.6789 GB, free: 6.742 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.902e-05/0.1693, allocations: 15.98 kB / 0.6789 GB, free: 6.727 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.26e-05/0.1694, allocations: 19.97 kB / 0.6789 GB, free: 6.707 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001693/0.1696, allocations: 36.83 kB / 0.679 GB, free: 6.668 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.1696, allocations: 0 / 0.679 GB, free: 6.668 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002175/0.1699, allocations: 73.66 kB / 0.6791 GB, free: 6.59 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.1699, allocations: 4 kB / 0.6791 GB, free: 6.586 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.1699, allocations: 0 / 0.6791 GB, free: 6.586 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.288e-05/0.1699, allocations: 4 kB / 0.6791 GB, free: 6.582 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001054/0.17, allocations: 7.984 kB / 0.6791 GB, free: 6.574 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.17, allocations: 0 / 0.6791 GB, free: 6.574 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.288e-05/0.1701, allocations: 7.938 kB / 0.6791 GB, free: 6.566 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-06/0.1701, allocations: 0 / 0.6791 GB, free: 6.566 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 0.0001123/0.1702, allocations: 122.7 kB / 0.6792 GB, free: 6.438 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.386e-05/0.1703, allocations: 3.984 kB / 0.6792 GB, free: 6.434 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002526/0.1705, allocations: 72.78 kB / 0.6793 GB, free: 6.359 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/0.1706, allocations: 0 / 0.6793 GB, free: 6.359 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.1706, allocations: 3.938 kB / 0.6793 GB, free: 6.355 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.1706, allocations: 0 / 0.6793 GB, free: 6.355 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001976/0.1708, allocations: 157.6 kB / 0.6794 GB, free: 6.152 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.1708, allocations: 32 / 0.6794 GB, free: 6.152 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.112e-05/0.1709, allocations: 15.98 kB / 0.6794 GB, free: 6.137 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.1709, allocations: 0 / 0.6794 GB, free: 6.137 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.217e-06/0.1709, allocations: 0 / 0.6794 GB, free: 6.137 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.1709, allocations: 0 / 0.6794 GB, free: 6.137 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.222e-06/0.1709, allocations: 3.984 kB / 0.6794 GB, free: 6.133 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002813/0.1712, allocations: 171.4 kB / 0.6796 GB, free: 5.949 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.642e-05/0.1712, allocations: 81.11 kB / 0.6797 GB, free: 5.852 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.82e-05/0.1713, allocations: 7.922 kB / 0.6797 GB, free: 5.844 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.422e-05/0.1714, allocations: 4.25 kB / 0.6797 GB, free: 5.84 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.588e-05/0.1714, allocations: 3.984 kB / 0.6797 GB, free: 5.836 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-06/0.1714, allocations: 4 kB / 0.6797 GB, free: 5.832 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.395e-05/0.1715, allocations: 83.28 kB / 0.6798 GB, free: 5.75 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9.889e-06/0.1715, allocations: 0 / 0.6798 GB, free: 5.75 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002388/0.1717, allocations: 11.94 kB / 0.6798 GB, free: 5.738 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.0005938/0.1723, allocations: 0.7036 MB / 0.6805 GB, free: 5.008 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002295/0.1726, allocations: 39.98 kB / 0.6805 GB, free: 4.969 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1726, allocations: 0 / 0.6805 GB, free: 4.969 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 8.714e-05/0.1727, allocations: 23.92 kB / 0.6805 GB, free: 4.945 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003394/0.173, allocations: 4 kB / 0.6805 GB, free: 4.941 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004323/0.1735, allocations: 139 kB / 0.6807 GB, free: 4.766 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002801/0.1738, allocations: 0.6807 MB / 0.6813 GB, free: 4.059 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.316e-05/0.1738, allocations: 4.125 kB / 0.6813 GB, free: 4.055 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.928e-05/0.1738, allocations: 11.44 kB / 0.6814 GB, free: 4.043 MB / 0.5137 GB Notification: Performance of SimCode: time 2.6e-07/0.1739, allocations: 0 / 0.6814 GB, free: 4.043 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02013/0.194, allocations: 1.432 MB / 0.6828 GB, free: 2.707 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.598/7.792, allocations: 6.062 kB / 0.6828 GB, free: 2.703 MB / 0.5137 GB (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 & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothHeaviside.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1)