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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001288/0.001288, allocations: 101.2 kB / 16.45 MB, free: 6.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001465/0.001465, allocations: 210.4 kB / 19.42 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.507/1.507, allocations: 230.6 MB / 252.8 MB, free: 8.98 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.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.7.0/package.mo): time 0.8997/0.8997, allocations: 145 MB / 453.8 MB, free: 0.7266 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.7.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: BuildSysPro requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002005/0.002005, allocations: 74.28 kB / 0.628 GB, free: 10.64 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.179/0.181, allocations: 87.82 MB / 0.7138 GB, free: 2.828 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks): time 0.003041/0.1841, allocations: 1.795 MB / 0.7156 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001212/0.1853, allocations: 0.734 MB / 0.7163 GB, free: 276 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.351e-05/0.1853, allocations: 7.938 kB / 0.7163 GB, free: 268 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 4.311e-05/0.1854, allocations: 7.875 kB / 0.7163 GB, free: 260 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.308e-05/0.1854, allocations: 19.78 kB / 0.7163 GB, free: 240 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005605/0.186, allocations: 182.6 kB / 0.7165 GB, free: 60 kB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002065/0.1862, allocations: 131.6 kB / 0.7166 GB, free: 15.93 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001333/0.1863, allocations: 37.7 kB / 0.7166 GB, free: 15.89 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001667/0.1865, allocations: 59.83 kB / 0.7167 GB, free: 15.83 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 9.328e-05/0.1866, allocations: 47.77 kB / 0.7168 GB, free: 15.79 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.656e-05/0.1866, allocations: 16 kB / 0.7168 GB, free: 15.77 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001142/0.1868, allocations: 59.89 kB / 0.7168 GB, free: 15.71 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.471e-05/0.1868, allocations: 31.91 kB / 0.7169 GB, free: 15.68 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.838e-05/0.1868, allocations: 55.7 kB / 0.7169 GB, free: 15.62 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002325/0.1871, allocations: 155.3 kB / 0.7171 GB, free: 15.47 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.1871, allocations: 0 / 0.7171 GB, free: 15.47 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.056e-06/0.1871, allocations: 4 kB / 0.7171 GB, free: 15.47 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.229e-06/0.1871, allocations: 0 / 0.7171 GB, free: 15.47 MB / 0.545 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.0006455/0.1877, allocations: 448.9 kB / 0.7175 GB, free: 14.98 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.1878, allocations: 8.031 kB / 0.7175 GB, free: 14.98 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.855e-05/0.1878, allocations: 42.73 kB / 0.7175 GB, free: 14.93 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001011/0.1888, allocations: 132.6 kB / 0.7177 GB, free: 14.8 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002924/0.1891, allocations: 222.3 kB / 0.7179 GB, free: 14.54 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001008/0.1892, allocations: 67.7 kB / 0.7179 GB, free: 14.46 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.174e-05/0.1892, allocations: 8 kB / 0.7179 GB, free: 14.46 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005513/0.1898, allocations: 169.5 kB / 0.7181 GB, free: 14.29 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.1898, allocations: 0 / 0.7181 GB, free: 14.29 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.379e-05/0.1898, allocations: 4 kB / 0.7181 GB, free: 14.28 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.1898, allocations: 4 kB / 0.7181 GB, free: 14.28 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006668/0.1905, allocations: 163.8 kB / 0.7183 GB, free: 14.12 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001132/0.1916, allocations: 485.7 kB / 0.7187 GB, free: 13.59 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001084/0.1927, allocations: 214.3 kB / 0.7189 GB, free: 13.38 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003213/0.193, allocations: 84.89 kB / 0.719 GB, free: 13.29 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.519e-05/0.1931, allocations: 3.984 kB / 0.719 GB, free: 13.29 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.602e-05/0.1931, allocations: 38.5 kB / 0.7191 GB, free: 13.24 MB / 0.545 GB Notification: Performance of pre-optimization done (n=6): time 1.062e-06/0.1931, allocations: 0 / 0.7191 GB, free: 13.24 MB / 0.545 GB Notification: Performance of matching and sorting (n=6): time 0.001096/0.1942, allocations: 261.4 kB / 0.7193 GB, free: 12.98 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.915e-05/0.1942, allocations: 55.34 kB / 0.7194 GB, free: 12.91 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000151/0.1944, allocations: 149.2 kB / 0.7195 GB, free: 12.75 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.808e-05/0.1944, allocations: 25.7 kB / 0.7195 GB, free: 12.72 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.156e-05/0.1945, allocations: 108.3 kB / 0.7196 GB, free: 12.61 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.649e-05/0.1945, allocations: 19.83 kB / 0.7197 GB, free: 12.59 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.894e-05/0.1946, allocations: 29.7 kB / 0.7197 GB, free: 12.55 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.1947, allocations: 318.8 kB / 0.72 GB, free: 12.23 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000329/0.1951, allocations: 79.91 kB / 0.7201 GB, free: 12.16 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003331/0.1954, allocations: 90.5 kB / 0.7201 GB, free: 12.06 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000621/0.196, allocations: 162.4 kB / 0.7203 GB, free: 11.89 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.196, allocations: 0 / 0.7203 GB, free: 11.89 MB / 0.545 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0007209/0.1967, allocations: 209.3 kB / 0.7205 GB, free: 11.68 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.1968, allocations: 8 kB / 0.7205 GB, free: 11.67 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.1968, allocations: 0 / 0.7205 GB, free: 11.67 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.1968, allocations: 0 / 0.7205 GB, free: 11.67 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002798/0.197, allocations: 43.94 kB / 0.7205 GB, free: 11.63 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.1971, allocations: 4.062 kB / 0.7206 GB, free: 11.62 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001986/0.1973, allocations: 19.97 kB / 0.7206 GB, free: 11.61 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.576e-05/0.1973, allocations: 7.938 kB / 0.7206 GB, free: 11.6 MB / 0.545 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 0.0001074/0.1974, allocations: 121.8 kB / 0.7207 GB, free: 11.47 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.589e-05/0.1974, allocations: 11.95 kB / 0.7207 GB, free: 11.46 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007692/0.1982, allocations: 210.4 kB / 0.7209 GB, free: 11.25 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.1982, allocations: 0 / 0.7209 GB, free: 11.25 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.1982, allocations: 64 / 0.7209 GB, free: 11.25 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.1982, allocations: 4 kB / 0.7209 GB, free: 11.24 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003/0.1985, allocations: 242.3 kB / 0.7211 GB, free: 10.96 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.1985, allocations: 7.922 kB / 0.7212 GB, free: 10.95 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002378/0.1987, allocations: 35.95 kB / 0.7212 GB, free: 10.91 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.1987, allocations: 0 / 0.7212 GB, free: 10.91 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.591e-05/0.1988, allocations: 8 kB / 0.7212 GB, free: 10.91 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.1988, allocations: 0 / 0.7212 GB, free: 10.91 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.1988, allocations: 0 / 0.7212 GB, free: 10.91 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007445/0.1995, allocations: 291.2 kB / 0.7215 GB, free: 10.61 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.927e-05/0.1996, allocations: 81.06 kB / 0.7215 GB, free: 10.51 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.298e-05/0.1996, allocations: 4 kB / 0.7216 GB, free: 10.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003205/0.1999, allocations: 31.94 kB / 0.7216 GB, free: 10.47 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.043e-05/0.1999, allocations: 4 kB / 0.7216 GB, free: 10.47 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.972e-05/0.2, allocations: 11.98 kB / 0.7216 GB, free: 10.46 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.713e-05/0.2, allocations: 107.3 kB / 0.7217 GB, free: 10.35 MB / 0.545 GB Notification: Performance of sort global known variables: time 7.1e-08/0.2, allocations: 0 / 0.7217 GB, free: 10.35 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002893/0.2003, allocations: 31.94 kB / 0.7217 GB, free: 10.32 MB / 0.545 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.001085/0.2014, allocations: 0.8138 MB / 0.7225 GB, free: 9.48 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0007303/0.2021, allocations: 163.8 kB / 0.7227 GB, free: 9.32 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.2021, allocations: 0 / 0.7227 GB, free: 9.32 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003268/0.2025, allocations: 75.86 kB / 0.7228 GB, free: 9.246 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003409/0.2028, allocations: 10.03 kB / 0.7228 GB, free: 9.238 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003327/0.2061, allocations: 1.848 MB / 0.7246 GB, free: 7.297 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003179/0.2065, allocations: 0.7041 MB / 0.7253 GB, free: 6.566 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 8.572e-05/0.2065, allocations: 15.98 kB / 0.7253 GB, free: 6.551 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.963e-05/0.2066, allocations: 31.42 kB / 0.7253 GB, free: 6.523 MB / 0.545 GB Notification: Performance of SimCode: time 3.01e-07/0.2066, allocations: 0 / 0.7253 GB, free: 6.523 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02597/0.2326, allocations: 2.843 MB / 0.7281 GB, free: 3.781 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.885/8.117, allocations: 15.27 kB / 0.7281 GB, free: 3.77 MB / 0.545 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: 11.947938874000101] Failed to read output from testmodel.py, exit status != 0: 8.186086583998986 8.20687159 8.015768955 Calling exit ...