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.001312/0.001312, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.001958/0.001958, allocations: 215 kB / 22.25 MB, free: 5.113 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.523/1.523, allocations: 230.6 MB / 256 MB, free: 8.027 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.8643/0.8643, allocations: 134 MB / 446.4 MB, free: 10.25 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.001979/0.001979, allocations: 66.92 kB / 0.6186 GB, free: 7.168 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1771/0.179, allocations: 85.9 MB / 0.7025 GB, free: 1.34 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001766/0.1808, allocations: 0.5954 MB / 0.7031 GB, free: 0.7461 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001511/0.1823, allocations: 1.171 MB / 0.7042 GB, free: 15.56 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.776e-05/0.1823, allocations: 0 / 0.7042 GB, free: 15.56 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.271e-05/0.1823, allocations: 0 / 0.7042 GB, free: 15.56 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002227/0.1826, allocations: 15.92 kB / 0.7042 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 3.576e-06/0.1826, allocations: 4 kB / 0.7042 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 4.417e-05/0.1826, allocations: 7.938 kB / 0.7042 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.346e-05/0.1827, allocations: 3.984 kB / 0.7042 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.786e-05/0.1827, allocations: 4 kB / 0.7042 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 2.456e-05/0.1827, allocations: 7.922 kB / 0.7042 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 6.422e-06/0.1827, allocations: 0 / 0.7042 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001056/0.1828, allocations: 19.92 kB / 0.7043 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.949e-06/0.1828, allocations: 0 / 0.7043 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.086e-05/0.1828, allocations: 0 / 0.7043 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 7.657e-05/0.1829, allocations: 28.12 kB / 0.7043 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.1829, allocations: 0 / 0.7043 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.263e-06/0.1829, allocations: 4 kB / 0.7043 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.608e-06/0.1829, allocations: 3.938 kB / 0.7043 GB, free: 15.46 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.0002708/0.1832, allocations: 246.4 kB / 0.7045 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.1832, allocations: 12.03 kB / 0.7045 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.164e-05/0.1833, allocations: 30.75 kB / 0.7046 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.286e-05/0.1833, allocations: 4.891 kB / 0.7046 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.191e-05/0.1834, allocations: 102.5 kB / 0.7047 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.027e-05/0.1834, allocations: 4.375 kB / 0.7047 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.295e-05/0.1834, allocations: 384 / 0.7047 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.82e-05/0.1835, allocations: 49.75 kB / 0.7047 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.789e-06/0.1835, allocations: 0 / 0.7047 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.762e-06/0.1835, allocations: 0 / 0.7047 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.1835, allocations: 0 / 0.7047 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.571e-05/0.1836, allocations: 7.984 kB / 0.7047 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001418/0.1837, allocations: 120.8 kB / 0.7049 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001726/0.1839, allocations: 34.61 kB / 0.7049 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.164e-05/0.1839, allocations: 12.86 kB / 0.7049 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001192/0.184, allocations: 12.02 kB / 0.7049 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.403e-05/0.184, allocations: 34.5 kB / 0.7049 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.184, allocations: 0 / 0.7049 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5): time 0.004491/0.1885, allocations: 0.5638 MB / 0.7055 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.092e-05/0.1886, allocations: 51.41 kB / 0.7055 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.429e-05/0.1886, allocations: 97.86 kB / 0.7056 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.413e-05/0.1887, allocations: 25.7 kB / 0.7057 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.997e-05/0.1887, allocations: 84.14 kB / 0.7057 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.165e-05/0.1887, allocations: 15.8 kB / 0.7058 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.777e-05/0.1888, allocations: 21.7 kB / 0.7058 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001448/0.1889, allocations: 314.8 kB / 0.7061 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006206/0.1896, allocations: 83.95 kB / 0.7062 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006182/0.1902, allocations: 102.5 kB / 0.7063 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001194/0.1914, allocations: 190.4 kB / 0.7064 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.1914, allocations: 0 / 0.7064 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001287/0.1927, allocations: 217.5 kB / 0.7066 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.1927, allocations: 4 kB / 0.7066 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.1927, allocations: 4 kB / 0.7067 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.1927, allocations: 432 / 0.7067 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000427/0.1931, allocations: 51.94 kB / 0.7067 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.1931, allocations: 4 kB / 0.7067 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003672/0.1935, allocations: 43.97 kB / 0.7067 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.295e-05/0.1935, allocations: 7.938 kB / 0.7068 GB, free: 12.74 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.0001056/0.1936, allocations: 113.8 kB / 0.7069 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.99e-05/0.1936, allocations: 3.938 kB / 0.7069 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00138/0.195, allocations: 245.3 kB / 0.7071 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.195, allocations: 4 kB / 0.7071 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.195, allocations: 0 / 0.7071 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.195, allocations: 0 / 0.7071 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001575/0.1966, allocations: 433.4 kB / 0.7075 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.1966, allocations: 0 / 0.7075 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003931/0.197, allocations: 47.97 kB / 0.7076 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.197, allocations: 0 / 0.7076 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.063e-05/0.197, allocations: 7.984 kB / 0.7076 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.197, allocations: 0 / 0.7076 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.197, allocations: 0 / 0.7076 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001294/0.1983, allocations: 303.3 kB / 0.7079 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.425e-05/0.1983, allocations: 7.984 kB / 0.7079 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.385e-05/0.1984, allocations: 4 kB / 0.7079 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003703/0.1987, allocations: 39.98 kB / 0.7079 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.758e-05/0.1988, allocations: 3.984 kB / 0.7079 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.445e-05/0.1988, allocations: 4 kB / 0.7079 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.123e-05/0.1988, allocations: 75.28 kB / 0.708 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.1988, allocations: 0 / 0.708 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002571/0.1991, allocations: 8 kB / 0.708 GB, free: 11.39 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.001704/0.2008, allocations: 0.8375 MB / 0.7088 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001308/0.2021, allocations: 180 kB / 0.709 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.2021, allocations: 0 / 0.709 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0005958/0.2027, allocations: 96.08 kB / 0.7091 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000214/0.2029, allocations: 7.938 kB / 0.7091 GB, free: 10.24 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00137/0.2043, allocations: 246.6 kB / 0.7093 GB, free: 9.961 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003061/0.2046, allocations: 0.6844 MB / 0.71 GB, free: 9.25 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001684/0.2047, allocations: 28 kB / 0.71 GB, free: 9.223 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.81e-05/0.2048, allocations: 19.36 kB / 0.71 GB, free: 9.203 MB / 0.5294 GB Notification: Performance of SimCode: time 4.91e-07/0.2048, allocations: 0 / 0.71 GB, free: 9.203 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02797/0.2328, allocations: 1.735 MB / 0.7117 GB, free: 7.602 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.47/10.7, allocations: 9.406 kB / 0.7117 GB, free: 7.598 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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.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 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.467247184998996] Failed to read output from testmodel.py, exit status != 0: 10.80537156000355 10.824001021 10.637933128 Calling exit ...