Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.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.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives",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.001105/0.001105, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001159/0.001159, allocations: 192.8 kB / 16.25 MB, free: 6.633 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.381/1.381, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9376/0.9376, allocations: 135.1 MB / 425.2 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001471/0.001471, allocations: 64.19 kB / 0.505 GB, free: 5.551 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1571/0.1586, allocations: 80.93 MB / 0.584 GB, free: 4.789 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.002331/0.1609, allocations: 0.6466 MB / 0.5846 GB, free: 4.133 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001631/0.1626, allocations: 1.09 MB / 0.5857 GB, free: 3.027 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.449e-05/0.1626, allocations: 4 kB / 0.5857 GB, free: 3.023 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.601e-05/0.1627, allocations: 0 / 0.5857 GB, free: 3.023 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002557/0.1629, allocations: 19.92 kB / 0.5857 GB, free: 3.004 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.158e-06/0.163, allocations: 0 / 0.5857 GB, free: 3.004 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.317e-05/0.163, allocations: 4 kB / 0.5857 GB, free: 3 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.215e-05/0.1631, allocations: 3.984 kB / 0.5857 GB, free: 2.996 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.617e-05/0.1631, allocations: 3.938 kB / 0.5857 GB, free: 2.992 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.322e-05/0.1631, allocations: 3.938 kB / 0.5857 GB, free: 2.988 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.049e-05/0.1631, allocations: 7.984 kB / 0.5857 GB, free: 2.98 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001019/0.1632, allocations: 23.92 kB / 0.5858 GB, free: 2.957 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.63e-06/0.1633, allocations: 0 / 0.5858 GB, free: 2.957 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.236e-05/0.1633, allocations: 4 kB / 0.5858 GB, free: 2.953 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.897e-05/0.1634, allocations: 15.91 kB / 0.5858 GB, free: 2.938 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.1634, allocations: 0 / 0.5858 GB, free: 2.938 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1634, allocations: 0 / 0.5858 GB, free: 2.938 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.107e-06/0.1634, allocations: 0 / 0.5858 GB, free: 2.938 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.0002481/0.1636, allocations: 327.5 kB / 0.5861 GB, free: 2.57 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.1637, allocations: 8.031 kB / 0.5861 GB, free: 2.562 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.025e-05/0.1637, allocations: 30.75 kB / 0.5861 GB, free: 2.523 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.27e-05/0.1637, allocations: 0.9375 kB / 0.5861 GB, free: 2.523 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.405e-05/0.1638, allocations: 168.4 kB / 0.5863 GB, free: 2.32 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.935e-06/0.1639, allocations: 384 / 0.5863 GB, free: 2.32 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.694e-05/0.1639, allocations: 12.27 kB / 0.5863 GB, free: 2.309 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.874e-05/0.164, allocations: 37.81 kB / 0.5863 GB, free: 2.266 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.164, allocations: 0 / 0.5863 GB, free: 2.266 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.205e-06/0.164, allocations: 0 / 0.5863 GB, free: 2.266 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.164, allocations: 0 / 0.5863 GB, free: 2.266 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.604e-05/0.1641, allocations: 11.92 kB / 0.5864 GB, free: 2.254 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001341/0.1642, allocations: 153.7 kB / 0.5865 GB, free: 2.055 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001707/0.1644, allocations: 38.61 kB / 0.5865 GB, free: 2.008 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.06e-05/0.1644, allocations: 8.859 kB / 0.5865 GB, free: 1.996 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001461/0.1646, allocations: 85.19 kB / 0.5866 GB, free: 1.895 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.77e-05/0.1646, allocations: 38.5 kB / 0.5867 GB, free: 1.848 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.383e-06/0.1646, allocations: 0 / 0.5867 GB, free: 1.848 MB / 494.1 MB Notification: Performance of matching and sorting (n=5): time 0.004382/0.169, allocations: 0.564 MB / 0.5872 GB, free: 1.277 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.454e-05/0.169, allocations: 55.41 kB / 0.5873 GB, free: 1.211 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.067e-05/0.1691, allocations: 93.86 kB / 0.5874 GB, free: 1.109 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.033e-05/0.1691, allocations: 25.7 kB / 0.5874 GB, free: 1.078 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.411e-05/0.1691, allocations: 84.14 kB / 0.5875 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.329e-05/0.1692, allocations: 7.812 kB / 0.5875 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.803e-05/0.1693, allocations: 29.58 kB / 0.5875 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.934e-05/0.1694, allocations: 310.8 kB / 0.5878 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006144/0.17, allocations: 87.95 kB / 0.5879 GB, free: 0.5508 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006232/0.1706, allocations: 106.5 kB / 0.588 GB, free: 448 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001138/0.1718, allocations: 182.5 kB / 0.5881 GB, free: 256 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.1718, allocations: 0 / 0.5881 GB, free: 256 kB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001222/0.173, allocations: 225.4 kB / 0.5884 GB, free: 24 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.173, allocations: 7.938 kB / 0.5884 GB, free: 16 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.173, allocations: 0 / 0.5884 GB, free: 16 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.1731, allocations: 4 kB / 0.5884 GB, free: 12 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004164/0.1735, allocations: 48.19 kB / 0.5884 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.171e-06/0.1735, allocations: 3.938 kB / 0.5884 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003514/0.1738, allocations: 47.97 kB / 0.5885 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.781e-05/0.1739, allocations: 4 kB / 0.5885 GB, free: 15.91 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (5): * Single equations (assignments): 5 * 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 8.368e-05/0.174, allocations: 109.8 kB / 0.5886 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.04e-05/0.174, allocations: 3.938 kB / 0.5886 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001356/0.1753, allocations: 241 kB / 0.5888 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.1754, allocations: 0 / 0.5888 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.1754, allocations: 3.984 kB / 0.5888 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.1754, allocations: 0 / 0.5888 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001448/0.1768, allocations: 450.5 kB / 0.5892 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.1768, allocations: 0 / 0.5892 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003797/0.1772, allocations: 56.33 kB / 0.5893 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.1772, allocations: 0 / 0.5893 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.534e-05/0.1773, allocations: 4 kB / 0.5893 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.1773, allocations: 0 / 0.5893 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.1773, allocations: 0 / 0.5893 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001214/0.1785, allocations: 307.4 kB / 0.5896 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.164e-05/0.1786, allocations: 85 kB / 0.5897 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.318e-05/0.1786, allocations: 0 / 0.5897 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003795/0.179, allocations: 43.97 kB / 0.5897 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.408e-05/0.179, allocations: 0 / 0.5897 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.324e-05/0.179, allocations: 4.188 kB / 0.5897 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.687e-05/0.1791, allocations: 79.28 kB / 0.5898 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1791, allocations: 0 / 0.5898 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002467/0.1793, allocations: 12 kB / 0.5898 GB, free: 14.43 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 (5): * Single equations (assignments): 5 * 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.001532/0.1808, allocations: 0.8489 MB / 0.5906 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001269/0.1821, allocations: 187.9 kB / 0.5908 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.1821, allocations: 0 / 0.5908 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006031/0.1828, allocations: 92.08 kB / 0.5909 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002105/0.183, allocations: 5.156 kB / 0.5909 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001243/0.1842, allocations: 254.5 kB / 0.5912 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001951/0.1844, allocations: 0.6729 MB / 0.5918 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002298/0.1847, allocations: 35.98 kB / 0.5918 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.081e-05/0.1847, allocations: 7.438 kB / 0.5919 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of SimCode: time 2.154e-06/0.1847, allocations: 0 / 0.5919 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01068/0.1954, allocations: 1.535 MB / 0.5934 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001724/0.1956, allocations: 214.4 kB / 0.5936 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.651/1.847, allocations: 2.109 kB / 0.5936 GB, free: 10.62 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1)