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.001791/0.001791, allocations: 99.64 kB / 18.94 MB, free: 2.539 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.002298/0.002298, allocations: 215.1 kB / 22.25 MB, free: 4.875 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.503/1.503, allocations: 230.6 MB / 256 MB, free: 7.797 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.8684/0.8684, allocations: 134 MB / 446.4 MB, free: 9.941 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives",fmuType="me",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.002402/0.002402, allocations: 71.67 kB / 0.6185 GB, free: 6.812 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1777/0.1801, allocations: 85.9 MB / 0.7024 GB, free: 0.9961 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001735/0.1818, allocations: 0.5886 MB / 0.703 GB, free: 420 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001533/0.1833, allocations: 1.144 MB / 0.7041 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.687e-05/0.1833, allocations: 0 / 0.7041 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.346e-05/0.1834, allocations: 4 kB / 0.7041 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.000268/0.1836, allocations: 11.92 kB / 0.7041 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 3.877e-06/0.1836, allocations: 4 kB / 0.7041 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 4.266e-05/0.1837, allocations: 4 kB / 0.7041 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.771e-05/0.1837, allocations: 0 / 0.7041 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.484e-05/0.1837, allocations: 7.984 kB / 0.7041 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 2.943e-05/0.1838, allocations: 3.938 kB / 0.7041 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.957e-06/0.1838, allocations: 0 / 0.7041 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000109/0.1839, allocations: 15.92 kB / 0.7042 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.087e-05/0.1839, allocations: 0 / 0.7042 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.401e-05/0.1839, allocations: 8 kB / 0.7042 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 8.581e-05/0.184, allocations: 20.19 kB / 0.7042 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.184, allocations: 0 / 0.7042 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.963e-06/0.184, allocations: 0 / 0.7042 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.184, allocations: 0 / 0.7042 GB, free: 15.17 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.0003122/0.1843, allocations: 242.4 kB / 0.7044 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.1844, allocations: 12.03 kB / 0.7044 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.118e-05/0.1844, allocations: 42.61 kB / 0.7045 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.038e-05/0.1844, allocations: 4.891 kB / 0.7045 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.581e-05/0.1845, allocations: 102.5 kB / 0.7046 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.1845, allocations: 4.375 kB / 0.7046 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.077e-05/0.1846, allocations: 4.375 kB / 0.7046 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001037/0.1847, allocations: 41.81 kB / 0.7046 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.1847, allocations: 0 / 0.7046 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.308e-06/0.1847, allocations: 0 / 0.7046 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.1847, allocations: 0 / 0.7046 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.872e-05/0.1847, allocations: 4 kB / 0.7046 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001604/0.1849, allocations: 124.8 kB / 0.7047 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001913/0.1851, allocations: 34.52 kB / 0.7048 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.236e-05/0.1851, allocations: 8.953 kB / 0.7048 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001237/0.1852, allocations: 7.984 kB / 0.7048 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.214e-05/0.1853, allocations: 38.5 kB / 0.7048 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.1853, allocations: 0 / 0.7048 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5): time 0.004152/0.1894, allocations: 0.5679 MB / 0.7054 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.741e-05/0.1895, allocations: 51.41 kB / 0.7054 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.512e-05/0.1895, allocations: 89.86 kB / 0.7055 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.757e-05/0.1896, allocations: 29.7 kB / 0.7055 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.997e-05/0.1896, allocations: 80.14 kB / 0.7056 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.068e-05/0.1896, allocations: 27.72 kB / 0.7056 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.726e-05/0.1897, allocations: 17.72 kB / 0.7057 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001604/0.1899, allocations: 314.8 kB / 0.706 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005838/0.1905, allocations: 87.89 kB / 0.706 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000585/0.191, allocations: 102.5 kB / 0.7061 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001148/0.1922, allocations: 190.5 kB / 0.7063 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1922, allocations: 4 kB / 0.7063 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001218/0.1934, allocations: 209.7 kB / 0.7065 GB, free: 12.56 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.601e-05/0.1934, allocations: 4 kB / 0.7065 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/0.1934, allocations: 4.188 kB / 0.7065 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.301e-05/0.1935, allocations: 7.969 kB / 0.7065 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004015/0.1939, allocations: 55.94 kB / 0.7066 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/0.1939, allocations: 4 kB / 0.7066 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000327/0.1942, allocations: 39.98 kB / 0.7066 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.537e-05/0.1942, allocations: 4 kB / 0.7066 GB, free: 12.44 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.0001031/0.1943, allocations: 113.8 kB / 0.7068 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.145e-05/0.1943, allocations: 3.938 kB / 0.7068 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001315/0.1957, allocations: 245.1 kB / 0.707 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.1957, allocations: 4 kB / 0.707 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.1957, allocations: 0 / 0.707 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.1957, allocations: 0 / 0.707 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001489/0.1972, allocations: 421.5 kB / 0.7074 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.1972, allocations: 4 kB / 0.7074 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003592/0.1975, allocations: 43.97 kB / 0.7074 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.1975, allocations: 7.938 kB / 0.7074 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.79e-05/0.1975, allocations: 4 kB / 0.7075 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.1975, allocations: 0 / 0.7075 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.1975, allocations: 0 / 0.7075 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001289/0.1988, allocations: 303.4 kB / 0.7077 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.983e-06/0.1988, allocations: 0 / 0.7077 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.533e-05/0.1989, allocations: 4 kB / 0.7077 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003593/0.1992, allocations: 40.17 kB / 0.7078 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.508e-05/0.1992, allocations: 3.984 kB / 0.7078 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.548e-05/0.1993, allocations: 8 kB / 0.7078 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.757e-05/0.1993, allocations: 75.28 kB / 0.7079 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.1993, allocations: 4 kB / 0.7079 GB, free: 11.1 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002495/0.1995, allocations: 8 kB / 0.7079 GB, free: 11.09 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.001639/0.2012, allocations: 0.852 MB / 0.7087 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001185/0.2024, allocations: 175.8 kB / 0.7089 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.2024, allocations: 192 / 0.7089 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0005559/0.2029, allocations: 95.89 kB / 0.709 GB, free: 9.949 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002184/0.2031, allocations: 0 / 0.709 GB, free: 9.949 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001309/0.2045, allocations: 254.5 kB / 0.7092 GB, free: 9.66 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.714e-05/0.2045, allocations: 59.22 kB / 0.7093 GB, free: 9.582 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001768/0.2047, allocations: 31.98 kB / 0.7093 GB, free: 9.551 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.911e-05/0.2048, allocations: 11.44 kB / 0.7093 GB, free: 9.543 MB / 0.5294 GB Notification: Performance of SimCode: time 6.21e-07/0.2048, allocations: 0 / 0.7093 GB, free: 9.543 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0293/0.2341, allocations: 2.139 MB / 0.7114 GB, free: 7.539 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11/11.24, allocations: 4.875 kB / 0.7114 GB, free: 7.535 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: 14.979020418133587] Failed to read output from testmodel.py, exit status != 0: 11.342071779072285 11.361428134 11.174034758 Calling exit ...