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.001461/0.001461, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001647/0.001647, allocations: 211.6 kB / 22.24 MB, free: 5.242 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.486/1.486, allocations: 230.6 MB / 256 MB, free: 7.809 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.852/0.852, allocations: 134 MB / 446.4 MB, free: 9.922 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.002033/0.002033, allocations: 72.41 kB / 0.6185 GB, free: 6.832 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1719/0.1739, allocations: 85.91 MB / 0.7024 GB, free: 1.016 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001802/0.1757, allocations: 0.5872 MB / 0.703 GB, free: 444 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001567/0.1773, allocations: 1.132 MB / 0.7041 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.032e-05/0.1773, allocations: 0 / 0.7041 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.419e-05/0.1773, allocations: 0 / 0.7041 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002628/0.1776, allocations: 19.92 kB / 0.7041 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 4.298e-06/0.1776, allocations: 4 kB / 0.7041 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 3.786e-05/0.1776, allocations: 4 kB / 0.7041 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.154e-05/0.1777, allocations: 3.938 kB / 0.7041 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.945e-05/0.1777, allocations: 0 / 0.7041 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.028e-05/0.1777, allocations: 11.92 kB / 0.7041 GB, free: 15.24 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.627e-06/0.1777, allocations: 0 / 0.7041 GB, free: 15.24 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001011/0.1778, allocations: 19.92 kB / 0.7042 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.328e-06/0.1778, allocations: 0 / 0.7042 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.127e-05/0.1778, allocations: 0 / 0.7042 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 8.654e-05/0.1779, allocations: 16.19 kB / 0.7042 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.1779, allocations: 0 / 0.7042 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.914e-06/0.1779, allocations: 8 kB / 0.7042 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.1779, allocations: 0 / 0.7042 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.0003214/0.1783, allocations: 246.4 kB / 0.7044 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.1783, allocations: 8.031 kB / 0.7044 GB, free: 14.92 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.255e-05/0.1783, allocations: 38.69 kB / 0.7045 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.282e-05/0.1784, allocations: 4.891 kB / 0.7045 GB, free: 14.87 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.621e-05/0.1785, allocations: 106.5 kB / 0.7046 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.1785, allocations: 384 / 0.7046 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.168e-05/0.1785, allocations: 4.375 kB / 0.7046 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001104/0.1786, allocations: 41.81 kB / 0.7046 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.1786, allocations: 0 / 0.7046 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.256e-06/0.1786, allocations: 4 kB / 0.7046 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.1786, allocations: 0 / 0.7046 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.802e-05/0.1787, allocations: 4 kB / 0.7046 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001604/0.1788, allocations: 124.8 kB / 0.7047 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001952/0.179, allocations: 34.52 kB / 0.7048 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.379e-05/0.179, allocations: 12.94 kB / 0.7048 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001162/0.1792, allocations: 4 kB / 0.7048 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.81e-05/0.1792, allocations: 38.5 kB / 0.7048 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.1792, allocations: 0 / 0.7048 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5): time 0.004138/0.1833, allocations: 0.5676 MB / 0.7054 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.174e-05/0.1834, allocations: 55.41 kB / 0.7054 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.631e-05/0.1834, allocations: 93.86 kB / 0.7055 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.125e-05/0.1834, allocations: 25.7 kB / 0.7055 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.021e-05/0.1835, allocations: 80.14 kB / 0.7056 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.993e-05/0.1835, allocations: 19.78 kB / 0.7056 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.472e-05/0.1836, allocations: 21.72 kB / 0.7057 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.1837, allocations: 314.8 kB / 0.706 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005954/0.1843, allocations: 91.89 kB / 0.706 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005932/0.1849, allocations: 102.5 kB / 0.7061 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001177/0.1861, allocations: 182.5 kB / 0.7063 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.57e-06/0.1861, allocations: 4 kB / 0.7063 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001237/0.1873, allocations: 225.7 kB / 0.7065 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.1873, allocations: 4 kB / 0.7065 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/0.1873, allocations: 4 kB / 0.7065 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/0.1874, allocations: 4 kB / 0.7066 GB, free: 12.56 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003909/0.1878, allocations: 51.94 kB / 0.7066 GB, free: 12.51 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.1878, allocations: 0 / 0.7066 GB, free: 12.51 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003444/0.1881, allocations: 39.98 kB / 0.7066 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.669e-05/0.1881, allocations: 4 kB / 0.7066 GB, free: 12.47 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 9.505e-05/0.1882, allocations: 113.8 kB / 0.7068 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.053e-05/0.1882, allocations: 7.938 kB / 0.7068 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001345/0.1896, allocations: 241 kB / 0.707 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.1896, allocations: 0 / 0.707 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.1896, allocations: 0 / 0.707 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.1896, allocations: 0 / 0.707 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001533/0.1911, allocations: 425.5 kB / 0.7074 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.1911, allocations: 0 / 0.7074 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003791/0.1915, allocations: 51.91 kB / 0.7074 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.1915, allocations: 0 / 0.7074 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.393e-05/0.1915, allocations: 0 / 0.7074 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.1915, allocations: 4 kB / 0.7074 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.1915, allocations: 4 kB / 0.7075 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001301/0.1928, allocations: 307.4 kB / 0.7077 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.67e-06/0.1928, allocations: 0 / 0.7077 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.203e-05/0.1929, allocations: 192 / 0.7077 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003734/0.1932, allocations: 47.97 kB / 0.7078 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.138e-05/0.1932, allocations: 0 / 0.7078 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.203e-05/0.1933, allocations: 4 kB / 0.7078 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.919e-05/0.1933, allocations: 75.28 kB / 0.7079 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/0.1933, allocations: 0 / 0.7079 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000247/0.1935, allocations: 12 kB / 0.7079 GB, free: 11.12 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.001647/0.1952, allocations: 0.8411 MB / 0.7087 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001216/0.1964, allocations: 179.9 kB / 0.7089 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.1964, allocations: 0 / 0.7089 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0005819/0.197, allocations: 96.06 kB / 0.709 GB, free: 9.98 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002044/0.1972, allocations: 0 / 0.709 GB, free: 9.98 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001294/0.1985, allocations: 250.5 kB / 0.7092 GB, free: 9.695 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.073e-05/0.1986, allocations: 67.2 kB / 0.7093 GB, free: 9.609 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.000168/0.1987, allocations: 24 kB / 0.7093 GB, free: 9.586 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.831e-05/0.1988, allocations: 11.44 kB / 0.7093 GB, free: 9.578 MB / 0.5294 GB Notification: Performance of SimCode: time 4.21e-07/0.1988, allocations: 7.938 kB / 0.7093 GB, free: 9.57 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0302/0.229, allocations: 2.134 MB / 0.7114 GB, free: 7.566 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.06/11.29, allocations: 9.703 kB / 0.7114 GB, free: 7.559 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: 15.064969652332366] Failed to read output from testmodel.py, exit status != 0: 11.40006529726088 11.4310382 11.247650675 Calling exit ...