Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001631/0.001631, allocations: 108.7 kB / 16.46 MB, free: 6.453 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.00154/0.00154, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.463/1.463, allocations: 230.6 MB / 252.8 MB, free: 8.961 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002514/0.002514, allocations: 294.7 kB / 309.1 MB, free: 3.969 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.288/1.288, allocations: 180.9 MB / 0.5333 GB, free: 13.85 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.SmoothBlocks,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothBlocks",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002803/0.002803, allocations: 101.8 kB / 0.7343 GB, free: 28.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1867/0.1895, allocations: 95.35 MB / 0.8274 GB, free: 9.957 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.SmoothBlocks): time 0.00326/0.1928, allocations: 1.798 MB / 0.8291 GB, free: 8.148 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001419/0.1942, allocations: 0.7487 MB / 0.8299 GB, free: 7.391 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.964e-05/0.1943, allocations: 0 / 0.8299 GB, free: 7.391 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 4.223e-05/0.1943, allocations: 7.875 kB / 0.8299 GB, free: 7.383 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.638e-05/0.1944, allocations: 19.8 kB / 0.8299 GB, free: 7.363 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005967/0.195, allocations: 182.6 kB / 0.8301 GB, free: 7.188 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002185/0.1952, allocations: 127.6 kB / 0.8302 GB, free: 7.062 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000148/0.1954, allocations: 41.69 kB / 0.8302 GB, free: 7.02 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001639/0.1955, allocations: 71.77 kB / 0.8303 GB, free: 6.949 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 9.946e-05/0.1956, allocations: 59.69 kB / 0.8303 GB, free: 6.891 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.545e-05/0.1956, allocations: 8 kB / 0.8303 GB, free: 6.883 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001171/0.1958, allocations: 51.97 kB / 0.8304 GB, free: 6.832 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 3.659e-05/0.1958, allocations: 31.89 kB / 0.8304 GB, free: 6.801 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 6.006e-05/0.1959, allocations: 55.72 kB / 0.8305 GB, free: 6.746 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002348/0.1961, allocations: 155.4 kB / 0.8306 GB, free: 6.594 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.1961, allocations: 0 / 0.8306 GB, free: 6.594 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.112e-06/0.1961, allocations: 0 / 0.8306 GB, free: 6.594 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.06e-06/0.1961, allocations: 0 / 0.8306 GB, free: 6.594 MB / 0.5762 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.0006565/0.1968, allocations: 442.8 kB / 0.8311 GB, free: 6.113 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.1968, allocations: 15.97 kB / 0.8311 GB, free: 6.098 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.108e-05/0.1968, allocations: 38.73 kB / 0.8311 GB, free: 6.051 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001046/0.1979, allocations: 132.7 kB / 0.8312 GB, free: 5.922 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003168/0.1982, allocations: 220.6 kB / 0.8314 GB, free: 5.668 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001016/0.1983, allocations: 63.72 kB / 0.8315 GB, free: 5.594 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.203e-05/0.1983, allocations: 8 kB / 0.8315 GB, free: 5.586 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005519/0.1989, allocations: 167.2 kB / 0.8317 GB, free: 5.418 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.1989, allocations: 4 kB / 0.8317 GB, free: 5.414 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.99e-05/0.1989, allocations: 0 / 0.8317 GB, free: 5.414 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.1989, allocations: 4 kB / 0.8317 GB, free: 5.41 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000653/0.1996, allocations: 159.8 kB / 0.8318 GB, free: 5.254 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00119/0.2008, allocations: 493.8 kB / 0.8323 GB, free: 4.719 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001085/0.2019, allocations: 214.3 kB / 0.8325 GB, free: 4.5 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003108/0.2022, allocations: 80.84 kB / 0.8326 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.797e-05/0.2022, allocations: 4 kB / 0.8326 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.871e-05/0.2022, allocations: 38.5 kB / 0.8326 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=6): time 1.633e-06/0.2022, allocations: 0 / 0.8326 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of matching and sorting (n=6): time 0.001109/0.2033, allocations: 261.3 kB / 0.8329 GB, free: 4.105 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.658e-05/0.2034, allocations: 55.41 kB / 0.8329 GB, free: 4.039 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001501/0.2036, allocations: 144.6 kB / 0.8331 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.928e-05/0.2036, allocations: 25.7 kB / 0.8331 GB, free: 3.855 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.308e-05/0.2037, allocations: 116.2 kB / 0.8332 GB, free: 3.738 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.026e-05/0.2037, allocations: 19.8 kB / 0.8332 GB, free: 3.719 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.43e-05/0.2038, allocations: 25.7 kB / 0.8332 GB, free: 3.688 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001583/0.2039, allocations: 326.8 kB / 0.8336 GB, free: 3.359 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003222/0.2043, allocations: 71.92 kB / 0.8336 GB, free: 3.289 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003339/0.2046, allocations: 90.5 kB / 0.8337 GB, free: 3.191 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006213/0.2052, allocations: 166.4 kB / 0.8339 GB, free: 3.02 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.2052, allocations: 0 / 0.8339 GB, free: 3.02 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0007448/0.206, allocations: 213.4 kB / 0.8341 GB, free: 2.805 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.206, allocations: 7.938 kB / 0.8341 GB, free: 2.797 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.206, allocations: 0 / 0.8341 GB, free: 2.797 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.206, allocations: 4.312 kB / 0.8341 GB, free: 2.793 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002749/0.2063, allocations: 36.02 kB / 0.8341 GB, free: 2.758 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.2063, allocations: 4 kB / 0.8341 GB, free: 2.754 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001976/0.2065, allocations: 23.97 kB / 0.8341 GB, free: 2.73 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.705e-05/0.2065, allocations: 7.984 kB / 0.8342 GB, free: 2.723 MB / 0.5762 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.0001141/0.2066, allocations: 125.7 kB / 0.8343 GB, free: 2.59 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.438e-05/0.2067, allocations: 7.953 kB / 0.8343 GB, free: 2.582 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007629/0.2074, allocations: 206.2 kB / 0.8345 GB, free: 2.375 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.2074, allocations: 0 / 0.8345 GB, free: 2.375 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.2074, allocations: 0 / 0.8345 GB, free: 2.375 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.666e-06/0.2074, allocations: 0 / 0.8345 GB, free: 2.375 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003001/0.2077, allocations: 250.3 kB / 0.8347 GB, free: 2.082 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.2077, allocations: 0 / 0.8347 GB, free: 2.082 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000238/0.208, allocations: 35.94 kB / 0.8347 GB, free: 2.047 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.208, allocations: 0 / 0.8347 GB, free: 2.047 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.264e-05/0.208, allocations: 3.938 kB / 0.8348 GB, free: 2.043 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.208, allocations: 0 / 0.8348 GB, free: 2.043 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.208, allocations: 3.984 kB / 0.8348 GB, free: 2.039 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007535/0.2087, allocations: 283.3 kB / 0.835 GB, free: 1.746 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.589e-05/0.2088, allocations: 89.05 kB / 0.8351 GB, free: 1.641 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.161e-05/0.2088, allocations: 0 / 0.8351 GB, free: 1.641 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003224/0.2091, allocations: 35.95 kB / 0.8351 GB, free: 1.605 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.699e-05/0.2092, allocations: 4 kB / 0.8351 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.068e-05/0.2092, allocations: 11.92 kB / 0.8352 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 8.183e-05/0.2093, allocations: 110.4 kB / 0.8353 GB, free: 1.484 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.2093, allocations: 0 / 0.8353 GB, free: 1.484 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002846/0.2096, allocations: 27.95 kB / 0.8353 GB, free: 1.457 MB / 0.5762 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.001105/0.2107, allocations: 0.8177 MB / 0.8361 GB, free: 0.6133 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007008/0.2114, allocations: 168 kB / 0.8363 GB, free: 460 kB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2114, allocations: 0 / 0.8363 GB, free: 460 kB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003334/0.2117, allocations: 79.92 kB / 0.8363 GB, free: 380 kB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002843/0.212, allocations: 13.19 kB / 0.8363 GB, free: 368 kB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003347/0.2153, allocations: 1.859 MB / 0.8382 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003704/0.2157, allocations: 0.7041 MB / 0.8388 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 9.461e-05/0.2158, allocations: 19.75 kB / 0.8389 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.467e-05/0.2159, allocations: 31.42 kB / 0.8389 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of SimCode: time 3.21e-07/0.2159, allocations: 0 / 0.8389 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02477/0.2407, allocations: 2.848 MB / 0.8417 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.062/8.302, allocations: 3.938 kB / 0.8417 GB, free: 10.89 MB / 0.5919 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Utilities_Math_Examples_SmoothBlocks.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.535587736871094] Failed to read output from testmodel.py, exit status != 0: 8.36960451444611 8.385772475 8.186791257 Calling exit ...