Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.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.SmoothLimit,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothLimit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothLimit",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.0009711/0.0009711, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.006315/0.006316, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.329/1.329, allocations: 223.3 MB / 240.3 MB, free: 5.359 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 0.9668/0.9668, allocations: 143.2 MB / 434.6 MB, free: 13.8 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003544/0.0003542, allocations: 15.98 kB / 0.5165 GB, free: 11.11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1639/0.1643, allocations: 83.42 MB / 0.598 GB, free: 7.66 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit): time 0.001527/0.1659, allocations: 1.178 MB / 0.5991 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008849/0.1668, allocations: 0.5542 MB / 0.5997 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.418e-05/0.1668, allocations: 0 / 0.5997 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.543e-05/0.1668, allocations: 0 / 0.5997 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.017e-05/0.1669, allocations: 7.938 kB / 0.5997 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002255/0.1671, allocations: 43.89 kB / 0.5997 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.9e-05/0.1672, allocations: 23.92 kB / 0.5997 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8e-05/0.1673, allocations: 8 kB / 0.5997 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.595e-05/0.1673, allocations: 7.938 kB / 0.5997 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.578e-05/0.1674, allocations: 19.91 kB / 0.5998 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.157e-05/0.1674, allocations: 0 / 0.5998 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001064/0.1675, allocations: 47.95 kB / 0.5998 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.045e-05/0.1676, allocations: 8 kB / 0.5998 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.263e-05/0.1676, allocations: 37.58 kB / 0.5999 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001279/0.1677, allocations: 63.84 kB / 0.5999 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.1677, allocations: 0 / 0.5999 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.392e-06/0.1677, allocations: 0 / 0.5999 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.647e-06/0.1678, allocations: 0 / 0.5999 GB, free: 5.637 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.0003763/0.1681, allocations: 347.7 kB / 0.6002 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.1682, allocations: 12.03 kB / 0.6003 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.082e-05/0.1682, allocations: 30.75 kB / 0.6003 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.078e-05/0.1682, allocations: 12.78 kB / 0.6003 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001198/0.1684, allocations: 176.2 kB / 0.6005 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.448e-06/0.1684, allocations: 384 / 0.6005 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.726e-06/0.1684, allocations: 384 / 0.6005 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001428/0.1685, allocations: 49.81 kB / 0.6005 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.052e-06/0.1686, allocations: 0 / 0.6005 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-06/0.1686, allocations: 3.984 kB / 0.6005 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.1686, allocations: 0 / 0.6005 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.949e-05/0.1687, allocations: 27.98 kB / 0.6005 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003145/0.169, allocations: 256.9 kB / 0.6008 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.823e-05/0.1691, allocations: 34.56 kB / 0.6008 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.999e-05/0.1692, allocations: 20.91 kB / 0.6008 GB, free: 4.523 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008105/0.17, allocations: 497.4 kB / 0.6013 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.095e-05/0.17, allocations: 30.56 kB / 0.6013 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.17, allocations: 0 / 0.6013 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0002473/0.1703, allocations: 81.52 kB / 0.6014 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.072e-05/0.1703, allocations: 51.41 kB / 0.6015 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.696e-05/0.1704, allocations: 109.8 kB / 0.6016 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.501e-05/0.1704, allocations: 25.7 kB / 0.6016 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.605e-05/0.1705, allocations: 92.06 kB / 0.6017 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.685e-05/0.1705, allocations: 3.906 kB / 0.6017 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.931e-05/0.1705, allocations: 13.72 kB / 0.6017 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.1706, allocations: 322.9 kB / 0.602 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.499e-05/0.1707, allocations: 15.98 kB / 0.602 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.482e-05/0.1707, allocations: 12 kB / 0.602 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.129e-05/0.1708, allocations: 28.84 kB / 0.6021 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1708, allocations: 0 / 0.6021 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001221/0.171, allocations: 61.69 kB / 0.6021 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.171, allocations: 4 kB / 0.6021 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.171, allocations: 3.984 kB / 0.6021 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.171, allocations: 0 / 0.6021 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.836e-05/0.1711, allocations: 8 kB / 0.6021 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.987e-06/0.1711, allocations: 0 / 0.6021 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.263e-05/0.1711, allocations: 4 kB / 0.6021 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.92e-06/0.1711, allocations: 0 / 0.6021 GB, free: 3.023 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.456e-05/0.1712, allocations: 121.8 kB / 0.6023 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.576e-05/0.1712, allocations: 11.89 kB / 0.6023 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001604/0.1714, allocations: 65.14 kB / 0.6023 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.1714, allocations: 0 / 0.6023 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.1714, allocations: 4 kB / 0.6023 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.1714, allocations: 0 / 0.6023 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001519/0.1716, allocations: 169.6 kB / 0.6025 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.1716, allocations: 3.938 kB / 0.6025 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.186e-05/0.1716, allocations: 7.984 kB / 0.6025 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.1717, allocations: 0 / 0.6025 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.742e-06/0.1717, allocations: 0 / 0.6025 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1717, allocations: 4 kB / 0.6025 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1717, allocations: 0 / 0.6025 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001625/0.1718, allocations: 155.5 kB / 0.6027 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.904e-05/0.1719, allocations: 81.02 kB / 0.6027 GB, free: 2.309 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.446e-05/0.1719, allocations: 8 kB / 0.6028 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.771e-05/0.172, allocations: 0 / 0.6028 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.146e-05/0.172, allocations: 4 kB / 0.6028 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.346e-06/0.172, allocations: 0 / 0.6028 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.545e-05/0.1721, allocations: 91.2 kB / 0.6028 GB, free: 2.207 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.51e-07/0.1721, allocations: 3.938 kB / 0.6028 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002268/0.1723, allocations: 20.03 kB / 0.6029 GB, free: 2.184 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.0004683/0.1728, allocations: 0.7007 MB / 0.6035 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001261/0.1729, allocations: 32.02 kB / 0.6036 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1729, allocations: 0 / 0.6036 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.496e-05/0.173, allocations: 11.94 kB / 0.6036 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002022/0.1732, allocations: 4 kB / 0.6036 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004016/0.1736, allocations: 178.4 kB / 0.6038 GB, free: 1.199 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002306/0.1738, allocations: 0.677 MB / 0.6044 GB, free: 0.4961 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.295e-05/0.1739, allocations: 3.906 kB / 0.6044 GB, free: 0.4922 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.116e-05/0.1739, allocations: 19.42 kB / 0.6044 GB, free: 484 kB / 0.4981 GB Notification: Performance of SimCode: time 2.11e-07/0.1739, allocations: 0 / 0.6044 GB, free: 484 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2912/0.4651, allocations: 1.415 MB / 0.6058 GB, free: 40.3 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001296/0.4653, allocations: 207.5 kB / 0.606 GB, free: 40.05 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.701/2.166, allocations: 0 / 0.606 GB, free: 40.05 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothLimit_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothLimit.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)