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.001387/0.001391, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001646/0.001646, allocations: 194.9 kB / 16.14 MB, free: 6.656 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.333/1.333, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8945/0.8945, allocations: 135.1 MB / 425.1 MB, free: 12.05 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 67.73 kB / 0.5048 GB, free: 5.621 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1505/0.1518, allocations: 80.93 MB / 0.5838 GB, free: 4.867 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001754/0.1536, allocations: 0.6388 MB / 0.5844 GB, free: 4.219 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001267/0.1549, allocations: 1.098 MB / 0.5855 GB, free: 3.105 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.189e-05/0.1549, allocations: 0 / 0.5855 GB, free: 3.105 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.072e-05/0.1549, allocations: 4 kB / 0.5855 GB, free: 3.102 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001891/0.1551, allocations: 19.92 kB / 0.5855 GB, free: 3.082 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.314e-06/0.1551, allocations: 0 / 0.5855 GB, free: 3.082 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.011e-05/0.1552, allocations: 4 kB / 0.5855 GB, free: 3.078 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.556e-05/0.1552, allocations: 0 / 0.5855 GB, free: 3.078 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.607e-05/0.1552, allocations: 3.938 kB / 0.5856 GB, free: 3.074 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.995e-05/0.1553, allocations: 11.92 kB / 0.5856 GB, free: 3.062 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.053e-06/0.1553, allocations: 0 / 0.5856 GB, free: 3.062 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.811e-05/0.1554, allocations: 19.92 kB / 0.5856 GB, free: 3.043 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.34e-06/0.1554, allocations: 0 / 0.5856 GB, free: 3.043 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.289e-05/0.1554, allocations: 4 kB / 0.5856 GB, free: 3.039 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.115e-05/0.1555, allocations: 23.91 kB / 0.5856 GB, free: 3.016 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.1555, allocations: 0 / 0.5856 GB, free: 3.016 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.81e-07/0.1555, allocations: 0 / 0.5856 GB, free: 3.016 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.286e-06/0.1555, allocations: 4 kB / 0.5856 GB, free: 3.012 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.0002561/0.1558, allocations: 311.6 kB / 0.5859 GB, free: 2.66 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.1558, allocations: 8.031 kB / 0.5859 GB, free: 2.652 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.319e-05/0.1559, allocations: 42.69 kB / 0.586 GB, free: 2.602 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.084e-05/0.1559, allocations: 0.9375 kB / 0.586 GB, free: 2.602 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.932e-05/0.156, allocations: 168.4 kB / 0.5861 GB, free: 2.398 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.001e-05/0.156, allocations: 4.375 kB / 0.5861 GB, free: 2.395 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.962e-05/0.156, allocations: 4.281 kB / 0.5861 GB, free: 2.391 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.604e-05/0.1561, allocations: 37.83 kB / 0.5862 GB, free: 2.348 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.918e-06/0.1561, allocations: 3.984 kB / 0.5862 GB, free: 2.344 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.552e-06/0.1561, allocations: 0 / 0.5862 GB, free: 2.344 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.1562, allocations: 4 kB / 0.5862 GB, free: 2.34 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.33e-05/0.1562, allocations: 7.984 kB / 0.5862 GB, free: 2.332 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001262/0.1563, allocations: 145.7 kB / 0.5863 GB, free: 2.141 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001733/0.1565, allocations: 38.55 kB / 0.5864 GB, free: 2.094 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.255e-05/0.1566, allocations: 12.86 kB / 0.5864 GB, free: 2.078 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001339/0.1567, allocations: 85.19 kB / 0.5864 GB, free: 1.977 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.105e-05/0.1567, allocations: 34.5 kB / 0.5865 GB, free: 1.934 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.1567, allocations: 0 / 0.5865 GB, free: 1.934 MB / 494.1 MB Notification: Performance of matching and sorting (n=5): time 0.004294/0.161, allocations: 0.5679 MB / 0.587 GB, free: 1.359 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.391e-05/0.1611, allocations: 51.41 kB / 0.5871 GB, free: 1.297 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.405e-05/0.1611, allocations: 93.86 kB / 0.5872 GB, free: 1.195 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.864e-05/0.1612, allocations: 29.7 kB / 0.5872 GB, free: 1.16 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.545e-05/0.1612, allocations: 80.14 kB / 0.5873 GB, free: 1.078 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.385e-05/0.1612, allocations: 19.8 kB / 0.5873 GB, free: 1.059 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.27e-05/0.1613, allocations: 21.66 kB / 0.5873 GB, free: 1.031 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.99e-05/0.1614, allocations: 314.8 kB / 0.5876 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005943/0.162, allocations: 79.95 kB / 0.5877 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000587/0.1626, allocations: 114.5 kB / 0.5878 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001101/0.1637, allocations: 186.5 kB / 0.588 GB, free: 332 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.1637, allocations: 0 / 0.588 GB, free: 332 kB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001218/0.1649, allocations: 217.5 kB / 0.5882 GB, free: 108 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.165, allocations: 4 kB / 0.5882 GB, free: 104 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.165, allocations: 0 / 0.5882 GB, free: 104 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.165, allocations: 11.92 kB / 0.5882 GB, free: 92 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003816/0.1654, allocations: 51.94 kB / 0.5883 GB, free: 40 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.962e-06/0.1654, allocations: 0 / 0.5883 GB, free: 40 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003304/0.1657, allocations: 39.98 kB / 0.5883 GB, free: 0 / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.422e-05/0.1658, allocations: 4.047 kB / 0.5883 GB, free: 15.99 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.398e-05/0.1659, allocations: 109.8 kB / 0.5884 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.004e-05/0.1659, allocations: 7.938 kB / 0.5884 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001326/0.1672, allocations: 237.3 kB / 0.5886 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.1672, allocations: 3.938 kB / 0.5886 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.1672, allocations: 4 kB / 0.5886 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.1673, allocations: 0 / 0.5886 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001512/0.1688, allocations: 450.5 kB / 0.5891 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.1688, allocations: 0 / 0.5891 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003765/0.1692, allocations: 55.97 kB / 0.5891 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.1692, allocations: 0 / 0.5891 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.605e-05/0.1692, allocations: 0 / 0.5891 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1692, allocations: 7.938 kB / 0.5891 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.1692, allocations: 0 / 0.5891 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001197/0.1704, allocations: 303.4 kB / 0.5894 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.954e-05/0.1705, allocations: 81.02 kB / 0.5895 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.409e-05/0.1705, allocations: 0 / 0.5895 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003623/0.1709, allocations: 44.39 kB / 0.5895 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.566e-05/0.1709, allocations: 4 kB / 0.5895 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.166e-05/0.1709, allocations: 4 kB / 0.5895 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.764e-05/0.1709, allocations: 79.28 kB / 0.5896 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1709, allocations: 0 / 0.5896 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000257/0.1712, allocations: 12 kB / 0.5896 GB, free: 14.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 (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.001627/0.1728, allocations: 0.8528 MB / 0.5905 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001225/0.1741, allocations: 180 kB / 0.5906 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1741, allocations: 3.938 kB / 0.5906 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005672/0.1747, allocations: 88.08 kB / 0.5907 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.0002198/0.1749, allocations: 7.984 kB / 0.5907 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001253/0.1762, allocations: 240.3 kB / 0.591 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002465/0.1764, allocations: 0.677 MB / 0.5916 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002279/0.1767, allocations: 36.31 kB / 0.5917 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.9e-05/0.1767, allocations: 11.44 kB / 0.5917 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.1767, allocations: 0 / 0.5917 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01101/0.1878, allocations: 1.492 MB / 0.5931 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001901/0.188, allocations: 216.8 kB / 0.5933 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.642/1.83, allocations: 0 / 0.5933 GB, free: 10.74 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)