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.00124/0.00124, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001529/0.001529, allocations: 214.5 kB / 23.04 MB, free: 5.078 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.477/1.477, allocations: 230.6 MB / 256.8 MB, free: 7.984 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.8281/0.8281, allocations: 134 MB / 447.2 MB, free: 10.21 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.002162/0.002162, allocations: 60.31 kB / 0.6194 GB, free: 7.164 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1921/0.1942, allocations: 85.92 MB / 0.7033 GB, free: 1.328 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001975/0.1962, allocations: 0.5838 MB / 0.7038 GB, free: 0.7461 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001785/0.198, allocations: 1.175 MB / 0.705 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.135e-05/0.198, allocations: 0 / 0.705 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.413e-05/0.198, allocations: 4 kB / 0.705 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002654/0.1983, allocations: 15.92 kB / 0.705 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 6.943e-06/0.1983, allocations: 4 kB / 0.705 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.042e-05/0.1984, allocations: 11.92 kB / 0.705 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.88e-05/0.1984, allocations: 0 / 0.705 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.644e-05/0.1984, allocations: 0 / 0.705 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 2.76e-05/0.1984, allocations: 11.88 kB / 0.705 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 7.424e-06/0.1984, allocations: 0 / 0.705 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001261/0.1986, allocations: 15.98 kB / 0.705 GB, free: 15.49 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 7.704e-06/0.1986, allocations: 0 / 0.705 GB, free: 15.49 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.73e-05/0.1986, allocations: 3.984 kB / 0.705 GB, free: 15.49 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 9.272e-05/0.1987, allocations: 24.14 kB / 0.7051 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.1987, allocations: 4 kB / 0.7051 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.302e-06/0.1987, allocations: 0 / 0.7051 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.1987, allocations: 3.938 kB / 0.7051 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.0003215/0.199, allocations: 246.4 kB / 0.7053 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/0.1991, allocations: 12.03 kB / 0.7053 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.724e-05/0.1991, allocations: 192 / 0.7053 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.279e-05/0.1991, allocations: 30.75 kB / 0.7053 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.955e-05/0.1991, allocations: 4.891 kB / 0.7053 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.331e-05/0.1992, allocations: 106.5 kB / 0.7054 GB, free: 15 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.037e-06/0.1992, allocations: 8.375 kB / 0.7055 GB, free: 15 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.969e-05/0.1993, allocations: 384 / 0.7055 GB, free: 15 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001122/0.1994, allocations: 37.64 kB / 0.7055 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.1994, allocations: 0 / 0.7055 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.975e-06/0.1994, allocations: 0 / 0.7055 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.1994, allocations: 3.984 kB / 0.7055 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.207e-05/0.1994, allocations: 7.938 kB / 0.7055 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001786/0.1996, allocations: 124.8 kB / 0.7056 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001906/0.1998, allocations: 34.58 kB / 0.7057 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.554e-05/0.1998, allocations: 12.94 kB / 0.7057 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001262/0.2, allocations: 7.938 kB / 0.7057 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.476e-05/0.2, allocations: 38.55 kB / 0.7057 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.2, allocations: 0 / 0.7057 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5): time 0.004263/0.2043, allocations: 0.5677 MB / 0.7063 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.959e-05/0.2043, allocations: 55.34 kB / 0.7063 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.537e-05/0.2044, allocations: 89.86 kB / 0.7064 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.004e-05/0.2044, allocations: 33.7 kB / 0.7064 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.028e-05/0.2044, allocations: 80.14 kB / 0.7065 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.786e-05/0.2045, allocations: 23.77 kB / 0.7065 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.679e-05/0.2046, allocations: 17.72 kB / 0.7066 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.00017/0.2047, allocations: 314.8 kB / 0.7069 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005995/0.2053, allocations: 83.95 kB / 0.7069 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006297/0.206, allocations: 106.5 kB / 0.707 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001208/0.2072, allocations: 198.4 kB / 0.7072 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.2072, allocations: 0 / 0.7072 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001291/0.2085, allocations: 209.5 kB / 0.7074 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/0.2085, allocations: 4 kB / 0.7074 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.2085, allocations: 4 kB / 0.7074 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/0.2085, allocations: 7.922 kB / 0.7074 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004203/0.2089, allocations: 52 kB / 0.7075 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.2089, allocations: 4 kB / 0.7075 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003581/0.2093, allocations: 35.98 kB / 0.7075 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.478e-05/0.2093, allocations: 4 kB / 0.7075 GB, free: 12.72 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.0001096/0.2094, allocations: 113.8 kB / 0.7076 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.26e-05/0.2095, allocations: 3.938 kB / 0.7076 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001391/0.2108, allocations: 241.1 kB / 0.7079 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.2108, allocations: 0 / 0.7079 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.2109, allocations: 4 kB / 0.7079 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.2109, allocations: 0 / 0.7079 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001617/0.2125, allocations: 433.4 kB / 0.7083 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.2125, allocations: 0 / 0.7083 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003901/0.2129, allocations: 48.28 kB / 0.7083 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.2129, allocations: 0 / 0.7083 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.337e-05/0.2129, allocations: 8 kB / 0.7083 GB, free: 11.83 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.2129, allocations: 0 / 0.7083 GB, free: 11.83 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.2129, allocations: 0 / 0.7083 GB, free: 11.83 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001385/0.2143, allocations: 307.4 kB / 0.7086 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.26e-05/0.2143, allocations: 4 kB / 0.7086 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.802e-05/0.2143, allocations: 0 / 0.7086 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003747/0.2147, allocations: 43.97 kB / 0.7087 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.454e-05/0.2147, allocations: 0 / 0.7087 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.34e-05/0.2147, allocations: 7.938 kB / 0.7087 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.987e-05/0.2148, allocations: 75.28 kB / 0.7088 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/0.2148, allocations: 0 / 0.7088 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002657/0.2151, allocations: 11.94 kB / 0.7088 GB, free: 11.37 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.001796/0.2168, allocations: 0.8374 MB / 0.7096 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001328/0.2182, allocations: 175.8 kB / 0.7098 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/0.2182, allocations: 4.188 kB / 0.7098 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0005977/0.2188, allocations: 87.95 kB / 0.7098 GB, free: 10.24 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002344/0.219, allocations: 4 kB / 0.7098 GB, free: 10.24 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001467/0.2205, allocations: 250.5 kB / 0.7101 GB, free: 9.953 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003776/0.2209, allocations: 0.6805 MB / 0.7108 GB, free: 9.246 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.000217/0.2211, allocations: 43.86 kB / 0.7108 GB, free: 9.203 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.825e-05/0.2212, allocations: 7.438 kB / 0.7108 GB, free: 9.195 MB / 0.5294 GB Notification: Performance of SimCode: time 8.92e-07/0.2212, allocations: 0 / 0.7108 GB, free: 9.195 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02227/0.2434, allocations: 1.771 MB / 0.7125 GB, free: 7.574 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.9/11.14, allocations: 3.938 kB / 0.7125 GB, free: 7.57 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.806246073101647] Failed to read output from testmodel.py, exit status != 0: 11.298038018983789 11.314536597 11.112513016 Calling exit ...