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.001448/0.001448, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001726/0.001726, allocations: 213 kB / 22.25 MB, free: 4.859 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.456/1.456, allocations: 230.6 MB / 256 MB, free: 7.805 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.9383/0.9383, allocations: 145 MB / 457.4 MB, free: 15.28 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.002206/0.002206, allocations: 68.2 kB / 0.6331 GB, free: 6.691 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1761/0.1783, allocations: 87.88 MB / 0.7189 GB, free: 14.82 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.SmoothBlocks): time 0.003577/0.1819, allocations: 1.761 MB / 0.7206 GB, free: 13.05 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001474/0.1834, allocations: 0.6911 MB / 0.7213 GB, free: 12.35 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001018/0.1835, allocations: 7.938 kB / 0.7213 GB, free: 12.34 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 4.295e-05/0.1835, allocations: 11.88 kB / 0.7213 GB, free: 12.33 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.671e-05/0.1836, allocations: 15.8 kB / 0.7214 GB, free: 12.31 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006652/0.1842, allocations: 189.3 kB / 0.7215 GB, free: 12.13 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001979/0.1844, allocations: 123.6 kB / 0.7217 GB, free: 12.01 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001476/0.1846, allocations: 37.59 kB / 0.7217 GB, free: 11.97 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001785/0.1848, allocations: 63.84 kB / 0.7217 GB, free: 11.91 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 9.485e-05/0.1849, allocations: 43.7 kB / 0.7218 GB, free: 11.86 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.56e-05/0.1849, allocations: 12 kB / 0.7218 GB, free: 11.85 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001349/0.185, allocations: 55.95 kB / 0.7219 GB, free: 11.8 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.853e-05/0.1851, allocations: 31.91 kB / 0.7219 GB, free: 11.77 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.258e-05/0.1851, allocations: 43.78 kB / 0.7219 GB, free: 11.72 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000252/0.1854, allocations: 159.3 kB / 0.7221 GB, free: 11.57 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.1854, allocations: 8 kB / 0.7221 GB, free: 11.56 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.613e-06/0.1854, allocations: 0 / 0.7221 GB, free: 11.56 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.406e-06/0.1854, allocations: 0 / 0.7221 GB, free: 11.56 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.0006713/0.1861, allocations: 365.7 kB / 0.7224 GB, free: 11.17 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.838e-05/0.1861, allocations: 12.03 kB / 0.7224 GB, free: 11.16 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.548e-05/0.1862, allocations: 42.67 kB / 0.7225 GB, free: 11.11 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009987/0.1872, allocations: 132.7 kB / 0.7226 GB, free: 10.98 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000359/0.1875, allocations: 158.8 kB / 0.7228 GB, free: 10.8 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001407/0.1877, allocations: 115.1 kB / 0.7229 GB, free: 10.66 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.771e-05/0.1877, allocations: 12 kB / 0.7229 GB, free: 10.65 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006209/0.1883, allocations: 224.9 kB / 0.7231 GB, free: 10.41 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.1883, allocations: 0 / 0.7231 GB, free: 10.41 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.221e-05/0.1884, allocations: 4 kB / 0.7231 GB, free: 10.41 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.1884, allocations: 0 / 0.7231 GB, free: 10.41 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006446/0.189, allocations: 159.8 kB / 0.7233 GB, free: 10.25 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00112/0.1901, allocations: 428.8 kB / 0.7237 GB, free: 9.789 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001015/0.1912, allocations: 214.3 kB / 0.7239 GB, free: 9.57 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003081/0.1915, allocations: 80.91 kB / 0.7239 GB, free: 9.488 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.273e-05/0.1915, allocations: 3.984 kB / 0.7239 GB, free: 9.484 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.394e-05/0.1915, allocations: 38.5 kB / 0.724 GB, free: 9.438 MB / 0.545 GB Notification: Performance of pre-optimization done (n=6): time 1.503e-06/0.1915, allocations: 4 kB / 0.724 GB, free: 9.434 MB / 0.545 GB Notification: Performance of matching and sorting (n=6): time 0.001101/0.1926, allocations: 253.4 kB / 0.7242 GB, free: 9.18 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.945e-05/0.1927, allocations: 63.34 kB / 0.7243 GB, free: 9.105 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001799/0.1929, allocations: 145 kB / 0.7244 GB, free: 8.949 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.202e-05/0.1929, allocations: 25.7 kB / 0.7245 GB, free: 8.918 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.704e-05/0.193, allocations: 116.2 kB / 0.7246 GB, free: 8.801 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.09e-05/0.193, allocations: 19.83 kB / 0.7246 GB, free: 8.781 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.034e-05/0.1931, allocations: 21.72 kB / 0.7246 GB, free: 8.754 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000176/0.1933, allocations: 322.8 kB / 0.7249 GB, free: 8.43 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003048/0.1936, allocations: 71.92 kB / 0.725 GB, free: 8.359 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003269/0.1939, allocations: 98.48 kB / 0.7251 GB, free: 8.254 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006043/0.1945, allocations: 162.4 kB / 0.7252 GB, free: 8.086 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.1945, allocations: 0 / 0.7252 GB, free: 8.086 MB / 0.545 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0007405/0.1953, allocations: 209.3 kB / 0.7254 GB, free: 7.875 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/0.1953, allocations: 4 kB / 0.7254 GB, free: 7.871 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.1953, allocations: 7.938 kB / 0.7254 GB, free: 7.863 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.059e-05/0.1953, allocations: 4.062 kB / 0.7254 GB, free: 7.859 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002756/0.1956, allocations: 39.94 kB / 0.7255 GB, free: 7.82 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.1956, allocations: 0 / 0.7255 GB, free: 7.82 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002116/0.1958, allocations: 19.97 kB / 0.7255 GB, free: 7.801 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.94e-05/0.1958, allocations: 8 kB / 0.7255 GB, free: 7.793 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.0001348/0.196, allocations: 117.8 kB / 0.7256 GB, free: 7.668 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.34e-05/0.196, allocations: 7.953 kB / 0.7256 GB, free: 7.66 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007667/0.1968, allocations: 210.1 kB / 0.7258 GB, free: 7.449 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.1968, allocations: 4 kB / 0.7258 GB, free: 7.445 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.1968, allocations: 0 / 0.7258 GB, free: 7.445 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.1968, allocations: 4 kB / 0.7258 GB, free: 7.441 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003045/0.1971, allocations: 193.7 kB / 0.726 GB, free: 7.211 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1971, allocations: 0 / 0.726 GB, free: 7.211 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002216/0.1973, allocations: 39.95 kB / 0.7261 GB, free: 7.172 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.1973, allocations: 0 / 0.7261 GB, free: 7.172 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.648e-05/0.1973, allocations: 7.984 kB / 0.7261 GB, free: 7.164 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1973, allocations: 3.938 kB / 0.7261 GB, free: 7.16 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.1974, allocations: 0 / 0.7261 GB, free: 7.16 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007698/0.1981, allocations: 291.2 kB / 0.7264 GB, free: 6.859 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.766e-05/0.1981, allocations: 7.953 kB / 0.7264 GB, free: 6.852 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.292e-05/0.1982, allocations: 0 / 0.7264 GB, free: 6.852 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002865/0.1984, allocations: 31.95 kB / 0.7264 GB, free: 6.82 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.809e-05/0.1985, allocations: 7.984 kB / 0.7264 GB, free: 6.812 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.837e-05/0.1985, allocations: 11.98 kB / 0.7264 GB, free: 6.801 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.204e-05/0.1986, allocations: 104.8 kB / 0.7265 GB, free: 6.699 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.1986, allocations: 0 / 0.7265 GB, free: 6.699 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00026/0.1988, allocations: 27.95 kB / 0.7265 GB, free: 6.672 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.001157/0.2, allocations: 0.8215 MB / 0.7273 GB, free: 5.824 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006924/0.2007, allocations: 155.8 kB / 0.7275 GB, free: 5.672 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.2007, allocations: 0 / 0.7275 GB, free: 5.672 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003116/0.201, allocations: 87.97 kB / 0.7276 GB, free: 5.586 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003389/0.2013, allocations: 9.875 kB / 0.7276 GB, free: 5.578 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003223/0.2046, allocations: 1.836 MB / 0.7294 GB, free: 3.652 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001089/0.2047, allocations: 101 kB / 0.7295 GB, free: 3.531 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001009/0.2048, allocations: 19.97 kB / 0.7295 GB, free: 3.512 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.992e-05/0.2049, allocations: 35.42 kB / 0.7295 GB, free: 3.477 MB / 0.545 GB Notification: Performance of SimCode: time 5.81e-07/0.2049, allocations: 0 / 0.7295 GB, free: 3.477 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03252/0.2374, allocations: 3.466 MB / 0.7329 GB, free: 160 kB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.38, allocations: 4.75 kB / 0.7329 GB, free: 156 kB / 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: 15.162022900301963] Failed to read output from testmodel.py, exit status != 0: 11.480846821330488 11.496584666 11.308084132 Calling exit ...