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.002242/0.002242, allocations: 119.2 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.002385/0.002385, allocations: 218 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.553/1.553, allocations: 230.6 MB / 256.8 MB, free: 8.004 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.9769/0.9769, allocations: 150 MB / 463.2 MB, free: 10.54 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.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.002313/0.002313, allocations: 66.69 kB / 0.6413 GB, free: 10.4 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1855/0.1878, allocations: 89.17 MB / 0.7284 GB, free: 1.285 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001922/0.1898, allocations: 0.5911 MB / 0.729 GB, free: 0.6992 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00163/0.1914, allocations: 1.167 MB / 0.7301 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.76e-05/0.1914, allocations: 0 / 0.7301 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.628e-05/0.1914, allocations: 4 kB / 0.7301 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002598/0.1917, allocations: 27.91 kB / 0.7301 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 3.647e-06/0.1917, allocations: 0 / 0.7301 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 3.793e-05/0.1917, allocations: 0 / 0.7301 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.259e-05/0.1918, allocations: 4 kB / 0.7301 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 1.394e-05/0.1918, allocations: 0 / 0.7301 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 2.635e-05/0.1918, allocations: 7.922 kB / 0.7301 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.995e-06/0.1918, allocations: 0 / 0.7301 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001159/0.1919, allocations: 23.91 kB / 0.7302 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 6.182e-06/0.1919, allocations: 4 kB / 0.7302 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.381e-05/0.192, allocations: 8 kB / 0.7302 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 7.878e-05/0.192, allocations: 16.14 kB / 0.7302 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.192, allocations: 0 / 0.7302 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.403e-06/0.192, allocations: 0 / 0.7302 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5e-06/0.192, allocations: 0 / 0.7302 GB, free: 15.42 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.0002753/0.1923, allocations: 246.4 kB / 0.7304 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.1924, allocations: 8.031 kB / 0.7304 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.989e-05/0.1924, allocations: 30.75 kB / 0.7305 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002375/0.1926, allocations: 16.86 kB / 0.7305 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.798e-05/0.1927, allocations: 106.5 kB / 0.7306 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.652e-05/0.1927, allocations: 12.38 kB / 0.7306 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.83e-05/0.1928, allocations: 384 / 0.7306 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001186/0.1929, allocations: 45.8 kB / 0.7306 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.1929, allocations: 0 / 0.7306 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.686e-06/0.1929, allocations: 0 / 0.7306 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/0.1929, allocations: 4 kB / 0.7306 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.418e-05/0.193, allocations: 7.938 kB / 0.7306 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001705/0.1931, allocations: 132.7 kB / 0.7308 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001815/0.1933, allocations: 34.61 kB / 0.7308 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.515e-05/0.1933, allocations: 8.859 kB / 0.7308 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.363e-05/0.1934, allocations: 0 / 0.7308 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.154e-05/0.1934, allocations: 38.5 kB / 0.7309 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 8.42e-07/0.1934, allocations: 0 / 0.7309 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5): time 0.004046/0.1974, allocations: 0.5369 MB / 0.7314 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.129e-05/0.1975, allocations: 51.41 kB / 0.7314 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.099e-05/0.1975, allocations: 93.8 kB / 0.7315 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.083e-05/0.1976, allocations: 29.7 kB / 0.7315 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.752e-05/0.1976, allocations: 84.14 kB / 0.7316 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.754e-05/0.1976, allocations: 23.78 kB / 0.7316 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.511e-05/0.1977, allocations: 17.72 kB / 0.7317 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.00016/0.1979, allocations: 314.8 kB / 0.732 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005951/0.1985, allocations: 87.95 kB / 0.732 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005875/0.199, allocations: 94.53 kB / 0.7321 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001162/0.2002, allocations: 198.4 kB / 0.7323 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.2002, allocations: 0 / 0.7323 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001271/0.2015, allocations: 217.5 kB / 0.7325 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.28e-05/0.2015, allocations: 8 kB / 0.7325 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.2015, allocations: 0 / 0.7325 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.2015, allocations: 48 / 0.7325 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004222/0.2019, allocations: 59.98 kB / 0.7326 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.202, allocations: 0 / 0.7326 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003996/0.2024, allocations: 39.98 kB / 0.7326 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.902e-05/0.2024, allocations: 11.92 kB / 0.7327 GB, free: 12.7 MB / 0.5606 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.0001025/0.2025, allocations: 107.8 kB / 0.7328 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.01e-05/0.2025, allocations: 7.875 kB / 0.7328 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.511e-05/0.2026, allocations: 15.59 kB / 0.7328 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.2026, allocations: 0 / 0.7328 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.2026, allocations: 0 / 0.7328 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.2026, allocations: 0 / 0.7328 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001543/0.2041, allocations: 429.5 kB / 0.7332 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.2041, allocations: 4.25 kB / 0.7332 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004135/0.2045, allocations: 47.97 kB / 0.7332 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.662e-06/0.2045, allocations: 4 kB / 0.7332 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.536e-05/0.2045, allocations: 3.984 kB / 0.7332 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.187e-06/0.2046, allocations: 4 kB / 0.7332 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.2046, allocations: 0 / 0.7332 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001283/0.2058, allocations: 319.3 kB / 0.7336 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.202e-06/0.2058, allocations: 0 / 0.7336 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.204e-05/0.2059, allocations: 0 / 0.7336 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003775/0.2062, allocations: 39.98 kB / 0.7336 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.792e-05/0.2063, allocations: 3.984 kB / 0.7336 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.272e-05/0.2063, allocations: 4 kB / 0.7336 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.193e-05/0.2063, allocations: 75.28 kB / 0.7337 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of sort global known variables: time 5e-08/0.2063, allocations: 0 / 0.7337 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002432/0.2066, allocations: 12 kB / 0.7337 GB, free: 11.57 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 (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.001631/0.2082, allocations: 0.8334 MB / 0.7345 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001253/0.2094, allocations: 180 kB / 0.7347 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.2094, allocations: 4.062 kB / 0.7347 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0005861/0.21, allocations: 91.89 kB / 0.7348 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002127/0.2102, allocations: 0 / 0.7348 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001349/0.2116, allocations: 254.4 kB / 0.735 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003311/0.2119, allocations: 0.6729 MB / 0.7357 GB, free: 9.445 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001837/0.2121, allocations: 28 kB / 0.7357 GB, free: 9.418 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.584e-05/0.2122, allocations: 19.42 kB / 0.7357 GB, free: 9.398 MB / 0.5606 GB Notification: Performance of SimCode: time 5.21e-07/0.2122, allocations: 0 / 0.7357 GB, free: 9.398 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1067/0.3189, allocations: 1.711 MB / 0.7374 GB, free: 7.836 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.87/11.19, allocations: 9 kB / 0.7374 GB, free: 7.832 MB / 0.5606 GB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 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: 15.103741082828492] Failed to read output from testmodel.py, exit status != 0: 11.297551592811942 11.326107924 11.128194859 Calling exit ...