Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.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.001821/0.001821, 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.00221/0.00221, 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.594/1.594, 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 0.9999/0.9999, allocations: 150 MB / 459.5 MB, free: 5.344 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.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives",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.002031/0.002031, allocations: 74.73 kB / 0.6362 GB, free: 30.62 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1649/0.167, allocations: 89.13 MB / 0.7232 GB, free: 4.145 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.002345/0.1693, allocations: 0.5922 MB / 0.7238 GB, free: 3.555 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001857/0.1712, allocations: 1.165 MB / 0.7249 GB, free: 2.375 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.617e-05/0.1712, allocations: 4 kB / 0.7249 GB, free: 2.371 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.279e-05/0.1712, allocations: 0 / 0.7249 GB, free: 2.371 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002415/0.1715, allocations: 15.92 kB / 0.7249 GB, free: 2.355 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 3.476e-06/0.1715, allocations: 4 kB / 0.7249 GB, free: 2.352 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 4.592e-05/0.1715, allocations: 4 kB / 0.725 GB, free: 2.348 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.821e-05/0.1715, allocations: 0 / 0.725 GB, free: 2.348 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.744e-05/0.1716, allocations: 4 kB / 0.725 GB, free: 2.344 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.911e-05/0.1716, allocations: 7.922 kB / 0.725 GB, free: 2.336 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 7.915e-06/0.1716, allocations: 0 / 0.725 GB, free: 2.336 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000111/0.1717, allocations: 23.92 kB / 0.725 GB, free: 2.312 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 6.402e-06/0.1717, allocations: 0 / 0.725 GB, free: 2.312 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.359e-05/0.1717, allocations: 0 / 0.725 GB, free: 2.312 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 9.706e-05/0.1718, allocations: 24.12 kB / 0.725 GB, free: 2.289 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.1718, allocations: 4 kB / 0.725 GB, free: 2.285 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.963e-06/0.1718, allocations: 4 kB / 0.725 GB, free: 2.281 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.748e-06/0.1718, allocations: 0 / 0.725 GB, free: 2.281 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.0003596/0.1722, allocations: 319.5 kB / 0.7253 GB, free: 1.922 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.1723, allocations: 12.03 kB / 0.7253 GB, free: 1.91 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.767e-05/0.1723, allocations: 30.75 kB / 0.7254 GB, free: 1.871 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002629/0.1726, allocations: 16.91 kB / 0.7254 GB, free: 1.855 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001245/0.1727, allocations: 164.3 kB / 0.7255 GB, free: 1.656 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.332e-05/0.1727, allocations: 4.375 kB / 0.7255 GB, free: 1.652 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.54e-05/0.1727, allocations: 4.375 kB / 0.7255 GB, free: 1.648 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001174/0.1728, allocations: 37.81 kB / 0.7256 GB, free: 1.605 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.1728, allocations: 7.953 kB / 0.7256 GB, free: 1.598 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-06/0.1729, allocations: 0 / 0.7256 GB, free: 1.598 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.1729, allocations: 0 / 0.7256 GB, free: 1.598 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.581e-05/0.1729, allocations: 11.98 kB / 0.7256 GB, free: 1.586 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001774/0.1731, allocations: 153.7 kB / 0.7257 GB, free: 1.383 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000183/0.1733, allocations: 34.56 kB / 0.7258 GB, free: 1.34 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.984e-05/0.1733, allocations: 16.94 kB / 0.7258 GB, free: 1.32 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.61e-05/0.1733, allocations: 0 / 0.7258 GB, free: 1.32 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.115e-05/0.1733, allocations: 42.5 kB / 0.7258 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 7.72e-07/0.1733, allocations: 0 / 0.7258 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5): time 0.004146/0.1775, allocations: 0.5364 MB / 0.7264 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.918e-05/0.1775, allocations: 51.41 kB / 0.7264 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.687e-05/0.1776, allocations: 89.86 kB / 0.7265 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.46e-05/0.1776, allocations: 25.7 kB / 0.7265 GB, free: 0.5352 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.287e-05/0.1777, allocations: 80.14 kB / 0.7266 GB, free: 464 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.284e-05/0.1777, allocations: 19.8 kB / 0.7266 GB, free: 444 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.185e-05/0.1778, allocations: 25.7 kB / 0.7266 GB, free: 412 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.1779, allocations: 318.8 kB / 0.7269 GB, free: 84 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006323/0.1785, allocations: 79.95 kB / 0.727 GB, free: 4 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006724/0.1792, allocations: 110.5 kB / 0.7271 GB, free: 15.89 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001284/0.1805, allocations: 186.5 kB / 0.7273 GB, free: 15.7 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.1805, allocations: 0 / 0.7273 GB, free: 15.7 MB / 0.545 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001363/0.1819, allocations: 213.5 kB / 0.7275 GB, free: 15.48 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.1819, allocations: 16 kB / 0.7275 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.1819, allocations: 7.922 kB / 0.7275 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.1819, allocations: 0 / 0.7275 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004397/0.1823, allocations: 52.16 kB / 0.7276 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.1823, allocations: 4 kB / 0.7276 GB, free: 15.4 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000376/0.1827, allocations: 39.98 kB / 0.7276 GB, free: 15.36 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.608e-05/0.1827, allocations: 4 kB / 0.7276 GB, free: 15.36 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 (5): * Single equations (assignments): 5 * 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.0001045/0.1828, allocations: 113.8 kB / 0.7277 GB, free: 15.24 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.546e-05/0.1829, allocations: 7.922 kB / 0.7277 GB, free: 15.23 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.315e-05/0.1829, allocations: 11.56 kB / 0.7277 GB, free: 15.22 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.1829, allocations: 0 / 0.7277 GB, free: 15.22 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.1829, allocations: 0 / 0.7277 GB, free: 15.22 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.1829, allocations: 0 / 0.7277 GB, free: 15.22 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001658/0.1846, allocations: 458.4 kB / 0.7282 GB, free: 14.72 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.1846, allocations: 4 kB / 0.7282 GB, free: 14.71 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004162/0.185, allocations: 47.97 kB / 0.7282 GB, free: 14.67 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.185, allocations: 0 / 0.7282 GB, free: 14.67 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.446e-05/0.185, allocations: 0 / 0.7282 GB, free: 14.67 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.97e-06/0.185, allocations: 4 kB / 0.7282 GB, free: 14.66 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.185, allocations: 3.984 kB / 0.7282 GB, free: 14.66 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001382/0.1864, allocations: 315.3 kB / 0.7285 GB, free: 14.34 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.758e-05/0.1865, allocations: 81.09 kB / 0.7286 GB, free: 14.24 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.215e-05/0.1865, allocations: 0 / 0.7286 GB, free: 14.24 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003942/0.1869, allocations: 39.98 kB / 0.7287 GB, free: 14.2 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.395e-05/0.1869, allocations: 0 / 0.7287 GB, free: 14.2 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.657e-05/0.1869, allocations: 7.984 kB / 0.7287 GB, free: 14.19 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.308e-05/0.1869, allocations: 75.28 kB / 0.7287 GB, free: 14.12 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.1869, allocations: 0 / 0.7287 GB, free: 14.12 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002481/0.1872, allocations: 12 kB / 0.7288 GB, free: 14.11 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 (5): * Single equations (assignments): 5 * 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.001749/0.1889, allocations: 0.8335 MB / 0.7296 GB, free: 13.24 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001347/0.1903, allocations: 188 kB / 0.7297 GB, free: 13.06 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.1903, allocations: 0 / 0.7297 GB, free: 13.06 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0006351/0.1909, allocations: 92.02 kB / 0.7298 GB, free: 12.97 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000212/0.1911, allocations: 1.891 kB / 0.7298 GB, free: 12.97 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001449/0.1926, allocations: 246.5 kB / 0.7301 GB, free: 12.69 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003395/0.1929, allocations: 0.6806 MB / 0.7307 GB, free: 11.98 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001831/0.1931, allocations: 35.94 kB / 0.7308 GB, free: 11.95 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.91e-05/0.1932, allocations: 11.42 kB / 0.7308 GB, free: 11.93 MB / 0.545 GB Notification: Performance of SimCode: time 5.41e-07/0.1932, allocations: 0 / 0.7308 GB, free: 11.93 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02811/0.2213, allocations: 1.613 MB / 0.7324 GB, free: 10.47 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.088/8.309, allocations: 22.02 kB / 0.7324 GB, free: 10.45 MB / 0.545 GB " [Timeout remaining time 652] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.458561826031655] Failed to read output from testmodel.py, exit status != 0: 8.375879590865225 8.392240076 8.21732085 Calling exit ...