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.001291/0.001291, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001606/0.001606, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.44/1.44, allocations: 230.6 MB / 256 MB, free: 7.785 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.8419/0.8419, allocations: 134 MB / 446.4 MB, free: 9.984 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.002761/0.002761, allocations: 67.88 kB / 0.6185 GB, free: 6.91 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1887/0.1915, allocations: 85.91 MB / 0.7024 GB, free: 1.082 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothHeaviside): time 0.002792/0.1943, allocations: 1.452 MB / 0.7038 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.000896/0.1952, allocations: 483.7 kB / 0.7043 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.472e-05/0.1952, allocations: 0 / 0.7043 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.485e-05/0.1952, allocations: 0 / 0.7043 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.339e-05/0.1953, allocations: 7.938 kB / 0.7043 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002175/0.1955, allocations: 19.92 kB / 0.7043 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.142e-05/0.1956, allocations: 27.92 kB / 0.7043 GB, free: 15.08 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.936e-05/0.1957, allocations: 4 kB / 0.7043 GB, free: 15.08 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.272e-05/0.1958, allocations: 19.91 kB / 0.7043 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.517e-05/0.1958, allocations: 4 kB / 0.7043 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.358e-05/0.1958, allocations: 4 kB / 0.7043 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.006e-05/0.1959, allocations: 15.92 kB / 0.7044 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.514e-05/0.1959, allocations: 7.938 kB / 0.7044 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.421e-05/0.1959, allocations: 11.98 kB / 0.7044 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001114/0.196, allocations: 36.05 kB / 0.7044 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.196, allocations: 8 kB / 0.7044 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.543e-06/0.196, allocations: 0 / 0.7044 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.1961, allocations: 0 / 0.7044 GB, free: 14.97 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.0004373/0.1965, allocations: 266.3 kB / 0.7047 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.1965, allocations: 8.031 kB / 0.7047 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.538e-05/0.1966, allocations: 30.75 kB / 0.7047 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.357e-05/0.1966, allocations: 4.891 kB / 0.7047 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001185/0.1967, allocations: 114.5 kB / 0.7048 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.1967, allocations: 384 / 0.7048 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.467e-05/0.1967, allocations: 8.359 kB / 0.7048 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001876/0.1969, allocations: 57.75 kB / 0.7049 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.1969, allocations: 0 / 0.7049 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.193e-06/0.1969, allocations: 0 / 0.7049 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.1969, allocations: 0 / 0.7049 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001593/0.1971, allocations: 35.95 kB / 0.7049 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000332/0.1974, allocations: 219.9 kB / 0.7051 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001305/0.1976, allocations: 34.56 kB / 0.7052 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.48e-05/0.1976, allocations: 28.84 kB / 0.7052 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 9.478e-05/0.1977, allocations: 11.98 kB / 0.7052 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.712e-05/0.1978, allocations: 30.56 kB / 0.7052 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.1978, allocations: 0 / 0.7052 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0003502/0.1981, allocations: 85.59 kB / 0.7053 GB, free: 13.92 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.794e-05/0.1982, allocations: 51.41 kB / 0.7054 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.983e-05/0.1983, allocations: 110 kB / 0.7055 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.652e-05/0.1983, allocations: 25.7 kB / 0.7055 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.142e-05/0.1983, allocations: 80.14 kB / 0.7056 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.956e-05/0.1983, allocations: 7.891 kB / 0.7056 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.183e-05/0.1984, allocations: 17.72 kB / 0.7056 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001533/0.1985, allocations: 314.8 kB / 0.7059 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.522e-05/0.1986, allocations: 27.91 kB / 0.7059 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.88e-05/0.1987, allocations: 11.98 kB / 0.7059 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001495/0.1988, allocations: 40.89 kB / 0.706 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1988, allocations: 0 / 0.706 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002042/0.1991, allocations: 69.66 kB / 0.706 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.1991, allocations: 6.5 kB / 0.706 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.1991, allocations: 0 / 0.706 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.1991, allocations: 0 / 0.706 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.459e-05/0.1992, allocations: 11.98 kB / 0.7061 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.1992, allocations: 4.031 kB / 0.7061 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.63e-05/0.1992, allocations: 11.92 kB / 0.7061 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.859e-06/0.1992, allocations: 256 / 0.7061 GB, free: 13.09 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 9.333e-05/0.1993, allocations: 117.7 kB / 0.7062 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.139e-05/0.1994, allocations: 0 / 0.7062 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002357/0.1996, allocations: 76.97 kB / 0.7063 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.1996, allocations: 0 / 0.7063 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.1996, allocations: 32 / 0.7063 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.1996, allocations: 4 kB / 0.7063 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001681/0.1998, allocations: 132.6 kB / 0.7064 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.1998, allocations: 0 / 0.7064 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.793e-05/0.1998, allocations: 11.98 kB / 0.7064 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.1998, allocations: 3.938 kB / 0.7064 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.173e-06/0.1998, allocations: 0 / 0.7064 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.1998, allocations: 0 / 0.7064 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.1998, allocations: 0 / 0.7064 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002719/0.2001, allocations: 175.4 kB / 0.7066 GB, free: 12.51 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 7.214e-06/0.2001, allocations: 0 / 0.7066 GB, free: 12.51 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.221e-05/0.2001, allocations: 0 / 0.7066 GB, free: 12.51 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.411e-05/0.2002, allocations: 7.984 kB / 0.7066 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.166e-05/0.2002, allocations: 0 / 0.7066 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.13e-06/0.2002, allocations: 4 kB / 0.7066 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.24e-05/0.2003, allocations: 87.27 kB / 0.7067 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/0.2003, allocations: 0 / 0.7067 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002315/0.2005, allocations: 4 kB / 0.7067 GB, free: 12.41 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.0006473/0.2012, allocations: 0.7045 MB / 0.7074 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002096/0.2014, allocations: 39.95 kB / 0.7074 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.2014, allocations: 0 / 0.7074 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 8.252e-05/0.2015, allocations: 19.98 kB / 0.7074 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003097/0.2018, allocations: 8.688 kB / 0.7074 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004591/0.2023, allocations: 151.2 kB / 0.7076 GB, free: 11.42 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.751e-05/0.2023, allocations: 67.2 kB / 0.7076 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.402e-05/0.2023, allocations: 0 / 0.7076 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.495e-05/0.2024, allocations: 11.44 kB / 0.7076 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of SimCode: time 3.11e-07/0.2024, allocations: 0 / 0.7076 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03012/0.2325, allocations: 1.976 MB / 0.7096 GB, free: 9.48 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.56, allocations: 10.38 kB / 0.7096 GB, free: 9.473 MB / 0.5294 GB " [Timeout remaining time 648] (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: 15.275323584675789] Failed to read output from testmodel.py, exit status != 0: 11.66990646859631 11.698805167 11.497121692 Calling exit ...