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.001362/0.001362, allocations: 112.9 kB / 17.12 MB, free: 6.008 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.001462/0.001462, allocations: 212.3 kB / 20.1 MB, free: 3.055 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.557/1.557, allocations: 230.6 MB / 253.5 MB, free: 15.1 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 0.9969/0.9969, allocations: 150 MB / 459.5 MB, free: 5.258 MB / 350.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.002025/0.002025, allocations: 78.86 kB / 0.6361 GB, free: 30.68 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1885/0.1905, allocations: 89.14 MB / 0.7232 GB, free: 4.129 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothBlocks): time 0.003291/0.1938, allocations: 1.792 MB / 0.7249 GB, free: 2.328 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001368/0.1952, allocations: 0.7363 MB / 0.7256 GB, free: 1.586 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.93e-05/0.1953, allocations: 4 kB / 0.7256 GB, free: 1.582 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 4.37e-05/0.1953, allocations: 15.8 kB / 0.7257 GB, free: 1.566 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.165e-05/0.1954, allocations: 11.81 kB / 0.7257 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006032/0.196, allocations: 191.7 kB / 0.7259 GB, free: 1.367 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002041/0.1962, allocations: 119.7 kB / 0.726 GB, free: 1.25 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001557/0.1964, allocations: 37.7 kB / 0.726 GB, free: 1.211 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001723/0.1965, allocations: 71.7 kB / 0.7261 GB, free: 1.141 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001027/0.1966, allocations: 47.77 kB / 0.7261 GB, free: 1.094 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.815e-05/0.1967, allocations: 19.94 kB / 0.7261 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001209/0.1968, allocations: 47.95 kB / 0.7262 GB, free: 1.027 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.044e-05/0.1968, allocations: 31.91 kB / 0.7262 GB, free: 0.9961 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.282e-05/0.1969, allocations: 55.66 kB / 0.7263 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002504/0.1971, allocations: 163.3 kB / 0.7264 GB, free: 0.7812 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.1971, allocations: 3.938 kB / 0.7264 GB, free: 0.7773 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.573e-06/0.1971, allocations: 0 / 0.7264 GB, free: 0.7773 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.328e-06/0.1971, allocations: 0 / 0.7264 GB, free: 0.7773 MB / 0.5294 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.0006804/0.1978, allocations: 452.7 kB / 0.7269 GB, free: 296 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.1979, allocations: 8.031 kB / 0.7269 GB, free: 288 kB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.292e-05/0.1979, allocations: 42.75 kB / 0.7269 GB, free: 236 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001043/0.199, allocations: 124.7 kB / 0.727 GB, free: 112 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003142/0.1993, allocations: 216.7 kB / 0.7272 GB, free: 15.86 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001057/0.1994, allocations: 71.7 kB / 0.7273 GB, free: 15.78 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.24e-05/0.1994, allocations: 4 kB / 0.7273 GB, free: 15.77 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005606/0.2, allocations: 174.6 kB / 0.7275 GB, free: 15.6 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.2, allocations: 4 kB / 0.7275 GB, free: 15.59 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.17e-05/0.2, allocations: 8 kB / 0.7275 GB, free: 15.59 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.2, allocations: 0 / 0.7275 GB, free: 15.59 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006716/0.2007, allocations: 151.8 kB / 0.7276 GB, free: 15.44 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001199/0.2019, allocations: 478 kB / 0.7281 GB, free: 14.92 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001113/0.203, allocations: 218.3 kB / 0.7283 GB, free: 14.7 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000325/0.2033, allocations: 76.91 kB / 0.7284 GB, free: 14.62 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.698e-05/0.2033, allocations: 7.984 kB / 0.7284 GB, free: 14.61 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.206e-05/0.2034, allocations: 42.44 kB / 0.7284 GB, free: 14.56 MB / 0.545 GB Notification: Performance of pre-optimization done (n=6): time 1.203e-06/0.2034, allocations: 0 / 0.7284 GB, free: 14.56 MB / 0.545 GB Notification: Performance of matching and sorting (n=6): time 0.001109/0.2045, allocations: 261.4 kB / 0.7287 GB, free: 14.3 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.506e-05/0.2045, allocations: 55.39 kB / 0.7287 GB, free: 14.23 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001464/0.2047, allocations: 149.1 kB / 0.7289 GB, free: 14.07 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.78e-05/0.2047, allocations: 29.64 kB / 0.7289 GB, free: 14.04 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.298e-05/0.2048, allocations: 104.3 kB / 0.729 GB, free: 13.93 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.306e-05/0.2048, allocations: 27.78 kB / 0.729 GB, free: 13.91 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.341e-05/0.2049, allocations: 21.72 kB / 0.729 GB, free: 13.88 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001441/0.205, allocations: 318.8 kB / 0.7293 GB, free: 13.56 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003434/0.2054, allocations: 79.91 kB / 0.7294 GB, free: 13.48 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003452/0.2057, allocations: 94.44 kB / 0.7295 GB, free: 13.38 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006343/0.2063, allocations: 166.4 kB / 0.7297 GB, free: 13.21 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.2063, allocations: 0 / 0.7297 GB, free: 13.21 MB / 0.545 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0007785/0.2071, allocations: 205.4 kB / 0.7299 GB, free: 13 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.2071, allocations: 8 kB / 0.7299 GB, free: 12.99 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.2071, allocations: 0 / 0.7299 GB, free: 12.99 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.2072, allocations: 0 / 0.7299 GB, free: 12.99 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002881/0.2074, allocations: 47.81 kB / 0.7299 GB, free: 12.95 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.2075, allocations: 4.062 kB / 0.7299 GB, free: 12.94 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002039/0.2077, allocations: 27.92 kB / 0.7299 GB, free: 12.91 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.582e-05/0.2077, allocations: 4 kB / 0.7299 GB, free: 12.91 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.0001355/0.2078, allocations: 117.8 kB / 0.7301 GB, free: 12.79 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.084e-05/0.2079, allocations: 7.953 kB / 0.7301 GB, free: 12.78 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008122/0.2087, allocations: 214.1 kB / 0.7303 GB, free: 12.56 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.2087, allocations: 4 kB / 0.7303 GB, free: 12.55 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.2087, allocations: 384 / 0.7303 GB, free: 12.55 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.2087, allocations: 0 / 0.7303 GB, free: 12.55 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000312/0.209, allocations: 246.1 kB / 0.7305 GB, free: 12.27 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.259e-06/0.209, allocations: 11.98 kB / 0.7305 GB, free: 12.25 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002431/0.2093, allocations: 31.95 kB / 0.7306 GB, free: 12.22 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.2093, allocations: 0 / 0.7306 GB, free: 12.22 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.245e-05/0.2093, allocations: 0 / 0.7306 GB, free: 12.22 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.2093, allocations: 4 kB / 0.7306 GB, free: 12.22 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.2093, allocations: 0 / 0.7306 GB, free: 12.22 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007756/0.2101, allocations: 291.2 kB / 0.7308 GB, free: 11.92 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.928e-05/0.2101, allocations: 81.06 kB / 0.7309 GB, free: 11.82 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.827e-05/0.2101, allocations: 8 kB / 0.7309 GB, free: 11.81 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003681/0.2105, allocations: 27.95 kB / 0.7309 GB, free: 11.79 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.374e-05/0.2105, allocations: 15.86 kB / 0.731 GB, free: 11.77 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.408e-05/0.2106, allocations: 11.97 kB / 0.731 GB, free: 11.76 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.19e-05/0.2107, allocations: 107.3 kB / 0.7311 GB, free: 11.65 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.2107, allocations: 0 / 0.7311 GB, free: 11.65 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002783/0.2109, allocations: 20 kB / 0.7311 GB, free: 11.63 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.001154/0.2121, allocations: 0.8216 MB / 0.7319 GB, free: 10.79 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0007149/0.2128, allocations: 159.8 kB / 0.732 GB, free: 10.63 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.2128, allocations: 0 / 0.732 GB, free: 10.63 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003486/0.2132, allocations: 83.91 kB / 0.7321 GB, free: 10.55 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000293/0.2134, allocations: 13.5 kB / 0.7321 GB, free: 10.54 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003435/0.2169, allocations: 1.841 MB / 0.7339 GB, free: 8.609 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003888/0.2173, allocations: 0.7117 MB / 0.7346 GB, free: 7.871 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 9.333e-05/0.2174, allocations: 19.98 kB / 0.7347 GB, free: 7.852 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.974e-05/0.2175, allocations: 35.36 kB / 0.7347 GB, free: 7.816 MB / 0.545 GB Notification: Performance of SimCode: time 4.01e-07/0.2175, allocations: 0 / 0.7347 GB, free: 7.816 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02554/0.243, allocations: 2.81 MB / 0.7374 GB, free: 5.098 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.193/8.436, allocations: 4.125 kB / 0.7374 GB, free: 5.098 MB / 0.545 GB " [Timeout remaining time 651] (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: 12.428825716022402] Failed to read output from testmodel.py, exit status != 0: 8.50651770294644 8.523053185 8.322884039 Calling exit ...