Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.SmoothHeaviside,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothHeaviside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.SmoothHeaviside,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothHeaviside",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007966/0.0007966, allocations: 84.38 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009271/0.0009274, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.388/1.388, allocations: 223.2 MB / 240 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9666/0.9666, allocations: 135.3 MB / 426.3 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000481/0.0004812, allocations: 16.73 kB / 0.5071 GB, free: 5.152 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1929/0.1934, allocations: 82.3 MB / 0.5875 GB, free: 3.02 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothHeaviside): time 0.001517/0.1949, allocations: 1.148 MB / 0.5886 GB, free: 1.855 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007046/0.1957, allocations: 441.9 kB / 0.589 GB, free: 1.418 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.809e-05/0.1957, allocations: 4 kB / 0.589 GB, free: 1.414 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.307e-05/0.1957, allocations: 0 / 0.589 GB, free: 1.414 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.321e-05/0.1958, allocations: 3.938 kB / 0.589 GB, free: 1.41 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001652/0.196, allocations: 15.98 kB / 0.589 GB, free: 1.395 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.688e-05/0.196, allocations: 27.92 kB / 0.5891 GB, free: 1.367 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.026e-05/0.1961, allocations: 0 / 0.5891 GB, free: 1.367 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.752e-05/0.1962, allocations: 19.86 kB / 0.5891 GB, free: 1.348 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.206e-05/0.1962, allocations: 11.98 kB / 0.5891 GB, free: 1.336 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.023e-05/0.1963, allocations: 0 / 0.5891 GB, free: 1.336 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.577e-05/0.1963, allocations: 23.91 kB / 0.5891 GB, free: 1.312 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.126e-05/0.1963, allocations: 4 kB / 0.5891 GB, free: 1.309 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.425e-05/0.1964, allocations: 29.7 kB / 0.5891 GB, free: 1.273 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.088e-05/0.1965, allocations: 15.97 kB / 0.5892 GB, free: 1.258 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.1965, allocations: 0 / 0.5892 GB, free: 1.258 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1965, allocations: 0 / 0.5892 GB, free: 1.258 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.797e-06/0.1965, allocations: 0 / 0.5892 GB, free: 1.258 MB / 494.1 MB 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.0003911/0.1969, allocations: 347.5 kB / 0.5895 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/0.1969, allocations: 12.03 kB / 0.5895 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.519e-05/0.197, allocations: 38.48 kB / 0.5895 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.994e-05/0.197, allocations: 0 / 0.5895 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001083/0.1971, allocations: 170.9 kB / 0.5897 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.603e-06/0.1971, allocations: 4 kB / 0.5897 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.608e-06/0.1971, allocations: 0 / 0.5897 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000169/0.1973, allocations: 57.67 kB / 0.5898 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.573e-06/0.1973, allocations: 3.938 kB / 0.5898 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.544e-06/0.1973, allocations: 0 / 0.5898 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.1973, allocations: 0 / 0.5898 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001558/0.1975, allocations: 43.97 kB / 0.5898 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003106/0.1978, allocations: 260.9 kB / 0.5901 GB, free: 192 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001151/0.198, allocations: 38.56 kB / 0.5901 GB, free: 144 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.378e-05/0.1981, allocations: 28.91 kB / 0.5901 GB, free: 112 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001255/0.1982, allocations: 93.08 kB / 0.5902 GB, free: 0 / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.312e-05/0.1982, allocations: 30.56 kB / 0.5902 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 9.61e-07/0.1982, allocations: 0 / 0.5902 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003284/0.1986, allocations: 97.58 kB / 0.5903 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.656e-05/0.1986, allocations: 59.41 kB / 0.5904 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.419e-05/0.1987, allocations: 101.8 kB / 0.5905 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.137e-05/0.1987, allocations: 25.7 kB / 0.5905 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.03e-05/0.1988, allocations: 88.14 kB / 0.5906 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.462e-05/0.1988, allocations: 7.844 kB / 0.5906 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.436e-06/0.1988, allocations: 4.125 kB / 0.5906 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.814e-05/0.1989, allocations: 314.8 kB / 0.5909 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.054e-05/0.199, allocations: 23.97 kB / 0.5909 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.847e-05/0.1991, allocations: 19.98 kB / 0.5909 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.529e-05/0.1992, allocations: 24.05 kB / 0.591 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.1992, allocations: 0 / 0.591 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001912/0.1994, allocations: 81.59 kB / 0.591 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.1994, allocations: 4 kB / 0.591 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.1994, allocations: 3.938 kB / 0.5911 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.257e-06/0.1994, allocations: 4 kB / 0.5911 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.498e-05/0.1995, allocations: 15.98 kB / 0.5911 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.1995, allocations: 0 / 0.5911 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.338e-05/0.1996, allocations: 4 kB / 0.5911 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.1996, allocations: 7.953 kB / 0.5911 GB, free: 15.04 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.297e-05/0.1997, allocations: 109.9 kB / 0.5912 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.48e-05/0.1997, allocations: 7.891 kB / 0.5912 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002215/0.1999, allocations: 81.03 kB / 0.5913 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.1999, allocations: 12.03 kB / 0.5913 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.1999, allocations: 0 / 0.5913 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.1999, allocations: 3.938 kB / 0.5913 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001489/0.2001, allocations: 161.6 kB / 0.5914 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.2001, allocations: 0 / 0.5914 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.676e-05/0.2002, allocations: 11.98 kB / 0.5915 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.2002, allocations: 0 / 0.5915 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.691e-06/0.2002, allocations: 0 / 0.5915 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.2002, allocations: 4 kB / 0.5915 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2002, allocations: 0 / 0.5915 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002321/0.2005, allocations: 175.5 kB / 0.5916 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.069e-05/0.2005, allocations: 77.11 kB / 0.5917 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.438e-05/0.2005, allocations: 7.984 kB / 0.5917 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.13e-05/0.2006, allocations: 8.031 kB / 0.5917 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.141e-05/0.2006, allocations: 3.984 kB / 0.5917 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-06/0.2006, allocations: 7.984 kB / 0.5917 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.643e-05/0.2007, allocations: 83.28 kB / 0.5918 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2007, allocations: 0 / 0.5918 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002229/0.2009, allocations: 8 kB / 0.5918 GB, free: 14.19 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005323/0.2015, allocations: 0.7123 MB / 0.5925 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001858/0.2017, allocations: 51.98 kB / 0.5926 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.2017, allocations: 0 / 0.5926 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.218e-05/0.2018, allocations: 27.92 kB / 0.5926 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002688/0.202, allocations: 11.5 kB / 0.5926 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003827/0.2024, allocations: 138.3 kB / 0.5927 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002303/0.2027, allocations: 0.6731 MB / 0.5934 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.55e-05/0.2027, allocations: 7.938 kB / 0.5934 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.188e-05/0.2027, allocations: 19.36 kB / 0.5934 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.2027, allocations: 0 / 0.5934 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01156/0.2143, allocations: 1.146 MB / 0.5945 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002087/0.2146, allocations: 175.6 kB / 0.5947 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.642/1.857, allocations: 0 / 0.5947 GB, free: 11.22 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothHeaviside_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothHeaviside.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1) Environment - environmentSimulation: