Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.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.001219/0.001219, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001379/0.001379, allocations: 214.8 kB / 23.04 MB, free: 5.07 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.459/1.459, allocations: 230.6 MB / 256.8 MB, free: 7.949 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.8273/0.8273, 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.Examples.SmoothHeaviside,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_SmoothHeaviside",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.SmoothHeaviside,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_SmoothHeaviside",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.00196/0.00196, allocations: 65.03 kB / 0.6193 GB, free: 7.184 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1863/0.1883, allocations: 85.91 MB / 0.7032 GB, free: 1.355 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothHeaviside): time 0.003135/0.1914, allocations: 1.464 MB / 0.7046 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001069/0.1925, allocations: 0.5074 MB / 0.7051 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.913e-05/0.1925, allocations: 4 kB / 0.7051 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.985e-05/0.1925, allocations: 0 / 0.7051 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.189e-05/0.1926, allocations: 7.938 kB / 0.7051 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002099/0.1928, allocations: 19.92 kB / 0.7052 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.334e-05/0.1929, allocations: 23.92 kB / 0.7052 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.137e-05/0.193, allocations: 7.984 kB / 0.7052 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 6.044e-05/0.193, allocations: 15.92 kB / 0.7052 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.668e-05/0.1931, allocations: 7.938 kB / 0.7052 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.108e-05/0.1931, allocations: 8 kB / 0.7052 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.224e-05/0.1932, allocations: 19.97 kB / 0.7052 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.25e-05/0.1932, allocations: 8 kB / 0.7052 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.322e-05/0.1932, allocations: 7.938 kB / 0.7053 GB, free: 15.24 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001154/0.1933, allocations: 44.03 kB / 0.7053 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.1933, allocations: 0 / 0.7053 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of FrontEnd: time 9.82e-07/0.1933, allocations: 0 / 0.7053 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.1933, allocations: 3.938 kB / 0.7053 GB, free: 15.19 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.0004427/0.1938, allocations: 269 kB / 0.7056 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.1938, allocations: 12.03 kB / 0.7056 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.389e-05/0.1938, allocations: 4.188 kB / 0.7056 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.968e-05/0.1939, allocations: 34.73 kB / 0.7056 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.435e-05/0.1939, allocations: 8.891 kB / 0.7056 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001097/0.194, allocations: 102.5 kB / 0.7057 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.158e-05/0.194, allocations: 4.375 kB / 0.7057 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.086e-05/0.194, allocations: 384 / 0.7057 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001922/0.1942, allocations: 53.61 kB / 0.7058 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.1942, allocations: 0 / 0.7058 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.387e-06/0.1942, allocations: 4 kB / 0.7058 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.1942, allocations: 0 / 0.7058 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001719/0.1944, allocations: 39.89 kB / 0.7058 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000357/0.1947, allocations: 220 kB / 0.706 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001373/0.1949, allocations: 42.55 kB / 0.7061 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.913e-05/0.195, allocations: 16.91 kB / 0.7061 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 9.378e-05/0.1951, allocations: 4 kB / 0.7061 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.744e-05/0.1951, allocations: 38.56 kB / 0.7061 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 9.21e-07/0.1951, allocations: 0 / 0.7061 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0003627/0.1955, allocations: 89.62 kB / 0.7062 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.172e-05/0.1955, allocations: 51.41 kB / 0.7063 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001025/0.1956, allocations: 101.8 kB / 0.7064 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.084e-05/0.1956, allocations: 25.7 kB / 0.7064 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.881e-05/0.1957, allocations: 88.14 kB / 0.7065 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.01e-05/0.1957, allocations: 11.83 kB / 0.7065 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.668e-05/0.1958, allocations: 17.7 kB / 0.7065 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002351/0.196, allocations: 318.8 kB / 0.7068 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.457e-05/0.1961, allocations: 16.02 kB / 0.7068 GB, free: 13.47 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.921e-05/0.1962, allocations: 19.98 kB / 0.7068 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001647/0.1963, allocations: 40.75 kB / 0.7069 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.1963, allocations: 0 / 0.7069 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001977/0.1965, allocations: 65.98 kB / 0.7069 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/0.1965, allocations: 11.98 kB / 0.7069 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.1966, allocations: 0 / 0.7069 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/0.1966, allocations: 4 kB / 0.7069 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.609e-05/0.1967, allocations: 4 kB / 0.7069 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.1967, allocations: 0 / 0.7069 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.681e-05/0.1967, allocations: 7.984 kB / 0.707 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.1967, allocations: 4 kB / 0.707 GB, free: 13.3 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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.0001988/0.1969, allocations: 117.8 kB / 0.7071 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.222e-05/0.1969, allocations: 0 / 0.7071 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002412/0.1972, allocations: 84.83 kB / 0.7072 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.1972, allocations: 0 / 0.7072 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.1972, allocations: 0 / 0.7072 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-06/0.1972, allocations: 0 / 0.7072 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001795/0.1974, allocations: 140.6 kB / 0.7073 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1974, allocations: 0 / 0.7073 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.4e-05/0.1974, allocations: 12.02 kB / 0.7073 GB, free: 12.9 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-06/0.1974, allocations: 0 / 0.7073 GB, free: 12.9 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-06/0.1974, allocations: 0 / 0.7073 GB, free: 12.9 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.1974, allocations: 4 kB / 0.7073 GB, free: 12.9 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.1974, allocations: 0 / 0.7073 GB, free: 12.9 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002584/0.1977, allocations: 167.4 kB / 0.7075 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.751e-06/0.1977, allocations: 4.031 kB / 0.7075 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.247e-05/0.1977, allocations: 0 / 0.7075 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.513e-05/0.1978, allocations: 7.984 kB / 0.7075 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.059e-05/0.1978, allocations: 0 / 0.7075 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.889e-06/0.1978, allocations: 7.984 kB / 0.7075 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.692e-05/0.1979, allocations: 87.27 kB / 0.7076 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.1979, allocations: 0 / 0.7076 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002162/0.1981, allocations: 7.938 kB / 0.7076 GB, free: 12.61 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 (2): * Single equations (assignments): 2 * 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.0006411/0.1987, allocations: 0.7006 MB / 0.7083 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.000222/0.199, allocations: 39.89 kB / 0.7083 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.199, allocations: 8.094 kB / 0.7083 GB, free: 11.83 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 8.101e-05/0.199, allocations: 15.98 kB / 0.7083 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003028/0.1994, allocations: 6.188 kB / 0.7083 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004495/0.1998, allocations: 143.3 kB / 0.7085 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000347/0.2001, allocations: 0.6805 MB / 0.7091 GB, free: 10.92 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.682e-05/0.2002, allocations: 8.188 kB / 0.7091 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.617e-05/0.2002, allocations: 19.48 kB / 0.7091 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of SimCode: time 2.81e-07/0.2002, allocations: 0 / 0.7091 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02172/0.2219, allocations: 1.564 MB / 0.7107 GB, free: 9.477 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.05/11.27, allocations: 4.062 kB / 0.7107 GB, free: 9.473 MB / 0.5294 GB " [Timeout remaining time 649] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_SmoothHeaviside_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_SmoothHeaviside.fmu > IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.926298770005815] Failed to read output from testmodel.py, exit status != 0: 11.436145432060584 11.464692405 11.266248415 Calling exit ...