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.001342/0.001342, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001488/0.001488, allocations: 217 kB / 22.25 MB, free: 5.082 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.461/1.461, allocations: 230.6 MB / 256 MB, free: 8.035 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.8736/0.8736, allocations: 134 MB / 446.4 MB, free: 10.23 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.SmoothHeaviside,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_SmoothHeaviside",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.002016/0.002016, allocations: 74.05 kB / 0.6186 GB, free: 7.223 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.188/0.19, allocations: 85.9 MB / 0.7024 GB, free: 1.395 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothHeaviside): time 0.002947/0.1929, allocations: 1.462 MB / 0.7039 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0009687/0.1939, allocations: 0.5113 MB / 0.7044 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.907e-05/0.1939, allocations: 4 kB / 0.7044 GB, free: 15.4 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.446e-05/0.194, allocations: 3.938 kB / 0.7044 GB, free: 15.4 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.823e-05/0.194, allocations: 3.938 kB / 0.7044 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000236/0.1943, allocations: 19.92 kB / 0.7044 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.997e-05/0.1944, allocations: 23.92 kB / 0.7044 GB, free: 15.35 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.919e-05/0.1945, allocations: 11.98 kB / 0.7044 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.195e-05/0.1945, allocations: 15.92 kB / 0.7045 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.368e-05/0.1946, allocations: 7.938 kB / 0.7045 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.026e-05/0.1946, allocations: 4 kB / 0.7045 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.747e-05/0.1947, allocations: 23.92 kB / 0.7045 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.232e-05/0.1947, allocations: 7.984 kB / 0.7045 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.328e-05/0.1947, allocations: 7.938 kB / 0.7045 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001185/0.1948, allocations: 40.11 kB / 0.7045 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.1948, allocations: 0 / 0.7045 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.402e-06/0.1948, allocations: 0 / 0.7045 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.1948, allocations: 0 / 0.7045 GB, free: 15.23 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.0004392/0.1953, allocations: 270.3 kB / 0.7048 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.1953, allocations: 12.03 kB / 0.7048 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.11e-05/0.1953, allocations: 30.75 kB / 0.7048 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.734e-05/0.1954, allocations: 4.891 kB / 0.7048 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000109/0.1955, allocations: 106.5 kB / 0.7049 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.1955, allocations: 4.312 kB / 0.7049 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.999e-06/0.1955, allocations: 4.375 kB / 0.705 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001841/0.1957, allocations: 53.8 kB / 0.705 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.1957, allocations: 0 / 0.705 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.745e-06/0.1957, allocations: 0 / 0.705 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.177e-06/0.1957, allocations: 4 kB / 0.705 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001683/0.1959, allocations: 39.95 kB / 0.705 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003695/0.1962, allocations: 216 kB / 0.7053 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001311/0.1964, allocations: 38.5 kB / 0.7053 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.23e-05/0.1965, allocations: 28.89 kB / 0.7053 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000104/0.1966, allocations: 4 kB / 0.7053 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.859e-05/0.1966, allocations: 30.56 kB / 0.7053 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.1966, allocations: 4 kB / 0.7054 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0003608/0.197, allocations: 81.59 kB / 0.7054 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.038e-05/0.197, allocations: 63.47 kB / 0.7055 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.159e-05/0.1971, allocations: 102 kB / 0.7056 GB, free: 14 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.598e-05/0.1971, allocations: 25.7 kB / 0.7056 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.004e-05/0.1972, allocations: 84.14 kB / 0.7057 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.784e-05/0.1972, allocations: 7.891 kB / 0.7057 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.463e-05/0.1972, allocations: 13.72 kB / 0.7057 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001346/0.1974, allocations: 322.8 kB / 0.706 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.378e-05/0.1974, allocations: 15.98 kB / 0.706 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.056e-05/0.1975, allocations: 23.98 kB / 0.7061 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001498/0.1977, allocations: 44.75 kB / 0.7061 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.1977, allocations: 0 / 0.7061 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001898/0.1979, allocations: 65.67 kB / 0.7062 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.1979, allocations: 12.03 kB / 0.7062 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.1979, allocations: 0 / 0.7062 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.1979, allocations: 4 kB / 0.7062 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.115e-05/0.198, allocations: 7.984 kB / 0.7062 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.598e-06/0.198, allocations: 0 / 0.7062 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.612e-05/0.198, allocations: 7.984 kB / 0.7062 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.399e-06/0.198, allocations: 0 / 0.7062 GB, free: 13.34 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 8.1e-05/0.1981, allocations: 113.8 kB / 0.7063 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.251e-05/0.1981, allocations: 0 / 0.7063 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002317/0.1984, allocations: 80.95 kB / 0.7064 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.1984, allocations: 0 / 0.7064 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.1984, allocations: 0 / 0.7064 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.1984, allocations: 0 / 0.7064 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001677/0.1985, allocations: 140.6 kB / 0.7065 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.1985, allocations: 4 kB / 0.7065 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.707e-05/0.1986, allocations: 11.92 kB / 0.7065 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.1986, allocations: 4.031 kB / 0.7065 GB, free: 12.94 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.224e-06/0.1986, allocations: 0 / 0.7065 GB, free: 12.94 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.1986, allocations: 0 / 0.7065 GB, free: 12.94 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.1986, allocations: 4 kB / 0.7065 GB, free: 12.94 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002348/0.1989, allocations: 163.5 kB / 0.7067 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.602e-06/0.1989, allocations: 0 / 0.7067 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.153e-05/0.1989, allocations: 0 / 0.7067 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.311e-05/0.1989, allocations: 12.02 kB / 0.7067 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.36e-05/0.199, allocations: 0 / 0.7067 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.42e-06/0.199, allocations: 4 kB / 0.7067 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.388e-05/0.199, allocations: 87.28 kB / 0.7068 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7.1e-08/0.199, allocations: 0 / 0.7068 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002226/0.1993, allocations: 7.984 kB / 0.7068 GB, free: 12.65 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.0006556/0.1999, allocations: 0.7045 MB / 0.7075 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002213/0.2001, allocations: 31.97 kB / 0.7075 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.2001, allocations: 3.938 kB / 0.7075 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 9.539e-05/0.2002, allocations: 32 kB / 0.7076 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003513/0.2006, allocations: 4 kB / 0.7076 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005044/0.2011, allocations: 151.2 kB / 0.7077 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003138/0.2014, allocations: 0.6805 MB / 0.7084 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.236e-05/0.2014, allocations: 0 / 0.7084 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.382e-05/0.2015, allocations: 11.44 kB / 0.7084 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of SimCode: time 4.01e-07/0.2015, allocations: 0 / 0.7084 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02669/0.2281, allocations: 1.527 MB / 0.7099 GB, free: 9.543 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.68/10.9, allocations: 8.25 kB / 0.7099 GB, free: 9.539 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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.646103097999003] Failed to read output from testmodel.py, exit status != 0: 11.006777847003832 11.022733561 10.824718936 Calling exit ...