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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001221/0.001222, allocations: 111.5 kB / 16.41 MB, free: 6.496 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001324/0.001323, allocations: 191.7 kB / 19.36 MB, free: 3.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.405/1.405, allocations: 222.9 MB / 245 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 0.9026/0.9026, allocations: 143.3 MB / 440.5 MB, free: 11.25 MB / 350.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00197/0.00197, allocations: 63.52 kB / 0.6038 GB, free: 11.67 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1622/0.1641, allocations: 82.02 MB / 0.6839 GB, free: 9.691 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit): time 0.002893/0.1671, allocations: 1.466 MB / 0.6854 GB, free: 8.215 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00101/0.1681, allocations: 0.5501 MB / 0.6859 GB, free: 7.656 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.279e-05/0.1682, allocations: 0 / 0.6859 GB, free: 7.656 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.496e-05/0.1682, allocations: 7.938 kB / 0.6859 GB, free: 7.648 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.171e-05/0.1683, allocations: 7.922 kB / 0.6859 GB, free: 7.641 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002765/0.1686, allocations: 47.83 kB / 0.686 GB, free: 7.594 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 8.177e-05/0.1687, allocations: 31.91 kB / 0.686 GB, free: 7.562 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000125/0.1688, allocations: 4 kB / 0.686 GB, free: 7.559 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001018/0.1689, allocations: 15.92 kB / 0.686 GB, free: 7.543 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.341e-05/0.169, allocations: 11.94 kB / 0.686 GB, free: 7.531 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.372e-05/0.169, allocations: 8 kB / 0.686 GB, free: 7.523 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001288/0.1691, allocations: 63.88 kB / 0.6861 GB, free: 7.461 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.168e-05/0.1691, allocations: 0 / 0.6861 GB, free: 7.461 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.442e-05/0.1692, allocations: 19.86 kB / 0.6861 GB, free: 7.441 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001533/0.1693, allocations: 64.02 kB / 0.6862 GB, free: 7.379 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.1693, allocations: 0 / 0.6862 GB, free: 7.379 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.132e-06/0.1694, allocations: 0 / 0.6862 GB, free: 7.379 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.292e-06/0.1694, allocations: 0 / 0.6862 GB, free: 7.379 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.0004477/0.1698, allocations: 363.2 kB / 0.6865 GB, free: 6.977 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.1699, allocations: 8.031 kB / 0.6865 GB, free: 6.969 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.796e-05/0.1699, allocations: 38.75 kB / 0.6866 GB, free: 6.922 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.301e-05/0.1699, allocations: 4.938 kB / 0.6866 GB, free: 6.918 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001458/0.1701, allocations: 168.3 kB / 0.6867 GB, free: 6.715 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.264e-06/0.1701, allocations: 384 / 0.6867 GB, free: 6.715 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.083e-05/0.1701, allocations: 384 / 0.6867 GB, free: 6.715 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001455/0.1703, allocations: 49.8 kB / 0.6868 GB, free: 6.66 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.1703, allocations: 0 / 0.6868 GB, free: 6.66 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.786e-06/0.1703, allocations: 0 / 0.6868 GB, free: 6.66 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.1703, allocations: 0 / 0.6868 GB, free: 6.66 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001006/0.1704, allocations: 27.92 kB / 0.6868 GB, free: 6.633 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003615/0.1708, allocations: 256.9 kB / 0.687 GB, free: 6.332 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 8.285e-05/0.1709, allocations: 26.58 kB / 0.6871 GB, free: 6.297 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.285e-05/0.1709, allocations: 16.91 kB / 0.6871 GB, free: 6.277 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000871/0.1718, allocations: 485.4 kB / 0.6875 GB, free: 5.711 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.139e-05/0.1719, allocations: 30.56 kB / 0.6876 GB, free: 5.672 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 1.293e-06/0.1719, allocations: 0 / 0.6876 GB, free: 5.672 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0002726/0.1721, allocations: 61.62 kB / 0.6876 GB, free: 5.605 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.907e-05/0.1722, allocations: 59.52 kB / 0.6877 GB, free: 5.535 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001064/0.1723, allocations: 109.8 kB / 0.6878 GB, free: 5.418 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.604e-05/0.1723, allocations: 25.7 kB / 0.6878 GB, free: 5.387 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.788e-05/0.1724, allocations: 92.08 kB / 0.6879 GB, free: 5.293 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.889e-05/0.1724, allocations: 7.953 kB / 0.6879 GB, free: 5.285 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.961e-05/0.1725, allocations: 9.719 kB / 0.6879 GB, free: 5.27 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001701/0.1726, allocations: 322.8 kB / 0.6882 GB, free: 4.945 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.33e-05/0.1727, allocations: 8 kB / 0.6882 GB, free: 4.938 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.797e-05/0.1727, allocations: 15.98 kB / 0.6883 GB, free: 4.922 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.455e-05/0.1728, allocations: 20.86 kB / 0.6883 GB, free: 4.898 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1728, allocations: 7.938 kB / 0.6883 GB, free: 4.891 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001443/0.173, allocations: 53.67 kB / 0.6883 GB, free: 4.832 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.173, allocations: 4 kB / 0.6883 GB, free: 4.828 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.173, allocations: 0 / 0.6883 GB, free: 4.828 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.173, allocations: 3.984 kB / 0.6883 GB, free: 4.824 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.927e-05/0.1731, allocations: 8.094 kB / 0.6883 GB, free: 4.816 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.1731, allocations: 7.938 kB / 0.6884 GB, free: 4.809 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.31e-05/0.1732, allocations: 3.984 kB / 0.6884 GB, free: 4.805 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.491e-06/0.1732, allocations: 0 / 0.6884 GB, free: 4.805 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.000109/0.1733, allocations: 122.6 kB / 0.6885 GB, free: 4.676 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.656e-05/0.1733, allocations: 3.953 kB / 0.6885 GB, free: 4.672 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001847/0.1735, allocations: 61.14 kB / 0.6885 GB, free: 4.605 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.1735, allocations: 4.031 kB / 0.6885 GB, free: 4.602 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.066e-06/0.1736, allocations: 4 kB / 0.6885 GB, free: 4.598 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.1736, allocations: 0 / 0.6885 GB, free: 4.598 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002136/0.1738, allocations: 165.6 kB / 0.6887 GB, free: 4.387 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.1738, allocations: 0 / 0.6887 GB, free: 4.387 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.16e-05/0.1738, allocations: 4 kB / 0.6887 GB, free: 4.383 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.219e-06/0.1738, allocations: 4 kB / 0.6887 GB, free: 4.379 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.204e-06/0.1739, allocations: 0 / 0.6887 GB, free: 4.379 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.686e-06/0.1739, allocations: 4 kB / 0.6887 GB, free: 4.375 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1739, allocations: 0 / 0.6887 GB, free: 4.375 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001944/0.1741, allocations: 155.4 kB / 0.6889 GB, free: 4.207 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.993e-05/0.1741, allocations: 85.06 kB / 0.6889 GB, free: 4.105 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.495e-05/0.1742, allocations: 4 kB / 0.6889 GB, free: 4.102 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.009e-05/0.1742, allocations: 3.984 kB / 0.689 GB, free: 4.098 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.427e-05/0.1743, allocations: 4 kB / 0.689 GB, free: 4.094 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.557e-06/0.1743, allocations: 3.938 kB / 0.689 GB, free: 4.09 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.478e-05/0.1743, allocations: 87.58 kB / 0.689 GB, free: 4.004 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1743, allocations: 4.031 kB / 0.689 GB, free: 4 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002389/0.1746, allocations: 19.92 kB / 0.6891 GB, free: 3.98 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.0005605/0.1751, allocations: 0.689 MB / 0.6897 GB, free: 3.266 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001523/0.1753, allocations: 31.95 kB / 0.6898 GB, free: 3.234 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.1753, allocations: 0 / 0.6898 GB, free: 3.234 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 4.872e-05/0.1754, allocations: 11.98 kB / 0.6898 GB, free: 3.223 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002094/0.1756, allocations: 6.344 kB / 0.6898 GB, free: 3.219 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004262/0.176, allocations: 164.1 kB / 0.6899 GB, free: 3.02 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002967/0.1763, allocations: 0.6768 MB / 0.6906 GB, free: 2.316 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.38e-05/0.1764, allocations: 4.125 kB / 0.6906 GB, free: 2.312 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.409e-05/0.1764, allocations: 15.44 kB / 0.6906 GB, free: 2.297 MB / 0.5137 GB Notification: Performance of SimCode: time 2.5e-07/0.1764, allocations: 0 / 0.6906 GB, free: 2.297 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02338/0.1998, allocations: 1.633 MB / 0.6922 GB, free: 0.75 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.009/8.209, allocations: 15.86 kB / 0.6922 GB, free: 0.7344 MB / 0.5137 GB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit_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_SmoothLimit.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.988411713973619] Failed to read output from testmodel.py, exit status != 0: 8.27543399692513 8.290317383 8.118350069 Calling exit ...