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.001844/0.001844, 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.002262/0.002262, allocations: 213.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.608/1.608, allocations: 230.6 MB / 256.8 MB, free: 7.777 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.012/1.012, allocations: 149.9 MB / 463.1 MB, free: 10.36 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.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.00293/0.00293, allocations: 62.41 kB / 0.6411 GB, free: 10.12 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2166/0.2196, allocations: 89.18 MB / 0.7282 GB, free: 1.012 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothLimit): time 0.003146/0.2227, allocations: 1.465 MB / 0.7296 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001279/0.224, allocations: 0.5805 MB / 0.7302 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.028e-05/0.224, allocations: 0 / 0.7302 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.768e-05/0.2241, allocations: 3.938 kB / 0.7302 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.382e-05/0.2241, allocations: 11.92 kB / 0.7302 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004192/0.2246, allocations: 55.81 kB / 0.7302 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001113/0.2247, allocations: 23.94 kB / 0.7303 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.2248, allocations: 7.984 kB / 0.7303 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001649/0.225, allocations: 27.86 kB / 0.7303 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.393e-05/0.225, allocations: 15.92 kB / 0.7303 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.458e-05/0.225, allocations: 0 / 0.7303 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001779/0.2252, allocations: 51.95 kB / 0.7304 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.108e-05/0.2252, allocations: 4 kB / 0.7304 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.482e-05/0.2253, allocations: 11.92 kB / 0.7304 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002176/0.2255, allocations: 75.95 kB / 0.7304 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.2255, allocations: 4 kB / 0.7304 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.874e-06/0.2255, allocations: 0 / 0.7304 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.142e-06/0.2255, allocations: 0 / 0.7304 GB, free: 14.66 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005089/0.226, allocations: 278.1 kB / 0.7307 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/0.2261, allocations: 8.031 kB / 0.7307 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.565e-05/0.2261, allocations: 34.73 kB / 0.7308 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01568/0.2418, allocations: 2.436 MB / 0.7331 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003947/0.2422, allocations: 150.4 kB / 0.7333 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/0.2422, allocations: 4.375 kB / 0.7333 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.888e-05/0.2422, allocations: 4.375 kB / 0.7333 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005542/0.2478, allocations: 1.016 MB / 0.7343 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.2478, allocations: 0 / 0.7343 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.343e-05/0.2478, allocations: 4 kB / 0.7343 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.2478, allocations: 0 / 0.7343 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01069/0.2585, allocations: 1.861 MB / 0.7361 GB, free: 8.801 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006807/0.2653, allocations: 1.414 MB / 0.7375 GB, free: 7.34 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01071/0.276, allocations: 1.868 MB / 0.7393 GB, free: 5.461 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00528/0.2813, allocations: 0.9452 MB / 0.7402 GB, free: 4.512 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.436e-05/0.2813, allocations: 0 / 0.7402 GB, free: 4.512 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.713e-05/0.2814, allocations: 30.56 kB / 0.7403 GB, free: 4.473 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.253e-06/0.2814, allocations: 0 / 0.7403 GB, free: 4.473 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.01587/0.2973, allocations: 2.753 MB / 0.7429 GB, free: 1.711 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.959e-05/0.2973, allocations: 55.39 kB / 0.743 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000129/0.2974, allocations: 113.8 kB / 0.7431 GB, free: 1.523 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.693e-05/0.2975, allocations: 25.7 kB / 0.7431 GB, free: 1.492 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.399e-05/0.2976, allocations: 88.17 kB / 0.7432 GB, free: 1.402 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.915e-05/0.2976, allocations: 7.953 kB / 0.7432 GB, free: 1.395 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001126/0.2977, allocations: 25.62 kB / 0.7432 GB, free: 1.363 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001541/0.2979, allocations: 326.8 kB / 0.7436 GB, free: 1.035 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005386/0.3033, allocations: 0.9248 MB / 0.7445 GB, free: 112 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005351/0.3086, allocations: 0.9287 MB / 0.7454 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009914/0.3185, allocations: 1.679 MB / 0.747 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.3185, allocations: 0 / 0.747 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.01045/0.329, allocations: 1.812 MB / 0.7488 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.664e-05/0.329, allocations: 7.984 kB / 0.7488 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.924e-06/0.329, allocations: 0 / 0.7488 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.329, allocations: 0 / 0.7488 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003013/0.332, allocations: 467.5 kB / 0.7492 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.178e-05/0.3321, allocations: 3.984 kB / 0.7492 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00288/0.3349, allocations: 459.4 kB / 0.7497 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.544e-05/0.335, allocations: 7.984 kB / 0.7497 GB, free: 10.75 MB / 0.5762 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.0001535/0.3351, allocations: 121.8 kB / 0.7498 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.226e-05/0.3352, allocations: 0 / 0.7498 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.615e-05/0.3353, allocations: 11.62 kB / 0.7498 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.3353, allocations: 0 / 0.7498 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.3353, allocations: 0 / 0.7498 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.644e-06/0.3353, allocations: 0 / 0.7498 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004218/0.3357, allocations: 273.3 kB / 0.7501 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.3357, allocations: 0 / 0.7501 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003009/0.3387, allocations: 463.8 kB / 0.7505 GB, free: 9.848 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.3387, allocations: 0 / 0.7505 GB, free: 9.848 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.634e-05/0.3387, allocations: 11.98 kB / 0.7505 GB, free: 9.836 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.3387, allocations: 0 / 0.7505 GB, free: 9.836 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.3387, allocations: 3.938 kB / 0.7505 GB, free: 9.832 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01046/0.3492, allocations: 1.915 MB / 0.7524 GB, free: 7.898 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.594e-05/0.3492, allocations: 0 / 0.7524 GB, free: 7.898 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.234e-05/0.3493, allocations: 4.031 kB / 0.7524 GB, free: 7.895 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002871/0.3522, allocations: 459.5 kB / 0.7528 GB, free: 7.445 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.727e-05/0.3522, allocations: 3.984 kB / 0.7528 GB, free: 7.441 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.522e-05/0.3522, allocations: 7.984 kB / 0.7528 GB, free: 7.434 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 7.707e-05/0.3523, allocations: 87.27 kB / 0.7529 GB, free: 7.348 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.3523, allocations: 0 / 0.7529 GB, free: 7.348 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003151/0.3526, allocations: 39.94 kB / 0.753 GB, free: 7.309 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 (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.01074/0.3634, allocations: 2.441 MB / 0.7554 GB, free: 4.84 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01068/0.3741, allocations: 1.873 MB / 0.7572 GB, free: 2.965 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.3741, allocations: 0 / 0.7572 GB, free: 2.965 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.005436/0.3795, allocations: 0.9365 MB / 0.7581 GB, free: 2.027 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003006/0.3798, allocations: 14.08 kB / 0.7581 GB, free: 2.016 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3722/0.752, allocations: 6.802 MB / 0.7648 GB, free: 36.32 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.082e-05/0.7521, allocations: 63.27 kB / 0.7648 GB, free: 36.25 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002878/0.7524, allocations: 38.89 kB / 0.7648 GB, free: 36.22 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002032/0.7526, allocations: 21.56 kB / 0.7649 GB, free: 36.21 MB / 0.5762 GB Notification: Performance of SimCode: time 1.643e-06/0.7526, allocations: 0 / 0.7649 GB, free: 36.21 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03035/0.7829, allocations: 4.173 MB / 0.7689 GB, free: 35.29 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.98, allocations: 10.7 kB / 0.769 GB, free: 35.29 MB / 0.5762 GB " [Timeout remaining time 648] (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: 16.133932731114328] Failed to read output from testmodel.py, exit status != 0: 12.087396911811084 12.107955591 11.878565901 Calling exit ...