Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.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.00153/0.00153, allocations: 107.4 kB / 16.4 MB, free: 6.484 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.00159/0.00159, allocations: 192.6 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.471/1.471, allocations: 222.9 MB / 245.1 MB, free: 15.01 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.9458/0.9458, allocations: 143.3 MB / 440.5 MB, free: 11.21 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.SmoothBlocks,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001953/0.001953, allocations: 69.02 kB / 0.6038 GB, free: 11.67 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1699/0.1719, allocations: 82.03 MB / 0.6839 GB, free: 9.691 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks): time 0.003397/0.1753, allocations: 1.769 MB / 0.6857 GB, free: 7.91 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001277/0.1766, allocations: 0.6631 MB / 0.6863 GB, free: 7.238 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.163e-05/0.1767, allocations: 0 / 0.6863 GB, free: 7.238 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 4.006e-05/0.1767, allocations: 11.86 kB / 0.6863 GB, free: 7.227 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0002142/0.1769, allocations: 15.81 kB / 0.6863 GB, free: 7.211 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005292/0.1775, allocations: 176.6 kB / 0.6865 GB, free: 7.043 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001768/0.1777, allocations: 123.6 kB / 0.6866 GB, free: 6.922 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001552/0.1778, allocations: 49.25 kB / 0.6867 GB, free: 6.875 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001285/0.178, allocations: 55.83 kB / 0.6867 GB, free: 6.82 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 9.933e-05/0.1781, allocations: 51.7 kB / 0.6868 GB, free: 6.77 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.102e-05/0.1781, allocations: 12 kB / 0.6868 GB, free: 6.758 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001192/0.1782, allocations: 47.95 kB / 0.6868 GB, free: 6.711 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.038e-05/0.1783, allocations: 27.91 kB / 0.6869 GB, free: 6.684 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 6.974e-05/0.1783, allocations: 59.7 kB / 0.6869 GB, free: 6.625 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003918/0.1787, allocations: 159.3 kB / 0.6871 GB, free: 6.469 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1788, allocations: 0 / 0.6871 GB, free: 6.469 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.724e-06/0.1788, allocations: 0 / 0.6871 GB, free: 6.469 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.1788, allocations: 4 kB / 0.6871 GB, free: 6.465 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0006596/0.1794, allocations: 438.8 kB / 0.6875 GB, free: 5.988 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.1795, allocations: 8.031 kB / 0.6875 GB, free: 5.98 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.668e-05/0.1795, allocations: 42.73 kB / 0.6875 GB, free: 5.93 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009581/0.1805, allocations: 116.7 kB / 0.6876 GB, free: 5.816 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000145/0.1807, allocations: 180.2 kB / 0.6878 GB, free: 5.602 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.662e-05/0.1808, allocations: 67.89 kB / 0.6879 GB, free: 5.523 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.903e-05/0.1808, allocations: 8.375 kB / 0.6879 GB, free: 5.516 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005121/0.1813, allocations: 169.5 kB / 0.688 GB, free: 5.344 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.1813, allocations: 0 / 0.688 GB, free: 5.344 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.903e-05/0.1813, allocations: 0 / 0.688 GB, free: 5.344 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.051e-05/0.1814, allocations: 7.984 kB / 0.6881 GB, free: 5.336 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006865/0.1821, allocations: 151.8 kB / 0.6882 GB, free: 5.188 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001067/0.1831, allocations: 493.8 kB / 0.6887 GB, free: 4.652 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001098/0.1842, allocations: 222.2 kB / 0.6889 GB, free: 4.426 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003034/0.1846, allocations: 84.91 kB / 0.689 GB, free: 4.34 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.363e-05/0.1846, allocations: 8 kB / 0.689 GB, free: 4.332 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.278e-05/0.1846, allocations: 30.56 kB / 0.689 GB, free: 4.293 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.1846, allocations: 4 kB / 0.689 GB, free: 4.289 MB / 0.5137 GB Notification: Performance of matching and sorting (n=6): time 0.001113/0.1857, allocations: 261.3 kB / 0.6893 GB, free: 4.027 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.055e-05/0.1858, allocations: 51.41 kB / 0.6893 GB, free: 3.965 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001167/0.1859, allocations: 139.8 kB / 0.6894 GB, free: 3.82 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.726e-05/0.186, allocations: 33.69 kB / 0.6895 GB, free: 3.781 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.932e-05/0.186, allocations: 112.2 kB / 0.6896 GB, free: 3.664 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.476e-05/0.1861, allocations: 19.86 kB / 0.6896 GB, free: 3.645 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.686e-05/0.1861, allocations: 21.7 kB / 0.6896 GB, free: 3.617 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.1863, allocations: 330.8 kB / 0.6899 GB, free: 3.285 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003426/0.1866, allocations: 75.91 kB / 0.69 GB, free: 3.211 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003152/0.1869, allocations: 90.5 kB / 0.6901 GB, free: 3.113 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005847/0.1875, allocations: 158.4 kB / 0.6902 GB, free: 2.949 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1875, allocations: 4 kB / 0.6902 GB, free: 2.945 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0007166/0.1883, allocations: 205.4 kB / 0.6904 GB, free: 2.738 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.1883, allocations: 4 kB / 0.6904 GB, free: 2.734 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.1883, allocations: 7.875 kB / 0.6905 GB, free: 2.727 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.1883, allocations: 4 kB / 0.6905 GB, free: 2.723 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002468/0.1886, allocations: 36.02 kB / 0.6905 GB, free: 2.688 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.193e-06/0.1886, allocations: 4 kB / 0.6905 GB, free: 2.684 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001867/0.1888, allocations: 23.91 kB / 0.6905 GB, free: 2.66 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.623e-05/0.1888, allocations: 7.984 kB / 0.6905 GB, free: 2.652 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (8): * Single equations (assignments): 8 * 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 9.482e-05/0.1889, allocations: 117.8 kB / 0.6906 GB, free: 2.527 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.922e-05/0.189, allocations: 7.953 kB / 0.6906 GB, free: 2.52 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007533/0.1897, allocations: 210.1 kB / 0.6908 GB, free: 2.309 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.1897, allocations: 0 / 0.6908 GB, free: 2.309 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.1897, allocations: 0 / 0.6908 GB, free: 2.309 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.1898, allocations: 4.375 kB / 0.6909 GB, free: 2.305 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002613/0.19, allocations: 241.9 kB / 0.6911 GB, free: 2.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.19, allocations: 7.938 kB / 0.6911 GB, free: 2.012 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002293/0.1903, allocations: 35.95 kB / 0.6911 GB, free: 1.977 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.1903, allocations: 4 kB / 0.6911 GB, free: 1.973 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.307e-05/0.1903, allocations: 3.938 kB / 0.6911 GB, free: 1.969 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.1903, allocations: 0 / 0.6911 GB, free: 1.969 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1903, allocations: 0 / 0.6911 GB, free: 1.969 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006864/0.191, allocations: 287.3 kB / 0.6914 GB, free: 1.672 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.482e-05/0.1911, allocations: 81.06 kB / 0.6915 GB, free: 1.574 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.368e-05/0.1911, allocations: 11.92 kB / 0.6915 GB, free: 1.562 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003932/0.1915, allocations: 35.95 kB / 0.6915 GB, free: 1.527 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.179e-05/0.1915, allocations: 4 kB / 0.6915 GB, free: 1.523 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.923e-05/0.1915, allocations: 3.984 kB / 0.6915 GB, free: 1.52 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.85e-05/0.1916, allocations: 106.2 kB / 0.6916 GB, free: 1.418 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1916, allocations: 0 / 0.6916 GB, free: 1.418 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000243/0.1919, allocations: 27.89 kB / 0.6917 GB, free: 1.391 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 (6): * Single equations (assignments): 6 * 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.001098/0.193, allocations: 0.8293 MB / 0.6925 GB, free: 0.5352 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0006461/0.1936, allocations: 163.8 kB / 0.6926 GB, free: 384 kB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1936, allocations: 0 / 0.6926 GB, free: 384 kB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003089/0.194, allocations: 83.86 kB / 0.6927 GB, free: 300 kB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002794/0.1942, allocations: 12.12 kB / 0.6927 GB, free: 288 kB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003169/0.1975, allocations: 1.826 MB / 0.6945 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004171/0.1979, allocations: 0.7041 MB / 0.6952 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 8.802e-05/0.198, allocations: 15.98 kB / 0.6952 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.298e-05/0.1981, allocations: 39.36 kB / 0.6952 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of SimCode: time 2.5e-07/0.1981, allocations: 0 / 0.6952 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0397/0.2378, allocations: 2.756 MB / 0.6979 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.968/8.206, allocations: 11.64 kB / 0.6979 GB, free: 10.91 MB / 0.5294 GB " [Timeout remaining time 652] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks_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_SmoothBlocks.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.24428062106017] Failed to read output from testmodel.py, exit status != 0: 8.2747380589135 8.299071137 8.116111881 Calling exit ...