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.001434/0.001434, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.001478/0.001478, allocations: 216.5 kB / 22.25 MB, free: 5.113 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.5/1.5, allocations: 230.6 MB / 256 MB, free: 8.016 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.9158/0.9158, allocations: 145 MB / 457.4 MB, free: 15.54 MB / 366.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.002009/0.002009, allocations: 70.62 kB / 0.6332 GB, free: 7.316 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1682/0.1702, allocations: 87.88 MB / 0.719 GB, free: 15.46 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks): time 0.003102/0.1733, allocations: 1.815 MB / 0.7208 GB, free: 13.62 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001299/0.1746, allocations: 0.7456 MB / 0.7215 GB, free: 12.87 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.168e-05/0.1747, allocations: 7.938 kB / 0.7215 GB, free: 12.86 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.995e-05/0.1748, allocations: 11.86 kB / 0.7215 GB, free: 12.85 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.531e-05/0.1748, allocations: 15.8 kB / 0.7215 GB, free: 12.83 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006137/0.1754, allocations: 186.4 kB / 0.7217 GB, free: 12.65 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001965/0.1756, allocations: 119.6 kB / 0.7218 GB, free: 12.54 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000146/0.1758, allocations: 37.61 kB / 0.7219 GB, free: 12.49 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001658/0.1759, allocations: 75.81 kB / 0.7219 GB, free: 12.42 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 9.948e-05/0.176, allocations: 47.72 kB / 0.722 GB, free: 12.37 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.697e-05/0.1761, allocations: 12 kB / 0.722 GB, free: 12.36 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001247/0.1762, allocations: 55.91 kB / 0.722 GB, free: 12.3 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.611e-05/0.1762, allocations: 35.89 kB / 0.7221 GB, free: 12.27 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.221e-05/0.1763, allocations: 55.7 kB / 0.7221 GB, free: 12.21 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002415/0.1765, allocations: 155.3 kB / 0.7223 GB, free: 12.06 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 1.228e-05/0.1766, allocations: 4 kB / 0.7223 GB, free: 12.06 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.342e-06/0.1766, allocations: 0 / 0.7223 GB, free: 12.06 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.1766, allocations: 0 / 0.7223 GB, free: 12.06 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.0006134/0.1772, allocations: 371.9 kB / 0.7226 GB, free: 11.67 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.1772, allocations: 8.031 kB / 0.7226 GB, free: 11.66 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.071e-05/0.1773, allocations: 42.73 kB / 0.7227 GB, free: 11.61 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009899/0.1783, allocations: 136.6 kB / 0.7228 GB, free: 11.48 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002691/0.1785, allocations: 156.5 kB / 0.723 GB, free: 11.3 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001339/0.1787, allocations: 123.1 kB / 0.7231 GB, free: 11.16 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.02e-05/0.1787, allocations: 4 kB / 0.7231 GB, free: 11.15 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005383/0.1792, allocations: 169.5 kB / 0.7232 GB, free: 10.98 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.1792, allocations: 4 kB / 0.7232 GB, free: 10.98 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.972e-05/0.1792, allocations: 0 / 0.7232 GB, free: 10.98 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.1793, allocations: 0 / 0.7232 GB, free: 10.98 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006028/0.1799, allocations: 159.8 kB / 0.7234 GB, free: 10.82 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001096/0.1809, allocations: 452.8 kB / 0.7238 GB, free: 10.34 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001045/0.182, allocations: 222.2 kB / 0.724 GB, free: 10.11 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002937/0.1823, allocations: 80.89 kB / 0.7241 GB, free: 10.03 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.802e-05/0.1823, allocations: 11.98 kB / 0.7241 GB, free: 10.02 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.033e-05/0.1823, allocations: 34.5 kB / 0.7242 GB, free: 9.973 MB / 0.545 GB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.1823, allocations: 0 / 0.7242 GB, free: 9.973 MB / 0.545 GB Notification: Performance of matching and sorting (n=6): time 0.0009933/0.1833, allocations: 269.4 kB / 0.7244 GB, free: 9.703 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.994e-05/0.1834, allocations: 55.34 kB / 0.7245 GB, free: 9.637 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001269/0.1835, allocations: 137.4 kB / 0.7246 GB, free: 9.488 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.764e-05/0.1835, allocations: 29.7 kB / 0.7246 GB, free: 9.453 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.307e-05/0.1836, allocations: 112.2 kB / 0.7247 GB, free: 9.34 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.746e-05/0.1836, allocations: 23.83 kB / 0.7248 GB, free: 9.316 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.644e-05/0.1837, allocations: 21.7 kB / 0.7248 GB, free: 9.289 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.1838, allocations: 326.8 kB / 0.7251 GB, free: 8.961 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000288/0.1841, allocations: 71.92 kB / 0.7252 GB, free: 8.891 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003158/0.1844, allocations: 90.5 kB / 0.7253 GB, free: 8.793 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005549/0.185, allocations: 170.4 kB / 0.7254 GB, free: 8.617 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.185, allocations: 0 / 0.7254 GB, free: 8.617 MB / 0.545 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006597/0.1857, allocations: 205.3 kB / 0.7256 GB, free: 8.41 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.1857, allocations: 7.984 kB / 0.7256 GB, free: 8.402 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.1857, allocations: 4 kB / 0.7256 GB, free: 8.398 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.1857, allocations: 3.938 kB / 0.7256 GB, free: 8.395 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002566/0.186, allocations: 40.02 kB / 0.7257 GB, free: 8.355 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.186, allocations: 3.938 kB / 0.7257 GB, free: 8.352 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001882/0.1862, allocations: 19.97 kB / 0.7257 GB, free: 8.332 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.727e-05/0.1862, allocations: 8 kB / 0.7257 GB, free: 8.324 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.0001148/0.1863, allocations: 121.8 kB / 0.7258 GB, free: 8.195 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.159e-05/0.1863, allocations: 7.953 kB / 0.7258 GB, free: 8.188 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007158/0.187, allocations: 206.2 kB / 0.726 GB, free: 7.98 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/0.187, allocations: 4 kB / 0.726 GB, free: 7.977 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.1871, allocations: 0 / 0.726 GB, free: 7.977 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.1871, allocations: 0 / 0.726 GB, free: 7.977 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002645/0.1873, allocations: 217.4 kB / 0.7262 GB, free: 7.723 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1873, allocations: 0 / 0.7262 GB, free: 7.723 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002163/0.1875, allocations: 32.33 kB / 0.7263 GB, free: 7.691 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.1875, allocations: 0 / 0.7263 GB, free: 7.691 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.432e-05/0.1876, allocations: 4 kB / 0.7263 GB, free: 7.688 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.1876, allocations: 4 kB / 0.7263 GB, free: 7.684 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.1876, allocations: 0 / 0.7263 GB, free: 7.684 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006613/0.1882, allocations: 291.2 kB / 0.7265 GB, free: 7.383 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.558e-05/0.1882, allocations: 7.891 kB / 0.7266 GB, free: 7.375 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.967e-05/0.1883, allocations: 8 kB / 0.7266 GB, free: 7.367 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002786/0.1885, allocations: 35.94 kB / 0.7266 GB, free: 7.332 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.628e-05/0.1886, allocations: 0 / 0.7266 GB, free: 7.332 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.636e-05/0.1886, allocations: 7.984 kB / 0.7266 GB, free: 7.324 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.082e-05/0.1887, allocations: 111.2 kB / 0.7267 GB, free: 7.215 MB / 0.545 GB Notification: Performance of sort global known variables: time 8.1e-08/0.1887, allocations: 4 kB / 0.7267 GB, free: 7.211 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002582/0.1889, allocations: 19.95 kB / 0.7267 GB, free: 7.191 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.001017/0.19, allocations: 0.8177 MB / 0.7275 GB, free: 6.348 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006274/0.1906, allocations: 159.8 kB / 0.7277 GB, free: 6.191 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1906, allocations: 0 / 0.7277 GB, free: 6.191 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002889/0.1909, allocations: 79.86 kB / 0.7278 GB, free: 6.113 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002867/0.1912, allocations: 13.86 kB / 0.7278 GB, free: 6.102 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003118/0.1943, allocations: 1.852 MB / 0.7296 GB, free: 4.156 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003294/0.1946, allocations: 0.7041 MB / 0.7303 GB, free: 3.426 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 8.352e-05/0.1947, allocations: 19.94 kB / 0.7303 GB, free: 3.406 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.626e-05/0.1948, allocations: 35.41 kB / 0.7303 GB, free: 3.375 MB / 0.545 GB Notification: Performance of SimCode: time 4.21e-07/0.1948, allocations: 0 / 0.7303 GB, free: 3.375 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0307/0.2255, allocations: 2.957 MB / 0.7332 GB, free: 0.5508 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.77/11, allocations: 7.312 kB / 0.7332 GB, free: 0.5469 MB / 0.545 GB " [Timeout remaining time 649] (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: 14.84812896099902] Failed to read output from testmodel.py, exit status != 0: 11.103892300001462 11.131852365 10.950492031 Calling exit ...