Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential.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.SmoothExponential,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothExponential",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothExponential",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.001046/0.001046, allocations: 90.67 kB / 15.36 MB, free: 0.7383 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.008502/0.008502, allocations: 170.9 kB / 16.26 MB, free: 6.613 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.434/1.434, allocations: 223.3 MB / 240.3 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9346/0.9346, allocations: 135.3 MB / 426.7 MB, free: 14.3 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003318/0.0003318, allocations: 12 kB / 0.5077 GB, free: 4.664 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1745/0.1748, allocations: 82.31 MB / 0.5881 GB, free: 2.527 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothExponential): time 0.001493/0.1764, allocations: 1.15 MB / 0.5892 GB, free: 1.363 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004206/0.1768, allocations: 196.3 kB / 0.5894 GB, free: 1.168 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.294e-05/0.1769, allocations: 7.938 kB / 0.5894 GB, free: 1.16 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.389e-05/0.1769, allocations: 0 / 0.5894 GB, free: 1.16 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.015e-05/0.1769, allocations: 3.938 kB / 0.5894 GB, free: 1.156 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002152/0.1772, allocations: 27.97 kB / 0.5894 GB, free: 1.129 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6e-05/0.1772, allocations: 23.92 kB / 0.5894 GB, free: 1.105 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.405e-05/0.1773, allocations: 7.984 kB / 0.5895 GB, free: 1.098 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.402e-05/0.1774, allocations: 8 kB / 0.5895 GB, free: 1.09 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.989e-05/0.1774, allocations: 11.92 kB / 0.5895 GB, free: 1.078 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.197e-05/0.1775, allocations: 4 kB / 0.5895 GB, free: 1.074 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.517e-05/0.1775, allocations: 31.97 kB / 0.5895 GB, free: 1.043 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.282e-05/0.1776, allocations: 0 / 0.5895 GB, free: 1.043 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.729e-05/0.1776, allocations: 41.62 kB / 0.5895 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001051/0.1777, allocations: 31.88 kB / 0.5896 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.1777, allocations: 0 / 0.5896 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.1777, allocations: 0 / 0.5896 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.1777, allocations: 0 / 0.5896 GB, free: 0.9648 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.0004356/0.1782, allocations: 355.7 kB / 0.5899 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.982e-05/0.1782, allocations: 8.031 kB / 0.5899 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.713e-05/0.1783, allocations: 30.75 kB / 0.59 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.39e-05/0.1783, allocations: 4.938 kB / 0.59 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001229/0.1784, allocations: 172.2 kB / 0.5901 GB, free: 316 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.1785, allocations: 4.375 kB / 0.5901 GB, free: 312 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.108e-05/0.1785, allocations: 4.375 kB / 0.5901 GB, free: 308 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000177/0.1787, allocations: 62.22 kB / 0.5902 GB, free: 240 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.1787, allocations: 3.938 kB / 0.5902 GB, free: 236 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.366e-06/0.1787, allocations: 0 / 0.5902 GB, free: 236 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.1787, allocations: 0 / 0.5902 GB, free: 236 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000171/0.1789, allocations: 39.97 kB / 0.5902 GB, free: 196 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000316/0.1792, allocations: 249 kB / 0.5905 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001229/0.1793, allocations: 54.38 kB / 0.5905 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.771e-05/0.1794, allocations: 32.91 kB / 0.5906 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.997e-05/0.1795, allocations: 81.09 kB / 0.5906 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.058e-05/0.1796, allocations: 30.56 kB / 0.5907 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.1796, allocations: 4 kB / 0.5907 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003522/0.1799, allocations: 101.6 kB / 0.5908 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.556e-05/0.18, allocations: 51.41 kB / 0.5908 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.941e-05/0.18, allocations: 101.9 kB / 0.5909 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.299e-05/0.1801, allocations: 29.69 kB / 0.5909 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.064e-05/0.1801, allocations: 80.14 kB / 0.591 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.35e-05/0.1801, allocations: 7.906 kB / 0.591 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.16e-05/0.1802, allocations: 17.84 kB / 0.591 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.283e-05/0.1803, allocations: 310.8 kB / 0.5913 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.616e-05/0.1803, allocations: 23.92 kB / 0.5914 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.771e-05/0.1804, allocations: 23.97 kB / 0.5914 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001629/0.1806, allocations: 48.89 kB / 0.5914 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.1806, allocations: 3.938 kB / 0.5914 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002193/0.1808, allocations: 89.59 kB / 0.5915 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.1809, allocations: 4 kB / 0.5915 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.1809, allocations: 0 / 0.5915 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.032e-05/0.1809, allocations: 0 / 0.5915 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.344e-05/0.181, allocations: 11.98 kB / 0.5915 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.618e-06/0.181, allocations: 0 / 0.5915 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.747e-05/0.181, allocations: 12.28 kB / 0.5915 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.459e-06/0.181, allocations: 0 / 0.5915 GB, free: 14.7 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 6.541e-05/0.1811, allocations: 117.7 kB / 0.5917 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.229e-05/0.1811, allocations: 7.906 kB / 0.5917 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002347/0.1814, allocations: 88.78 kB / 0.5917 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.1814, allocations: 0 / 0.5917 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/0.1814, allocations: 3.938 kB / 0.5917 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.265e-06/0.1814, allocations: 0 / 0.5917 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001671/0.1816, allocations: 165.6 kB / 0.5919 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.1816, allocations: 4 kB / 0.5919 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.858e-05/0.1817, allocations: 8 kB / 0.5919 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.1817, allocations: 0 / 0.5919 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/0.1817, allocations: 7.969 kB / 0.5919 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.1817, allocations: 0 / 0.5919 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.1817, allocations: 3.984 kB / 0.5919 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002345/0.1819, allocations: 175.5 kB / 0.5921 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.157e-05/0.182, allocations: 81.09 kB / 0.5922 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.067e-05/0.182, allocations: 0 / 0.5922 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.213e-05/0.1821, allocations: 8 kB / 0.5922 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.082e-05/0.1821, allocations: 3.984 kB / 0.5922 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.836e-06/0.1821, allocations: 0 / 0.5922 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.044e-05/0.1822, allocations: 83.28 kB / 0.5923 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.523e-06/0.1822, allocations: 0 / 0.5923 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002223/0.1824, allocations: 19.97 kB / 0.5923 GB, free: 13.84 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.0005409/0.1829, allocations: 0.7202 MB / 0.593 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001979/0.1831, allocations: 39.97 kB / 0.593 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1832, allocations: 0 / 0.593 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.277e-05/0.1833, allocations: 35.98 kB / 0.5931 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002612/0.1835, allocations: 7.922 kB / 0.5931 GB, free: 13 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003822/0.1839, allocations: 142.4 kB / 0.5932 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002202/0.1842, allocations: 0.6731 MB / 0.5939 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.296e-05/0.1842, allocations: 4.062 kB / 0.5939 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.872e-05/0.1842, allocations: 19.42 kB / 0.5939 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of SimCode: time 4.4e-07/0.1842, allocations: 0 / 0.5939 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2038/0.388, allocations: 1.182 MB / 0.595 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002825/0.3883, allocations: 187.8 kB / 0.5952 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.591/1.979, allocations: 3.938 kB / 0.5952 GB, free: 10.81 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothExponential_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothExponential.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe 2>&1)