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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.0009849/0.0009849, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8339/0.8339, allocations: 133.4 MB / 146.7 MB, free: 10.79 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.458/1.458, allocations: 221.3 MB / 400.4 MB, free: 5.816 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009272/0.0009272, allocations: 104.3 kB / 483.3 MB, free: 5.812 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.775e-05/3.79e-05, allocations: 5.844 kB / 0.5601 GB, free: 87.86 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.1389, allocations: 82.31 MB / 0.6405 GB, free: 7.723 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5427/0.6816, allocations: 111.1 MB / 0.749 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002154/0.6819, allocations: 81.75 kB / 0.7491 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.0029/0.6848, allocations: 0.8715 MB / 0.75 GB, free: 27.49 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.294e-06/0.6848, allocations: 0 / 0.75 GB, free: 27.49 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.417e-06/0.6849, allocations: 0 / 0.75 GB, free: 27.49 MB / 0.5105 GB 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.0002962/0.6852, allocations: 317 kB / 0.7503 GB, free: 27.15 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.387e-05/0.6852, allocations: 11.72 kB / 0.7503 GB, free: 27.15 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.697e-05/0.6853, allocations: 30.56 kB / 0.7503 GB, free: 27.11 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.499e-05/0.6853, allocations: 0.7812 kB / 0.7503 GB, free: 27.11 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001344/0.6854, allocations: 174.6 kB / 0.7505 GB, free: 26.91 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.548e-06/0.6855, allocations: 4 kB / 0.7505 GB, free: 26.9 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.249e-05/0.6855, allocations: 7.781 kB / 0.7505 GB, free: 26.9 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.745e-05/0.6856, allocations: 35.75 kB / 0.7505 GB, free: 26.87 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.6856, allocations: 7.891 kB / 0.7505 GB, free: 26.86 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.704e-06/0.6856, allocations: 0 / 0.7505 GB, free: 26.86 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.6856, allocations: 0 / 0.7505 GB, free: 26.86 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.537e-05/0.6857, allocations: 11.75 kB / 0.7505 GB, free: 26.86 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001274/0.6858, allocations: 153.7 kB / 0.7507 GB, free: 26.66 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000158/0.686, allocations: 35.83 kB / 0.7507 GB, free: 26.64 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.738e-05/0.686, allocations: 8.672 kB / 0.7507 GB, free: 26.63 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001437/0.6862, allocations: 83.33 kB / 0.7508 GB, free: 26.54 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.91e-05/0.6862, allocations: 30.56 kB / 0.7508 GB, free: 26.5 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.6862, allocations: 0 / 0.7508 GB, free: 26.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=5): time 0.002365/0.6886, allocations: 352.2 kB / 0.7512 GB, free: 26.44 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.286e-05/0.6886, allocations: 51.41 kB / 0.7512 GB, free: 26.38 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.108e-05/0.6886, allocations: 88.31 kB / 0.7513 GB, free: 26.29 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.6887, allocations: 29.64 kB / 0.7513 GB, free: 26.25 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.625e-05/0.6887, allocations: 80.14 kB / 0.7514 GB, free: 26.17 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.261e-05/0.6888, allocations: 14.91 kB / 0.7514 GB, free: 26.16 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.007e-05/0.6888, allocations: 7.438 kB / 0.7514 GB, free: 26.16 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001138/0.6889, allocations: 310.8 kB / 0.7517 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.103e-05/0.6889, allocations: 11.69 kB / 0.7517 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.83e-05/0.689, allocations: 28.58 kB / 0.7518 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.988e-05/0.689, allocations: 13.86 kB / 0.7518 GB, free: 25.81 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.91e-07/0.6891, allocations: 0 / 0.7518 GB, free: 25.81 MB / 0.5105 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001449/0.6892, allocations: 68.55 kB / 0.7519 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.6892, allocations: 7.781 kB / 0.7519 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.6892, allocations: 0 / 0.7519 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.6893, allocations: 3.875 kB / 0.7519 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003891/0.6896, allocations: 48.83 kB / 0.7519 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.6897, allocations: 0 / 0.7519 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003218/0.69, allocations: 40.44 kB / 0.752 GB, free: 25.76 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.436e-05/0.69, allocations: 6.359 kB / 0.752 GB, free: 25.76 MB / 0.5105 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 () * 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 7.845e-05/0.6901, allocations: 116.4 kB / 0.7521 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.432e-05/0.6901, allocations: 0 / 0.7521 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002572/0.6904, allocations: 82.66 kB / 0.7521 GB, free: 25.6 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.6904, allocations: 3.594 kB / 0.7522 GB, free: 25.6 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.6904, allocations: 2.484 kB / 0.7522 GB, free: 25.6 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.6904, allocations: 4 kB / 0.7522 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003656/0.6908, allocations: 309 kB / 0.7525 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.6908, allocations: 0 / 0.7525 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000371/0.6912, allocations: 46.59 kB / 0.7525 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.6912, allocations: 3.875 kB / 0.7525 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.477e-05/0.6912, allocations: 3.938 kB / 0.7525 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.6912, allocations: 3.641 kB / 0.7525 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.6912, allocations: 0 / 0.7525 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001678/0.6914, allocations: 159.4 kB / 0.7527 GB, free: 25.15 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.924e-05/0.6914, allocations: 88.98 kB / 0.7527 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.91e-05/0.6915, allocations: 0 / 0.7527 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003601/0.6918, allocations: 41.58 kB / 0.7528 GB, free: 25.04 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.503e-05/0.6918, allocations: 288 / 0.7528 GB, free: 25.04 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.386e-05/0.6919, allocations: 6.922 kB / 0.7528 GB, free: 25.04 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 2.95e-05/0.6919, allocations: 79.22 kB / 0.7529 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6919, allocations: 0 / 0.7529 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.000223/0.6921, allocations: 15.25 kB / 0.7529 GB, free: 24.96 MB / 0.5105 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 () * 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.0004981/0.6926, allocations: 0.6921 MB / 0.7536 GB, free: 24.3 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001315/0.6928, allocations: 28.84 kB / 0.7536 GB, free: 24.3 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.6928, allocations: 0 / 0.7536 GB, free: 24.3 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 4.893e-05/0.6928, allocations: 22.42 kB / 0.7536 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001193/0.693, allocations: 3.594 kB / 0.7536 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006848/0.6937, allocations: 138.5 kB / 0.7537 GB, free: 24.18 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002624/0.6939, allocations: 0.6825 MB / 0.7544 GB, free: 23.48 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002134/0.6942, allocations: 27.84 kB / 0.7544 GB, free: 23.46 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.067e-05/0.6942, allocations: 13.95 kB / 0.7544 GB, free: 23.45 MB / 0.5105 GB Notification: Performance of SimCode: time 3.61e-07/0.6942, allocations: 0 / 0.7544 GB, free: 23.45 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01149/0.7057, allocations: 1.423 MB / 0.7558 GB, free: 23.29 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002029/0.706, allocations: 163.1 kB / 0.756 GB, free: 23.07 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.535/2.241, allocations: 3.844 kB / 0.756 GB, free: 23.07 MB / 0.5105 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/linux/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)