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.0008438/0.0008437, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.007101/0.007101, allocations: 169.8 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.44/1.44, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9573/0.9573, allocations: 135.3 MB / 426.7 MB, free: 14.29 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003939/0.0003944, allocations: 8.281 kB / 0.5077 GB, free: 4.645 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1657/0.1661, allocations: 82.31 MB / 0.5881 GB, free: 2.508 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothHeaviside): time 0.001567/0.1677, allocations: 1.157 MB / 0.5892 GB, free: 1.336 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007847/0.1685, allocations: 455.9 kB / 0.5896 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.474e-05/0.1686, allocations: 3.938 kB / 0.5896 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.794e-05/0.1686, allocations: 4 kB / 0.5896 GB, free: 0.875 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.041e-05/0.1687, allocations: 0 / 0.5896 GB, free: 0.875 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001825/0.1689, allocations: 23.92 kB / 0.5897 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.106e-05/0.1689, allocations: 23.86 kB / 0.5897 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.568e-05/0.169, allocations: 8 kB / 0.5897 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.454e-05/0.1691, allocations: 11.97 kB / 0.5897 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.211e-05/0.1692, allocations: 11.94 kB / 0.5897 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.178e-05/0.1692, allocations: 0 / 0.5897 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.17e-05/0.1693, allocations: 19.97 kB / 0.5897 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.073e-05/0.1693, allocations: 4 kB / 0.5897 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.777e-05/0.1694, allocations: 37.64 kB / 0.5898 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001031/0.1695, allocations: 35.81 kB / 0.5898 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.1695, allocations: 0 / 0.5898 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1695, allocations: 0 / 0.5898 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.847e-06/0.1695, allocations: 0 / 0.5898 GB, free: 0.6953 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.0004386/0.1699, allocations: 347.7 kB / 0.5901 GB, free: 316 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.17, allocations: 12.03 kB / 0.5902 GB, free: 304 kB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.033e-05/0.17, allocations: 34.75 kB / 0.5902 GB, free: 260 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.537e-05/0.1701, allocations: 4.938 kB / 0.5902 GB, free: 256 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001087/0.1702, allocations: 164.3 kB / 0.5904 GB, free: 52 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.147e-05/0.1702, allocations: 384 / 0.5904 GB, free: 52 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.197e-05/0.1702, allocations: 4.375 kB / 0.5904 GB, free: 48 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001937/0.1704, allocations: 57.8 kB / 0.5904 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.212e-06/0.1704, allocations: 0 / 0.5904 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.155e-06/0.1704, allocations: 4 kB / 0.5904 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.1705, allocations: 0 / 0.5904 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001704/0.1706, allocations: 47.89 kB / 0.5905 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003094/0.171, allocations: 252.9 kB / 0.5907 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001378/0.1711, allocations: 42.59 kB / 0.5907 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.327e-05/0.1712, allocations: 24.91 kB / 0.5908 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001184/0.1713, allocations: 85.09 kB / 0.5908 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.528e-05/0.1714, allocations: 38.56 kB / 0.5909 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.1714, allocations: 7.938 kB / 0.5909 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003654/0.1717, allocations: 97.73 kB / 0.591 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.668e-05/0.1718, allocations: 51.41 kB / 0.591 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.698e-05/0.1719, allocations: 101.9 kB / 0.5911 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.722e-05/0.1719, allocations: 29.64 kB / 0.5912 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.482e-05/0.1719, allocations: 88.12 kB / 0.5912 GB, free: 15 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.058e-05/0.172, allocations: 7.844 kB / 0.5913 GB, free: 15 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.182e-05/0.172, allocations: 13.72 kB / 0.5913 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001024/0.1721, allocations: 318.8 kB / 0.5916 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.477e-05/0.1722, allocations: 23.92 kB / 0.5916 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.091e-05/0.1723, allocations: 23.97 kB / 0.5916 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001614/0.1725, allocations: 56.83 kB / 0.5917 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.1725, allocations: 0 / 0.5917 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002029/0.1727, allocations: 81.66 kB / 0.5917 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.1727, allocations: 5.562 kB / 0.5918 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.1727, allocations: 0 / 0.5918 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.1727, allocations: 0 / 0.5918 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.847e-05/0.1728, allocations: 8 kB / 0.5918 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.1728, allocations: 3.984 kB / 0.5918 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.413e-05/0.1729, allocations: 15.89 kB / 0.5918 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.179e-06/0.1729, allocations: 4.031 kB / 0.5918 GB, free: 14.43 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.874e-05/0.173, allocations: 109.8 kB / 0.5919 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.363e-05/0.173, allocations: 8 kB / 0.5919 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002455/0.1733, allocations: 84.7 kB / 0.592 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.1733, allocations: 4.031 kB / 0.592 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.77e-06/0.1733, allocations: 0 / 0.592 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.1733, allocations: 0 / 0.592 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001599/0.1735, allocations: 157.6 kB / 0.5921 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.1735, allocations: 4 kB / 0.5921 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.82e-05/0.1735, allocations: 11.98 kB / 0.5921 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.1736, allocations: 0 / 0.5921 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.852e-06/0.1736, allocations: 0 / 0.5921 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.1736, allocations: 0 / 0.5921 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.1736, allocations: 4 kB / 0.5921 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000268/0.1739, allocations: 179.4 kB / 0.5923 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.978e-05/0.1739, allocations: 77.11 kB / 0.5924 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.778e-05/0.1739, allocations: 8.016 kB / 0.5924 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.269e-05/0.174, allocations: 8 kB / 0.5924 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.008e-05/0.1741, allocations: 4 kB / 0.5924 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.245e-06/0.1741, allocations: 4.234 kB / 0.5924 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.281e-05/0.1741, allocations: 87.22 kB / 0.5925 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1741, allocations: 0 / 0.5925 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002191/0.1743, allocations: 11.91 kB / 0.5925 GB, free: 13.58 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 (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.0006061/0.175, allocations: 0.7046 MB / 0.5932 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002238/0.1752, allocations: 59.92 kB / 0.5933 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.1752, allocations: 0 / 0.5933 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.026e-05/0.1753, allocations: 24.05 kB / 0.5933 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002838/0.1756, allocations: 3.938 kB / 0.5933 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004241/0.176, allocations: 146.4 kB / 0.5934 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002402/0.1763, allocations: 0.677 MB / 0.5941 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.763e-05/0.1763, allocations: 4 kB / 0.5941 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.95e-05/0.1764, allocations: 7.438 kB / 0.5941 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.1764, allocations: 4.062 kB / 0.5941 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1613/0.3377, allocations: 1.145 MB / 0.5952 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002899/0.338, allocations: 204.3 kB / 0.5954 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.615/1.953, allocations: 4 kB / 0.5954 GB, free: 10.58 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/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)