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.001276/0.001276, allocations: 119.4 kB / 19.7 MB, free: 2.188 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.001439/0.001439, allocations: 219.7 kB / 23 MB, free: 5.004 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.444/1.444, allocations: 230.6 MB / 256.8 MB, free: 7.977 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.9786/0.9786, allocations: 150 MB / 463.2 MB, free: 10.47 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.002097/0.002097, allocations: 70.06 kB / 0.6413 GB, free: 10.37 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1812/0.1833, allocations: 89.17 MB / 0.7284 GB, free: 1.262 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.SmoothLimit): time 0.002688/0.186, allocations: 1.489 MB / 0.7298 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001122/0.1871, allocations: 0.6311 MB / 0.7304 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.774e-05/0.1872, allocations: 3.938 kB / 0.7304 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.814e-05/0.1872, allocations: 3.938 kB / 0.7304 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.567e-05/0.1872, allocations: 7.922 kB / 0.7304 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002647/0.1875, allocations: 55.81 kB / 0.7305 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.671e-05/0.1876, allocations: 31.86 kB / 0.7305 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 8.462e-05/0.1877, allocations: 7.984 kB / 0.7305 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001121/0.1878, allocations: 19.94 kB / 0.7305 GB, free: 15 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.801e-05/0.1879, allocations: 19.92 kB / 0.7306 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.24e-05/0.1879, allocations: 4 kB / 0.7306 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001272/0.188, allocations: 55.94 kB / 0.7306 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.202e-05/0.188, allocations: 4 kB / 0.7306 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.798e-05/0.188, allocations: 15.88 kB / 0.7306 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001525/0.1882, allocations: 72 kB / 0.7307 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.1882, allocations: 3.938 kB / 0.7307 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.543e-06/0.1882, allocations: 0 / 0.7307 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.1882, allocations: 0 / 0.7307 GB, free: 14.82 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.0004215/0.1886, allocations: 278.1 kB / 0.731 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.1887, allocations: 8.031 kB / 0.731 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.15e-05/0.1887, allocations: 38.73 kB / 0.731 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01645/0.2052, allocations: 2.432 MB / 0.7334 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003517/0.2055, allocations: 146.4 kB / 0.7335 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.645e-06/0.2055, allocations: 4.375 kB / 0.7335 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.926e-05/0.2056, allocations: 384 / 0.7335 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00557/0.2111, allocations: 1.02 MB / 0.7345 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.2111, allocations: 0 / 0.7345 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.803e-05/0.2112, allocations: 4 kB / 0.7345 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.2112, allocations: 0 / 0.7345 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01047/0.2217, allocations: 1.861 MB / 0.7364 GB, free: 8.969 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006724/0.2284, allocations: 1.473 MB / 0.7378 GB, free: 7.449 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01017/0.2386, allocations: 1.876 MB / 0.7396 GB, free: 5.562 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004977/0.2435, allocations: 0.9452 MB / 0.7406 GB, free: 4.613 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.543e-05/0.2436, allocations: 0 / 0.7406 GB, free: 4.613 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.786e-05/0.2436, allocations: 34.5 kB / 0.7406 GB, free: 4.57 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.303e-06/0.2436, allocations: 0 / 0.7406 GB, free: 4.57 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.01529/0.2589, allocations: 2.745 MB / 0.7433 GB, free: 1.816 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.833e-05/0.2589, allocations: 51.41 kB / 0.7433 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001339/0.2591, allocations: 117.9 kB / 0.7434 GB, free: 1.629 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.386e-05/0.2591, allocations: 25.7 kB / 0.7435 GB, free: 1.598 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.021e-05/0.2592, allocations: 88.12 kB / 0.7435 GB, free: 1.508 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.904e-05/0.2592, allocations: 3.953 kB / 0.7435 GB, free: 1.504 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001082/0.2593, allocations: 25.69 kB / 0.7436 GB, free: 1.473 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001521/0.2595, allocations: 318.8 kB / 0.7439 GB, free: 1.152 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004888/0.2644, allocations: 0.9365 MB / 0.7448 GB, free: 220 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00487/0.2693, allocations: 0.9248 MB / 0.7457 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008973/0.2782, allocations: 1.687 MB / 0.7473 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/0.2782, allocations: 0 / 0.7473 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.009562/0.2878, allocations: 1.808 MB / 0.7491 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.327e-05/0.2878, allocations: 12.03 kB / 0.7491 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.452e-05/0.2879, allocations: 0 / 0.7491 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.836e-05/0.2879, allocations: 0 / 0.7491 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002838/0.2907, allocations: 463.4 kB / 0.7496 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.083e-05/0.2907, allocations: 4 kB / 0.7496 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002654/0.2934, allocations: 455.4 kB / 0.75 GB, free: 10.87 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.566e-05/0.2934, allocations: 3.984 kB / 0.75 GB, free: 10.86 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.0001522/0.2936, allocations: 115.8 kB / 0.7501 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.132e-05/0.2936, allocations: 0 / 0.7501 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.465e-05/0.2937, allocations: 15.62 kB / 0.7501 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.2937, allocations: 0 / 0.7501 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.563e-06/0.2937, allocations: 11.92 kB / 0.7501 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.2937, allocations: 0 / 0.7501 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004543/0.2942, allocations: 337.1 kB / 0.7505 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.2942, allocations: 0 / 0.7505 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002823/0.297, allocations: 467.8 kB / 0.7509 GB, free: 9.887 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.293e-06/0.297, allocations: 4 kB / 0.7509 GB, free: 9.883 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.272e-05/0.297, allocations: 7.984 kB / 0.7509 GB, free: 9.875 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.297, allocations: 0 / 0.7509 GB, free: 9.875 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.297, allocations: 7.875 kB / 0.7509 GB, free: 9.867 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01017/0.3072, allocations: 1.908 MB / 0.7528 GB, free: 7.941 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.229e-05/0.3072, allocations: 7.969 kB / 0.7528 GB, free: 7.934 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.023e-05/0.3073, allocations: 4 kB / 0.7528 GB, free: 7.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002913/0.3102, allocations: 455.5 kB / 0.7532 GB, free: 7.484 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.701e-05/0.3102, allocations: 3.984 kB / 0.7532 GB, free: 7.48 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.482e-05/0.3103, allocations: 7.984 kB / 0.7532 GB, free: 7.473 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 8.663e-05/0.3104, allocations: 91.22 kB / 0.7533 GB, free: 7.383 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.3104, allocations: 0 / 0.7533 GB, free: 7.383 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003334/0.3107, allocations: 32 kB / 0.7534 GB, free: 7.352 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.01036/0.3211, allocations: 2.445 MB / 0.7557 GB, free: 4.879 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01002/0.3311, allocations: 1.869 MB / 0.7576 GB, free: 3.008 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.3311, allocations: 0 / 0.7576 GB, free: 3.008 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.004968/0.3361, allocations: 0.9482 MB / 0.7585 GB, free: 2.059 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002845/0.3363, allocations: 2.953 kB / 0.7585 GB, free: 2.059 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3827/0.719, allocations: 6.804 MB / 0.7651 GB, free: 36.54 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000125/0.7191, allocations: 0.6799 MB / 0.7658 GB, free: 35.84 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002597/0.7194, allocations: 34.3 kB / 0.7658 GB, free: 35.82 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002065/0.7196, allocations: 23.86 kB / 0.7659 GB, free: 35.81 MB / 0.5762 GB Notification: Performance of SimCode: time 1.182e-06/0.7196, allocations: 0 / 0.7659 GB, free: 35.81 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04102/0.7606, allocations: 3.513 MB / 0.7693 GB, free: 35.4 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11/11.76, allocations: 7.453 kB / 0.7693 GB, free: 35.4 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: 15.600784222002403] Failed to read output from testmodel.py, exit status != 0: 11.869051649999165 11.894528555 11.70134547 Calling exit ...