Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.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.001322/0.001322, allocations: 112 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.001442/0.001442, 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.529/1.529, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.045/1.045, allocations: 150 MB / 459.5 MB, free: 5.348 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.SmoothLimit,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothLimit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_SmoothLimit",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.002056/0.002056, allocations: 78.73 kB / 0.6361 GB, free: 30.66 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1784/0.1804, allocations: 89.13 MB / 0.7232 GB, free: 4.219 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothLimit): time 0.002668/0.1831, allocations: 1.469 MB / 0.7246 GB, free: 2.738 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001048/0.1841, allocations: 0.6329 MB / 0.7252 GB, free: 2.102 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.719e-05/0.1842, allocations: 0 / 0.7252 GB, free: 2.102 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.557e-05/0.1842, allocations: 4 kB / 0.7252 GB, free: 2.098 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.331e-05/0.1843, allocations: 7.875 kB / 0.7252 GB, free: 2.09 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.00028/0.1845, allocations: 59.75 kB / 0.7253 GB, free: 2.031 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 9.162e-05/0.1846, allocations: 23.92 kB / 0.7253 GB, free: 2.008 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.723e-05/0.1847, allocations: 11.98 kB / 0.7253 GB, free: 1.996 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001168/0.1848, allocations: 27.86 kB / 0.7254 GB, free: 1.969 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.265e-05/0.1849, allocations: 15.92 kB / 0.7254 GB, free: 1.953 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.229e-05/0.1849, allocations: 4 kB / 0.7254 GB, free: 1.949 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001239/0.185, allocations: 55.95 kB / 0.7254 GB, free: 1.895 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.162e-05/0.185, allocations: 3.984 kB / 0.7254 GB, free: 1.891 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.631e-05/0.1851, allocations: 15.88 kB / 0.7254 GB, free: 1.875 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001556/0.1852, allocations: 68.02 kB / 0.7255 GB, free: 1.809 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 1.135e-05/0.1852, allocations: 4 kB / 0.7255 GB, free: 1.805 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.723e-06/0.1852, allocations: 0 / 0.7255 GB, free: 1.805 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.492e-06/0.1852, allocations: 0 / 0.7255 GB, free: 1.805 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004742/0.1857, allocations: 355.2 kB / 0.7259 GB, free: 1.406 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.1857, allocations: 8.031 kB / 0.7259 GB, free: 1.398 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.562e-05/0.1858, allocations: 30.75 kB / 0.7259 GB, free: 1.359 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0173/0.2031, allocations: 2.439 MB / 0.7283 GB, free: 14.92 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003815/0.2035, allocations: 212.2 kB / 0.7285 GB, free: 14.67 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.051e-05/0.2035, allocations: 384 / 0.7285 GB, free: 14.67 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.511e-05/0.2035, allocations: 8.312 kB / 0.7285 GB, free: 14.66 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005996/0.2095, allocations: 1.016 MB / 0.7295 GB, free: 13.64 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.2095, allocations: 3.938 kB / 0.7295 GB, free: 13.64 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.472e-05/0.2096, allocations: 0 / 0.7295 GB, free: 13.64 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.2096, allocations: 0 / 0.7295 GB, free: 13.64 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01117/0.2207, allocations: 1.853 MB / 0.7313 GB, free: 11.78 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007138/0.2279, allocations: 1.505 MB / 0.7328 GB, free: 10.22 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01098/0.2388, allocations: 1.879 MB / 0.7346 GB, free: 8.332 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005576/0.2444, allocations: 0.9374 MB / 0.7355 GB, free: 7.391 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.834e-05/0.2445, allocations: 0 / 0.7355 GB, free: 7.391 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.209e-05/0.2445, allocations: 34.56 kB / 0.7355 GB, free: 7.348 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.533e-06/0.2445, allocations: 0 / 0.7355 GB, free: 7.348 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0165/0.261, allocations: 2.741 MB / 0.7382 GB, free: 4.598 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.339e-05/0.2611, allocations: 51.41 kB / 0.7383 GB, free: 4.535 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001126/0.2612, allocations: 117.7 kB / 0.7384 GB, free: 4.41 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.182e-05/0.2612, allocations: 25.7 kB / 0.7384 GB, free: 4.379 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.983e-05/0.2613, allocations: 92.17 kB / 0.7385 GB, free: 4.285 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.002e-05/0.2613, allocations: 7.938 kB / 0.7385 GB, free: 4.277 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001239/0.2615, allocations: 25.69 kB / 0.7385 GB, free: 4.246 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.2616, allocations: 318.8 kB / 0.7388 GB, free: 3.926 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005589/0.2672, allocations: 0.9326 MB / 0.7397 GB, free: 2.992 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005548/0.2727, allocations: 0.9326 MB / 0.7407 GB, free: 2.059 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01058/0.2833, allocations: 1.675 MB / 0.7423 GB, free: 388 kB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.2833, allocations: 4 kB / 0.7423 GB, free: 384 kB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.01088/0.2942, allocations: 1.812 MB / 0.7441 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.944e-05/0.2942, allocations: 7.938 kB / 0.7441 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.2942, allocations: 0 / 0.7441 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.202e-05/0.2943, allocations: 0 / 0.7441 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003139/0.2974, allocations: 471.5 kB / 0.7445 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.338e-06/0.2974, allocations: 0 / 0.7445 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003006/0.3004, allocations: 451.5 kB / 0.745 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.369e-05/0.3005, allocations: 7.984 kB / 0.745 GB, free: 13.64 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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.0001595/0.3006, allocations: 109.8 kB / 0.7451 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.707e-05/0.3007, allocations: 4 kB / 0.7451 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.833e-05/0.3008, allocations: 15.53 kB / 0.7451 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.3008, allocations: 3.938 kB / 0.7451 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.3008, allocations: 0 / 0.7451 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.3008, allocations: 3.984 kB / 0.7451 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004998/0.3013, allocations: 366 kB / 0.7454 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/0.3013, allocations: 8 kB / 0.7454 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003072/0.3044, allocations: 467.4 kB / 0.7459 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.3044, allocations: 0 / 0.7459 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.715e-05/0.3044, allocations: 7.984 kB / 0.7459 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.3044, allocations: 0 / 0.7459 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.3044, allocations: 0 / 0.7459 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01102/0.3154, allocations: 1.908 MB / 0.7478 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.121e-05/0.3155, allocations: 85.09 kB / 0.7478 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.79e-05/0.3155, allocations: 4 kB / 0.7478 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002991/0.3185, allocations: 447.5 kB / 0.7483 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.736e-05/0.3186, allocations: 15.97 kB / 0.7483 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.392e-05/0.3186, allocations: 3.984 kB / 0.7483 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.598e-05/0.3187, allocations: 95.59 kB / 0.7484 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.3187, allocations: 0 / 0.7484 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003269/0.319, allocations: 36 kB / 0.7484 GB, free: 9.996 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 (2): * Single equations (assignments): 2 * 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.01128/0.3303, allocations: 2.445 MB / 0.7508 GB, free: 7.523 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01106/0.3414, allocations: 1.865 MB / 0.7526 GB, free: 5.656 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.3414, allocations: 0 / 0.7526 GB, free: 5.656 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.005531/0.3469, allocations: 0.9444 MB / 0.7535 GB, free: 4.711 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002774/0.3472, allocations: 1.719 kB / 0.7536 GB, free: 4.711 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0347/0.3819, allocations: 6.806 MB / 0.7602 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003521/0.3822, allocations: 0.6806 MB / 0.7609 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002717/0.3825, allocations: 36.03 kB / 0.7609 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000229/0.3827, allocations: 27.39 kB / 0.7609 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of SimCode: time 1.934e-06/0.3827, allocations: 0 / 0.7609 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02553/0.4083, allocations: 3.382 MB / 0.7642 GB, free: 9.711 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.115/8.524, allocations: 7.125 kB / 0.7642 GB, free: 9.707 MB / 0.5762 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit_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_SmoothLimit.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.697842638939619] Failed to read output from testmodel.py, exit status != 0: 8.596253480063751 8.613630765 8.425282131 Calling exit ...