Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,fileNamePrefix="IDEAS_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.00154/0.00154, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.001868/0.001868, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.521/2.521, allocations: 223.2 MB / 239.9 MB, free: 5.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.215/1.215, allocations: 132.2 MB / 423.2 MB, free: 2.172 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005171/0.0005171, allocations: 12 kB / 0.5033 GB, free: 4.168 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5944/0.5949, allocations: 81.58 MB / 0.583 GB, free: 4.016 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.0008087/0.5958, allocations: 320.7 kB / 0.5833 GB, free: 3.801 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001507/0.5973, allocations: 1.073 MB / 0.5843 GB, free: 3.004 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.051e-05/0.5974, allocations: 0 / 0.5843 GB, free: 3.004 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.161e-05/0.5974, allocations: 3.938 kB / 0.5843 GB, free: 3 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002305/0.5976, allocations: 17.47 kB / 0.5844 GB, free: 2.992 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.665e-06/0.5976, allocations: 1.469 kB / 0.5844 GB, free: 2.992 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 3.673e-05/0.5977, allocations: 3.938 kB / 0.5844 GB, free: 2.988 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.841e-05/0.5977, allocations: 2.047 kB / 0.5844 GB, free: 2.988 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.666e-05/0.5978, allocations: 1.281 kB / 0.5844 GB, free: 2.988 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.921e-05/0.5978, allocations: 10.19 kB / 0.5844 GB, free: 2.98 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.824e-06/0.5978, allocations: 0 / 0.5844 GB, free: 2.98 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001079/0.5979, allocations: 16.31 kB / 0.5844 GB, free: 2.977 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.338e-06/0.5979, allocations: 0.75 kB / 0.5844 GB, free: 2.977 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.44e-05/0.598, allocations: 26.64 kB / 0.5844 GB, free: 2.945 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 6.308e-05/0.598, allocations: 12.97 kB / 0.5844 GB, free: 2.938 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.394e-06/0.598, allocations: 4.594 kB / 0.5844 GB, free: 2.934 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.598, allocations: 0 / 0.5844 GB, free: 2.934 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.877e-06/0.598, allocations: 0 / 0.5844 GB, free: 2.934 MB / 430.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.0002121/0.5983, allocations: 317.3 kB / 0.5847 GB, free: 2.582 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.227e-05/0.5983, allocations: 10.09 kB / 0.5847 GB, free: 2.582 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.608e-05/0.5984, allocations: 35.16 kB / 0.5848 GB, free: 2.539 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.403e-05/0.5984, allocations: 5.125 kB / 0.5848 GB, free: 2.535 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.95e-05/0.5985, allocations: 164.4 kB / 0.5849 GB, free: 2.336 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.102e-05/0.5985, allocations: 1.188 kB / 0.5849 GB, free: 2.336 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.37e-05/0.5985, allocations: 2.047 kB / 0.5849 GB, free: 2.336 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001083/0.5986, allocations: 40.16 kB / 0.585 GB, free: 2.297 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.5986, allocations: 0 / 0.585 GB, free: 2.297 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.286e-06/0.5987, allocations: 1.406 kB / 0.585 GB, free: 2.297 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.5987, allocations: 4 kB / 0.585 GB, free: 2.293 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.715e-05/0.5987, allocations: 13.5 kB / 0.585 GB, free: 2.285 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001328/0.5989, allocations: 155.1 kB / 0.5851 GB, free: 2.09 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002048/0.5991, allocations: 33.06 kB / 0.5852 GB, free: 2.062 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001447/0.5992, allocations: 82.56 kB / 0.5853 GB, free: 1.969 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.823e-05/0.5993, allocations: 31.78 kB / 0.5853 GB, free: 1.93 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.5993, allocations: 4 kB / 0.5853 GB, free: 1.926 MB / 430.1 MB Notification: Performance of matching and sorting (n=5): time 0.004791/0.6041, allocations: 0.5659 MB / 0.5858 GB, free: 1.84 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.198e-05/0.6041, allocations: 52.38 kB / 0.5859 GB, free: 1.777 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.125e-05/0.6041, allocations: 91.23 kB / 0.586 GB, free: 1.68 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.713e-05/0.6042, allocations: 25.7 kB / 0.586 GB, free: 1.648 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.535e-05/0.6042, allocations: 81.02 kB / 0.5861 GB, free: 1.566 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.193e-05/0.6042, allocations: 23.08 kB / 0.5861 GB, free: 1.547 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.046e-05/0.6043, allocations: 3.938 kB / 0.5861 GB, free: 1.543 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.315e-05/0.6043, allocations: 317.7 kB / 0.5864 GB, free: 1.227 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009663/0.6053, allocations: 86.56 kB / 0.5865 GB, free: 1.215 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006786/0.606, allocations: 100.4 kB / 0.5866 GB, free: 1.184 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006481/0.6067, allocations: 87.98 kB / 0.5867 GB, free: 1.172 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.6067, allocations: 0 / 0.5867 GB, free: 1.172 MB / 430.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001367/0.608, allocations: 212.3 kB / 0.5869 GB, free: 1.117 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.445e-05/0.6081, allocations: 5.906 kB / 0.5869 GB, free: 1.117 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/0.6081, allocations: 2.484 kB / 0.5869 GB, free: 1.117 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.6081, allocations: 4.031 kB / 0.5869 GB, free: 1.113 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004337/0.6085, allocations: 46.44 kB / 0.5869 GB, free: 1.113 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.193e-06/0.6086, allocations: 4.797 kB / 0.5869 GB, free: 1.109 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003684/0.6089, allocations: 36.69 kB / 0.587 GB, free: 1.109 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.837e-05/0.609, allocations: 7.344 kB / 0.587 GB, free: 1.105 MB / 430.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.619e-05/0.6091, allocations: 120.4 kB / 0.5871 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.877e-05/0.6091, allocations: 4.656 kB / 0.5871 GB, free: 0.9766 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001504/0.6106, allocations: 230.8 kB / 0.5873 GB, free: 0.9141 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.6106, allocations: 1.594 kB / 0.5873 GB, free: 0.9141 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.6106, allocations: 1.375 kB / 0.5873 GB, free: 0.9141 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.6106, allocations: 5.094 kB / 0.5873 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001607/0.6122, allocations: 458.3 kB / 0.5878 GB, free: 0.582 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.6123, allocations: 0.75 kB / 0.5878 GB, free: 0.582 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004318/0.6127, allocations: 47.72 kB / 0.5878 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.6127, allocations: 1.25 kB / 0.5878 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.664e-05/0.6127, allocations: 5.922 kB / 0.5878 GB, free: 0.5742 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.6127, allocations: 1.156 kB / 0.5878 GB, free: 0.5742 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.6128, allocations: 0 / 0.5878 GB, free: 0.5742 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001404/0.6142, allocations: 317.6 kB / 0.5881 GB, free: 416 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.206e-05/0.6142, allocations: 78.48 kB / 0.5882 GB, free: 320 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.628e-05/0.6142, allocations: 1.125 kB / 0.5882 GB, free: 320 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004031/0.6146, allocations: 44.28 kB / 0.5882 GB, free: 312 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.459e-05/0.6147, allocations: 2.344 kB / 0.5882 GB, free: 312 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.42e-05/0.6147, allocations: 3.312 kB / 0.5882 GB, free: 312 kB / 430.1 MB Notification: Performance of sorting global known variables: time 1.498e-05/0.6147, allocations: 75.28 kB / 0.5883 GB, free: 236 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6147, allocations: 0 / 0.5883 GB, free: 236 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.000293/0.615, allocations: 18 kB / 0.5883 GB, free: 228 kB / 430.1 MB 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 (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.001802/0.6168, allocations: 0.8365 MB / 0.5892 GB, free: 15.54 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001365/0.6182, allocations: 174.8 kB / 0.5893 GB, free: 15.52 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.6182, allocations: 192 / 0.5893 GB, free: 15.52 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006614/0.6189, allocations: 96.81 kB / 0.5894 GB, free: 15.51 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001467/0.6191, allocations: 1.688 kB / 0.5894 GB, free: 15.51 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001423/0.6205, allocations: 251 kB / 0.5897 GB, free: 15.35 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002684/0.6208, allocations: 0.6776 MB / 0.5903 GB, free: 14.65 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002541/0.621, allocations: 29.8 kB / 0.5903 GB, free: 14.63 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.678e-05/0.6211, allocations: 11.94 kB / 0.5904 GB, free: 14.62 MB / 446.1 MB Notification: Performance of SimCode: time 3.41e-07/0.6211, allocations: 0 / 0.5904 GB, free: 14.62 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01599/0.6371, allocations: 1.409 MB / 0.5917 GB, free: 14.5 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002575/0.6374, allocations: 192.1 kB / 0.5919 GB, free: 14.26 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.381/3.019, allocations: 0 / 0.5919 GB, free: 14.26 MB / 446.1 MB (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Functions_Examples_SmoothHeavisideDerivatives.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) Environment - environmentSimulation: