Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.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.SmoothLimit,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothLimit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothLimit",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.0008065/0.0008065, allocations: 86.8 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.0008974/0.0008974, 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.374/1.374, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9317/0.9317, allocations: 135.3 MB / 426.4 MB, free: 14.17 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003206/0.0003207, allocations: 8 kB / 0.5071 GB, free: 5.012 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1648/0.1651, allocations: 82.31 MB / 0.5875 GB, free: 2.883 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothLimit): time 0.001538/0.1667, allocations: 1.165 MB / 0.5886 GB, free: 1.703 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008035/0.1675, allocations: 0.5196 MB / 0.5891 GB, free: 1.176 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.768e-05/0.1675, allocations: 0 / 0.5891 GB, free: 1.176 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.513e-05/0.1676, allocations: 3.938 kB / 0.5891 GB, free: 1.172 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.506e-05/0.1676, allocations: 3.984 kB / 0.5891 GB, free: 1.168 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002246/0.1679, allocations: 35.91 kB / 0.5892 GB, free: 1.133 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.205e-05/0.1679, allocations: 23.86 kB / 0.5892 GB, free: 1.109 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.089e-05/0.168, allocations: 11.94 kB / 0.5892 GB, free: 1.098 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.408e-05/0.1681, allocations: 15.98 kB / 0.5892 GB, free: 1.082 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.057e-05/0.1682, allocations: 11.92 kB / 0.5892 GB, free: 1.07 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.025e-05/0.1682, allocations: 0 / 0.5892 GB, free: 1.07 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001098/0.1683, allocations: 51.95 kB / 0.5893 GB, free: 1.02 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.228e-05/0.1683, allocations: 7.922 kB / 0.5893 GB, free: 1.012 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.026e-05/0.1683, allocations: 29.7 kB / 0.5893 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000107/0.1685, allocations: 43.94 kB / 0.5893 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.1685, allocations: 0 / 0.5893 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1685, allocations: 4 kB / 0.5893 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.1685, allocations: 0 / 0.5893 GB, free: 0.9297 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.0003868/0.1689, allocations: 339.5 kB / 0.5897 GB, free: 0.5508 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.1689, allocations: 12.03 kB / 0.5897 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.39e-05/0.169, allocations: 38.56 kB / 0.5897 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.936e-05/0.169, allocations: 3.906 kB / 0.5897 GB, free: 500 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001067/0.1691, allocations: 171 kB / 0.5899 GB, free: 288 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.727e-06/0.1691, allocations: 0 / 0.5899 GB, free: 288 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.093e-06/0.1691, allocations: 4 kB / 0.5899 GB, free: 284 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001229/0.1693, allocations: 61.53 kB / 0.5899 GB, free: 216 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.001e-06/0.1693, allocations: 0 / 0.5899 GB, free: 216 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.422e-06/0.1693, allocations: 0 / 0.5899 GB, free: 216 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.1693, allocations: 0 / 0.5899 GB, free: 216 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.499e-05/0.1694, allocations: 23.98 kB / 0.59 GB, free: 192 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003019/0.1697, allocations: 256.9 kB / 0.5902 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.165e-05/0.1698, allocations: 30.5 kB / 0.5902 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.945e-05/0.1699, allocations: 20.91 kB / 0.5903 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007482/0.1706, allocations: 0.4936 MB / 0.5907 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.481e-05/0.1707, allocations: 34.55 kB / 0.5908 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.1707, allocations: 3.938 kB / 0.5908 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0002198/0.1709, allocations: 65.59 kB / 0.5908 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.98e-05/0.1709, allocations: 51.41 kB / 0.5909 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.773e-05/0.171, allocations: 117.9 kB / 0.591 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.389e-05/0.1711, allocations: 29.7 kB / 0.591 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.812e-05/0.1711, allocations: 88.06 kB / 0.5911 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.508e-05/0.1711, allocations: 7.906 kB / 0.5911 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.206e-06/0.1711, allocations: 0 / 0.5911 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001066/0.1712, allocations: 314.8 kB / 0.5914 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.743e-05/0.1713, allocations: 15.98 kB / 0.5914 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.557e-05/0.1713, allocations: 12 kB / 0.5915 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.438e-05/0.1714, allocations: 15.98 kB / 0.5915 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1714, allocations: 0 / 0.5915 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001176/0.1715, allocations: 57.69 kB / 0.5915 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.1716, allocations: 4 kB / 0.5915 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.1716, allocations: 0 / 0.5915 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.1716, allocations: 4.094 kB / 0.5915 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.823e-05/0.1717, allocations: 7.984 kB / 0.5915 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.285e-06/0.1717, allocations: 4 kB / 0.5915 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.098e-05/0.1717, allocations: 0 / 0.5915 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.1717, allocations: 3.953 kB / 0.5915 GB, free: 14.36 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 8.521e-05/0.1718, allocations: 113.8 kB / 0.5917 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.523e-05/0.1719, allocations: 3.906 kB / 0.5917 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001604/0.172, allocations: 69.2 kB / 0.5917 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.172, allocations: 4 kB / 0.5917 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.172, allocations: 0 / 0.5917 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.1721, allocations: 0 / 0.5917 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001614/0.1722, allocations: 169.6 kB / 0.5919 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.073e-06/0.1722, allocations: 0 / 0.5919 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.351e-05/0.1723, allocations: 8 kB / 0.5919 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.1723, allocations: 0 / 0.5919 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.1723, allocations: 3.984 kB / 0.5919 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.1723, allocations: 7.969 kB / 0.5919 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1723, allocations: 0 / 0.5919 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001657/0.1725, allocations: 155.4 kB / 0.5921 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.824e-05/0.1725, allocations: 85.02 kB / 0.5921 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.273e-05/0.1726, allocations: 3.938 kB / 0.5921 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.677e-05/0.1726, allocations: 16.02 kB / 0.5922 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.484e-05/0.1727, allocations: 0 / 0.5922 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.567e-06/0.1727, allocations: 0 / 0.5922 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.346e-05/0.1727, allocations: 87.27 kB / 0.5922 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1727, allocations: 0 / 0.5922 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002409/0.173, allocations: 20 kB / 0.5923 GB, free: 13.52 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.0005058/0.1735, allocations: 0.7007 MB / 0.5929 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001209/0.1736, allocations: 27.98 kB / 0.593 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1736, allocations: 0 / 0.593 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.612e-05/0.1737, allocations: 16.08 kB / 0.593 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002212/0.1739, allocations: 8 kB / 0.593 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004052/0.1743, allocations: 166.5 kB / 0.5932 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002678/0.1746, allocations: 0.677 MB / 0.5938 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.366e-05/0.1746, allocations: 4 kB / 0.5938 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.208e-05/0.1747, allocations: 15.5 kB / 0.5938 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.1747, allocations: 3.938 kB / 0.5938 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01172/0.1864, allocations: 1.384 MB / 0.5952 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002087/0.1867, allocations: 174.5 kB / 0.5954 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.648/1.834, allocations: 0 / 0.5954 GB, free: 10.32 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothLimit_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothLimit.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) Environment - environmentSimulation: