Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.001681/0.001681, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.001472/0.001472, allocations: 219.9 kB / 23.03 MB, free: 4.945 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.501/1.501, allocations: 230.6 MB / 256.8 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.877/0.877, allocations: 134 MB / 447.2 MB, free: 9.898 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.002126/0.002126, allocations: 61.62 kB / 0.6193 GB, free: 6.84 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1823/0.1844, allocations: 85.9 MB / 0.7032 GB, free: 1.027 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.002471/0.1869, allocations: 0.5876 MB / 0.7038 GB, free: 452 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001826/0.1887, allocations: 1.128 MB / 0.7049 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.067e-05/0.1888, allocations: 4 kB / 0.7049 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.78e-05/0.1888, allocations: 0 / 0.7049 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002739/0.1891, allocations: 11.94 kB / 0.7049 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 4.238e-06/0.1891, allocations: 4 kB / 0.7049 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.345e-05/0.1891, allocations: 11.86 kB / 0.7049 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.945e-05/0.1892, allocations: 0 / 0.7049 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.437e-05/0.1892, allocations: 7.984 kB / 0.7049 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 2.55e-05/0.1892, allocations: 0 / 0.7049 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.227e-06/0.1892, allocations: 0 / 0.7049 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001274/0.1894, allocations: 19.92 kB / 0.7049 GB, free: 15.24 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.013e-05/0.1894, allocations: 4 kB / 0.7049 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.68e-05/0.1894, allocations: 3.938 kB / 0.7049 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001069/0.1895, allocations: 24.19 kB / 0.7049 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.1895, allocations: 3.938 kB / 0.7049 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.914e-06/0.1895, allocations: 0 / 0.7049 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.755e-06/0.1895, allocations: 0 / 0.7049 GB, free: 15.2 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.0003311/0.1898, allocations: 238.4 kB / 0.7052 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.22e-05/0.1899, allocations: 12.03 kB / 0.7052 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.531e-05/0.1899, allocations: 192 / 0.7052 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.317e-05/0.1899, allocations: 38.73 kB / 0.7052 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.03e-05/0.19, allocations: 4.891 kB / 0.7052 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001099/0.1901, allocations: 110.5 kB / 0.7053 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.418e-06/0.1901, allocations: 4.375 kB / 0.7053 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.648e-05/0.1901, allocations: 384 / 0.7053 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000126/0.1902, allocations: 41.56 kB / 0.7054 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.666e-05/0.1903, allocations: 4 kB / 0.7054 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.227e-06/0.1903, allocations: 0 / 0.7054 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.1903, allocations: 0 / 0.7054 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.511e-05/0.1903, allocations: 8 kB / 0.7054 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001959/0.1905, allocations: 120.8 kB / 0.7055 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002133/0.1907, allocations: 34.56 kB / 0.7055 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.468e-05/0.1908, allocations: 16.89 kB / 0.7055 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001416/0.1909, allocations: 11.92 kB / 0.7056 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.243e-05/0.1909, allocations: 34.56 kB / 0.7056 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.213e-06/0.1909, allocations: 3.938 kB / 0.7056 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5): time 0.004636/0.1956, allocations: 0.5638 MB / 0.7061 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.308e-05/0.1956, allocations: 51.41 kB / 0.7062 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.895e-05/0.1957, allocations: 89.86 kB / 0.7063 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.721e-05/0.1957, allocations: 25.7 kB / 0.7063 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.781e-05/0.1957, allocations: 84.14 kB / 0.7064 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.356e-05/0.1958, allocations: 27.78 kB / 0.7064 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.867e-05/0.1958, allocations: 13.72 kB / 0.7064 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001496/0.196, allocations: 318.8 kB / 0.7067 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006824/0.1967, allocations: 75.95 kB / 0.7068 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006764/0.1973, allocations: 110.5 kB / 0.7069 GB, free: 13 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001298/0.1986, allocations: 190.4 kB / 0.7071 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.1986, allocations: 0 / 0.7071 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001826/0.2005, allocations: 213.5 kB / 0.7073 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.309e-05/0.2005, allocations: 10.34 kB / 0.7073 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/0.2005, allocations: 0 / 0.7073 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.767e-05/0.2006, allocations: 3.984 kB / 0.7073 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006446/0.2012, allocations: 52 kB / 0.7074 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.866e-06/0.2012, allocations: 0 / 0.7074 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005118/0.2017, allocations: 39.98 kB / 0.7074 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.142e-05/0.2017, allocations: 0 / 0.7074 GB, free: 12.48 MB / 0.5294 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.0001439/0.2019, allocations: 125.7 kB / 0.7075 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.269e-05/0.2019, allocations: 3.938 kB / 0.7075 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001803/0.2037, allocations: 237.3 kB / 0.7077 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.2037, allocations: 64 / 0.7077 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-06/0.2037, allocations: 4 kB / 0.7077 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.2037, allocations: 0 / 0.7077 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001561/0.2053, allocations: 433.4 kB / 0.7082 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.2053, allocations: 0 / 0.7082 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003805/0.2057, allocations: 51.97 kB / 0.7082 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.2057, allocations: 0 / 0.7082 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.883e-05/0.2057, allocations: 4 kB / 0.7082 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.2057, allocations: 0 / 0.7082 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.2057, allocations: 0 / 0.7082 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001265/0.207, allocations: 307.3 kB / 0.7085 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.036e-05/0.207, allocations: 4 kB / 0.7085 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.439e-05/0.207, allocations: 3.938 kB / 0.7085 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003602/0.2074, allocations: 35.98 kB / 0.7086 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.511e-05/0.2074, allocations: 7.984 kB / 0.7086 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.194e-05/0.2074, allocations: 4 kB / 0.7086 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.848e-05/0.2074, allocations: 79.28 kB / 0.7086 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/0.2074, allocations: 0 / 0.7086 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002596/0.2077, allocations: 15.94 kB / 0.7087 GB, free: 11.11 MB / 0.5294 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.001707/0.2094, allocations: 0.8335 MB / 0.7095 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001272/0.2107, allocations: 179.9 kB / 0.7096 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.2107, allocations: 0 / 0.7096 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0005998/0.2113, allocations: 88.02 kB / 0.7097 GB, free: 9.988 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002345/0.2115, allocations: 11.28 kB / 0.7097 GB, free: 9.98 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001385/0.2129, allocations: 250.9 kB / 0.71 GB, free: 9.695 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.884e-05/0.213, allocations: 59.22 kB / 0.71 GB, free: 9.617 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001815/0.2132, allocations: 35.98 kB / 0.7101 GB, free: 9.582 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.286e-05/0.2132, allocations: 15.44 kB / 0.7101 GB, free: 9.57 MB / 0.5294 GB Notification: Performance of SimCode: time 7.81e-07/0.2132, allocations: 0 / 0.7101 GB, free: 9.57 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02135/0.2346, allocations: 1.803 MB / 0.7118 GB, free: 7.914 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.31, allocations: 7.906 kB / 0.7118 GB, free: 7.91 MB / 0.5294 GB " [Timeout remaining time 649] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.043617873918265] Failed to read output from testmodel.py, exit status != 0: 11.473015939001925 11.494746848 11.302083317 Calling exit ...