Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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.001366/0.001366, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.001691/0.001691, allocations: 212.5 kB / 22.99 MB, free: 4.605 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.549/1.549, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.043/1.043, allocations: 149.9 MB / 463 MB, free: 10.34 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.002308/0.002308, allocations: 62.69 kB / 0.6411 GB, free: 10.12 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1858/0.1881, allocations: 89.19 MB / 0.7282 GB, free: 1.012 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothBlocks): time 0.003405/0.1916, allocations: 1.743 MB / 0.7299 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001422/0.193, allocations: 0.6935 MB / 0.7305 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.316e-05/0.1931, allocations: 3.938 kB / 0.7305 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 5.591e-05/0.1931, allocations: 11.86 kB / 0.7306 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.817e-05/0.1932, allocations: 23.8 kB / 0.7306 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007149/0.1939, allocations: 182 kB / 0.7308 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002501/0.1942, allocations: 131.6 kB / 0.7309 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001554/0.1943, allocations: 29.91 kB / 0.7309 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002176/0.1945, allocations: 71.83 kB / 0.731 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001038/0.1947, allocations: 47.69 kB / 0.731 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.394e-05/0.1947, allocations: 8 kB / 0.731 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001451/0.1948, allocations: 47.97 kB / 0.7311 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.079e-05/0.1949, allocations: 27.91 kB / 0.7311 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 5.699e-05/0.1949, allocations: 47.78 kB / 0.7312 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002911/0.1952, allocations: 163.3 kB / 0.7313 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.1952, allocations: 0 / 0.7313 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.683e-06/0.1952, allocations: 0 / 0.7313 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.283e-06/0.1952, allocations: 0 / 0.7313 GB, free: 13.78 MB / 0.5606 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.0006951/0.1959, allocations: 381.6 kB / 0.7317 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.196, allocations: 8.031 kB / 0.7317 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.622e-05/0.196, allocations: 42.73 kB / 0.7317 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001024/0.1971, allocations: 132.7 kB / 0.7318 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003644/0.1974, allocations: 155.5 kB / 0.732 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001425/0.1976, allocations: 119.1 kB / 0.7321 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.956e-05/0.1976, allocations: 15.94 kB / 0.7321 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005782/0.1982, allocations: 214.9 kB / 0.7323 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.53e-05/0.1982, allocations: 3.984 kB / 0.7323 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.24e-05/0.1982, allocations: 8 kB / 0.7323 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.1982, allocations: 4 kB / 0.7323 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000627/0.1988, allocations: 151.8 kB / 0.7325 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00112/0.2, allocations: 421.1 kB / 0.7329 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001046/0.201, allocations: 222.2 kB / 0.7331 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003149/0.2013, allocations: 76.91 kB / 0.7332 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.831e-05/0.2014, allocations: 4 kB / 0.7332 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.066e-05/0.2014, allocations: 34.5 kB / 0.7332 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=6): time 1.513e-06/0.2014, allocations: 0 / 0.7332 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6): time 0.001088/0.2025, allocations: 261.4 kB / 0.7335 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.696e-05/0.2025, allocations: 55.34 kB / 0.7335 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001395/0.2027, allocations: 148.1 kB / 0.7337 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.341e-05/0.2027, allocations: 25.7 kB / 0.7337 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.353e-05/0.2028, allocations: 116.2 kB / 0.7338 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.592e-05/0.2028, allocations: 23.8 kB / 0.7338 GB, free: 11 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.158e-05/0.2029, allocations: 25.7 kB / 0.7338 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.203, allocations: 318.8 kB / 0.7341 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003071/0.2033, allocations: 71.92 kB / 0.7342 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003155/0.2036, allocations: 94.48 kB / 0.7343 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006021/0.2042, allocations: 162.4 kB / 0.7345 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.2042, allocations: 4 kB / 0.7345 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0007005/0.2049, allocations: 209.4 kB / 0.7347 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.205, allocations: 4 kB / 0.7347 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.205, allocations: 0 / 0.7347 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.133e-05/0.205, allocations: 4 kB / 0.7347 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002661/0.2052, allocations: 36.02 kB / 0.7347 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.229e-05/0.2053, allocations: 4 kB / 0.7347 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001964/0.2055, allocations: 32.16 kB / 0.7347 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.335e-05/0.2055, allocations: 0 / 0.7347 GB, free: 10.02 MB / 0.5606 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.0001241/0.2056, allocations: 129.7 kB / 0.7349 GB, free: 9.883 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.687e-05/0.2056, allocations: 11.95 kB / 0.7349 GB, free: 9.871 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008347/0.2065, allocations: 206.2 kB / 0.7351 GB, free: 9.66 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.2065, allocations: 0 / 0.7351 GB, free: 9.66 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.2065, allocations: 4 kB / 0.7351 GB, free: 9.656 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.2065, allocations: 3.984 kB / 0.7351 GB, free: 9.652 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002641/0.2067, allocations: 189.5 kB / 0.7353 GB, free: 9.426 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.2067, allocations: 0 / 0.7353 GB, free: 9.426 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002332/0.207, allocations: 35.95 kB / 0.7353 GB, free: 9.391 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.207, allocations: 0 / 0.7353 GB, free: 9.391 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.894e-05/0.207, allocations: 7.984 kB / 0.7353 GB, free: 9.383 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.481e-06/0.207, allocations: 4 kB / 0.7353 GB, free: 9.379 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.207, allocations: 0 / 0.7353 GB, free: 9.379 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007263/0.2077, allocations: 295.2 kB / 0.7356 GB, free: 9.074 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.715e-05/0.2078, allocations: 7.953 kB / 0.7356 GB, free: 9.066 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.218e-05/0.2078, allocations: 0 / 0.7356 GB, free: 9.066 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003047/0.2081, allocations: 31.95 kB / 0.7356 GB, free: 9.035 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.051e-05/0.2081, allocations: 3.984 kB / 0.7356 GB, free: 9.031 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.532e-05/0.2081, allocations: 4 kB / 0.7356 GB, free: 9.027 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 8.582e-05/0.2082, allocations: 114.2 kB / 0.7357 GB, free: 8.918 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2082, allocations: 0 / 0.7357 GB, free: 8.918 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002715/0.2085, allocations: 28 kB / 0.7358 GB, free: 8.891 MB / 0.5606 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.001089/0.2096, allocations: 0.8153 MB / 0.7366 GB, free: 8.051 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007028/0.2103, allocations: 164 kB / 0.7367 GB, free: 7.891 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.2103, allocations: 3.938 kB / 0.7367 GB, free: 7.887 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003307/0.2106, allocations: 87.97 kB / 0.7368 GB, free: 7.801 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002939/0.2109, allocations: 8.25 kB / 0.7368 GB, free: 7.793 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003366/0.2143, allocations: 1.841 MB / 0.7386 GB, free: 5.859 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.037e-05/0.2144, allocations: 93.05 kB / 0.7387 GB, free: 5.75 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 9.988e-05/0.2145, allocations: 15.75 kB / 0.7387 GB, free: 5.734 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.74e-05/0.2146, allocations: 35.42 kB / 0.7387 GB, free: 5.699 MB / 0.5606 GB Notification: Performance of SimCode: time 4.71e-07/0.2146, allocations: 0 / 0.7387 GB, free: 5.699 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03127/0.2458, allocations: 3.457 MB / 0.7421 GB, free: 2.387 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/11.47, allocations: 12.08 kB / 0.7421 GB, free: 2.379 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.sim & python3 -m fmpy simulate --output-file IBPSA_latest_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 IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothBlocks.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.54400058882311] Failed to read output from testmodel.py, exit status != 0: 11.578189429361373 11.595481591 11.396960305 Calling exit ...