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.001009/0.001009, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.006472/0.006472, allocations: 172.6 kB / 16.27 MB, free: 6.66 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.288/1.288, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7109/0.7109, allocations: 132.3 MB / 423.8 MB, free: 1.973 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003964/0.0003965, allocations: 10.34 kB / 0.5041 GB, free: 3.777 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3231/0.3235, allocations: 81.57 MB / 0.5838 GB, free: 4.281 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.0005961/0.3242, allocations: 327.3 kB / 0.5841 GB, free: 4.062 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001011/0.3252, allocations: 1.094 MB / 0.5851 GB, free: 3.25 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.009e-05/0.3252, allocations: 0.75 kB / 0.5851 GB, free: 3.25 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.012e-05/0.3252, allocations: 0 / 0.5851 GB, free: 3.25 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001714/0.3254, allocations: 24.67 kB / 0.5852 GB, free: 3.234 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.304e-06/0.3254, allocations: 3.188 kB / 0.5852 GB, free: 3.234 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 2.855e-05/0.3255, allocations: 2.641 kB / 0.5852 GB, free: 3.234 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.57e-05/0.3255, allocations: 5.156 kB / 0.5852 GB, free: 3.23 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.263e-05/0.3255, allocations: 1.312 kB / 0.5852 GB, free: 3.23 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.939e-05/0.3255, allocations: 5.672 kB / 0.5852 GB, free: 3.227 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.693e-06/0.3256, allocations: 0.7812 kB / 0.5852 GB, free: 3.227 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.667e-05/0.3256, allocations: 24.53 kB / 0.5852 GB, free: 3.215 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.122e-06/0.3257, allocations: 8.672 kB / 0.5852 GB, free: 3.207 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.62e-05/0.3257, allocations: 27.67 kB / 0.5852 GB, free: 3.176 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 5.7e-05/0.3257, allocations: 12.69 kB / 0.5852 GB, free: 3.172 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.115e-06/0.3258, allocations: 0 / 0.5852 GB, free: 3.172 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3258, allocations: 0 / 0.5852 GB, free: 3.172 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.236e-06/0.3258, allocations: 0 / 0.5852 GB, free: 3.172 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.0001572/0.3259, allocations: 317 kB / 0.5856 GB, free: 2.82 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.326, allocations: 10.31 kB / 0.5856 GB, free: 2.82 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.981e-05/0.326, allocations: 31.69 kB / 0.5856 GB, free: 2.781 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.708e-05/0.326, allocations: 9.406 kB / 0.5856 GB, free: 2.773 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.143e-05/0.3261, allocations: 162.1 kB / 0.5858 GB, free: 2.578 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.398e-06/0.3261, allocations: 2.562 kB / 0.5858 GB, free: 2.578 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.713e-05/0.3261, allocations: 1.375 kB / 0.5858 GB, free: 2.578 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.771e-05/0.3262, allocations: 44.73 kB / 0.5858 GB, free: 2.535 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.3262, allocations: 0 / 0.5858 GB, free: 2.535 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.52e-06/0.3262, allocations: 0 / 0.5858 GB, free: 2.535 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.3262, allocations: 4.828 kB / 0.5858 GB, free: 2.531 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.946e-05/0.3262, allocations: 5.891 kB / 0.5858 GB, free: 2.531 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.377e-05/0.3263, allocations: 155.3 kB / 0.586 GB, free: 2.336 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001385/0.3265, allocations: 33.27 kB / 0.586 GB, free: 2.309 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.657e-05/0.3265, allocations: 12.67 kB / 0.586 GB, free: 2.297 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001017/0.3266, allocations: 82.52 kB / 0.5861 GB, free: 2.203 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.173e-05/0.3266, allocations: 36.14 kB / 0.5861 GB, free: 2.16 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 9.41e-07/0.3266, allocations: 0 / 0.5861 GB, free: 2.16 MB / 430.1 MB Notification: Performance of matching and sorting (n=5): time 0.003831/0.3305, allocations: 0.5704 MB / 0.5867 GB, free: 2.07 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.676e-05/0.3305, allocations: 56.75 kB / 0.5867 GB, free: 2.004 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.65e-05/0.3305, allocations: 90.42 kB / 0.5868 GB, free: 1.906 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.36e-05/0.3305, allocations: 25.7 kB / 0.5868 GB, free: 1.875 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.696e-06/0.3306, allocations: 84.8 kB / 0.5869 GB, free: 1.789 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.057e-05/0.3306, allocations: 19.12 kB / 0.5869 GB, free: 1.773 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.657e-05/0.3306, allocations: 11.64 kB / 0.5869 GB, free: 1.758 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.269e-05/0.3307, allocations: 317.4 kB / 0.5873 GB, free: 1.441 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005406/0.3312, allocations: 82.11 kB / 0.5873 GB, free: 1.434 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005436/0.3318, allocations: 104.6 kB / 0.5874 GB, free: 1.398 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001051/0.3328, allocations: 187.3 kB / 0.5876 GB, free: 1.355 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.3328, allocations: 4.781 kB / 0.5876 GB, free: 1.352 MB / 430.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001141/0.334, allocations: 220.6 kB / 0.5878 GB, free: 1.289 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/0.334, allocations: 9.891 kB / 0.5878 GB, free: 1.285 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.334, allocations: 0 / 0.5878 GB, free: 1.285 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.334, allocations: 2.125 kB / 0.5878 GB, free: 1.285 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003631/0.3344, allocations: 53.36 kB / 0.5879 GB, free: 1.277 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.3344, allocations: 2.078 kB / 0.5879 GB, free: 1.277 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003187/0.3347, allocations: 40.53 kB / 0.5879 GB, free: 1.273 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.279e-05/0.3347, allocations: 2.75 kB / 0.5879 GB, free: 1.273 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.423e-05/0.3348, allocations: 118 kB / 0.588 GB, free: 1.152 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.561e-05/0.3348, allocations: 5.906 kB / 0.588 GB, free: 1.148 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001266/0.3361, allocations: 235.3 kB / 0.5883 GB, free: 1.082 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.3361, allocations: 0 / 0.5883 GB, free: 1.082 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/0.3361, allocations: 0.875 kB / 0.5883 GB, free: 1.082 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.3361, allocations: 0.6562 kB / 0.5883 GB, free: 1.082 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001321/0.3374, allocations: 454.5 kB / 0.5887 GB, free: 0.7578 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.3375, allocations: 4.844 kB / 0.5887 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003577/0.3378, allocations: 44.81 kB / 0.5888 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.3378, allocations: 5.469 kB / 0.5888 GB, free: 0.75 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.368e-05/0.3378, allocations: 5.312 kB / 0.5888 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.3379, allocations: 0.875 kB / 0.5888 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.3379, allocations: 0 / 0.5888 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001185/0.339, allocations: 305.4 kB / 0.5891 GB, free: 0.5898 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.341e-05/0.3391, allocations: 83.2 kB / 0.5891 GB, free: 0.4922 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.866e-05/0.3391, allocations: 0.7188 kB / 0.5891 GB, free: 0.4922 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000354/0.3395, allocations: 41.3 kB / 0.5892 GB, free: 500 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.102e-05/0.3395, allocations: 2.594 kB / 0.5892 GB, free: 500 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.082e-05/0.3395, allocations: 10.03 kB / 0.5892 GB, free: 492 kB / 430.1 MB Notification: Performance of sorting global known variables: time 8.867e-06/0.3395, allocations: 75.28 kB / 0.5893 GB, free: 416 kB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3395, allocations: 0 / 0.5893 GB, free: 416 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002291/0.3397, allocations: 14.16 kB / 0.5893 GB, free: 412 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 (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.001434/0.3412, allocations: 0.8337 MB / 0.5901 GB, free: 15.72 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001202/0.3424, allocations: 183.5 kB / 0.5903 GB, free: 15.7 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.3424, allocations: 0 / 0.5903 GB, free: 15.7 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005914/0.343, allocations: 93.03 kB / 0.5904 GB, free: 15.69 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001943/0.3432, allocations: 7.812 kB / 0.5904 GB, free: 15.68 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001193/0.3444, allocations: 246.3 kB / 0.5906 GB, free: 15.53 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001971/0.3446, allocations: 0.6752 MB / 0.5913 GB, free: 14.83 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002035/0.3448, allocations: 30.11 kB / 0.5913 GB, free: 14.81 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.773e-05/0.3449, allocations: 19.25 kB / 0.5913 GB, free: 14.8 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3449, allocations: 0 / 0.5913 GB, free: 14.8 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5371/0.882, allocations: 1.433 MB / 0.5927 GB, free: 14.66 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002369/0.8822, allocations: 205.3 kB / 0.5929 GB, free: 14.41 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.556/2.439, allocations: 0 / 0.5929 GB, free: 14.41 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/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)