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.001739/0.001739, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8961/0.8961, allocations: 133.6 MB / 141.6 MB, free: 2.93 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.532/1.532, allocations: 221.5 MB / 395.4 MB, free: 10.77 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008606/0.0008605, allocations: 102.9 kB / 478.2 MB, free: 1.301 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.353e-05/2.357e-05, allocations: 4 kB / 0.5536 GB, free: 8.934 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4543/0.4543, allocations: 82.31 MB / 0.6339 GB, free: 40.83 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1438/0.5981, allocations: 110.5 MB / 0.7418 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003019/0.5985, allocations: 79.94 kB / 0.7419 GB, free: 12.19 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.002482/0.601, allocations: 0.8649 MB / 0.7427 GB, free: 11.32 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.235e-06/0.601, allocations: 0 / 0.7427 GB, free: 11.32 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.257e-06/0.601, allocations: 4 kB / 0.7427 GB, free: 11.32 MB / 0.5261 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.0002998/0.6013, allocations: 314.5 kB / 0.743 GB, free: 10.97 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.614e-05/0.6014, allocations: 8.031 kB / 0.7431 GB, free: 10.96 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.484e-05/0.6014, allocations: 0 / 0.7431 GB, free: 10.96 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001275/0.6016, allocations: 171 kB / 0.7432 GB, free: 10.75 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.768e-05/0.6016, allocations: 8 kB / 0.7432 GB, free: 10.75 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.288e-05/0.6016, allocations: 0 / 0.7432 GB, free: 10.75 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.957e-05/0.6017, allocations: 4 kB / 0.7432 GB, free: 10.74 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.97e-05/0.6018, allocations: 37.69 kB / 0.7433 GB, free: 10.7 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.735e-05/0.6018, allocations: 3.906 kB / 0.7433 GB, free: 10.7 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.6019, allocations: 0 / 0.7433 GB, free: 10.7 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-06/0.6019, allocations: 0 / 0.7433 GB, free: 10.7 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001424/0.602, allocations: 130.2 kB / 0.7434 GB, free: 10.53 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001511/0.6022, allocations: 42.5 kB / 0.7434 GB, free: 10.48 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.797e-05/0.6022, allocations: 8.859 kB / 0.7434 GB, free: 10.47 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001337/0.6023, allocations: 81.11 kB / 0.7435 GB, free: 10.37 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.892e-05/0.6024, allocations: 30.56 kB / 0.7435 GB, free: 10.33 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.6024, allocations: 0 / 0.7435 GB, free: 10.33 MB / 0.5261 GB Notification: Performance of matching and sorting (n=5): time 0.002575/0.605, allocations: 365.6 kB / 0.7439 GB, free: 9.969 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.471e-05/0.605, allocations: 55.41 kB / 0.744 GB, free: 9.902 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.983e-05/0.605, allocations: 88.94 kB / 0.744 GB, free: 9.809 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.034e-05/0.6051, allocations: 25.7 kB / 0.7441 GB, free: 9.777 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.247e-05/0.6051, allocations: 84.12 kB / 0.7441 GB, free: 9.691 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.161e-05/0.6052, allocations: 15.75 kB / 0.7442 GB, free: 9.676 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.113e-05/0.6052, allocations: 0 / 0.7442 GB, free: 9.676 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.306e-05/0.6053, allocations: 314.8 kB / 0.7445 GB, free: 9.359 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.015e-05/0.6053, allocations: 12 kB / 0.7445 GB, free: 9.348 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.739e-05/0.6054, allocations: 26.56 kB / 0.7445 GB, free: 9.312 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.794e-05/0.6055, allocations: 15.98 kB / 0.7445 GB, free: 9.297 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.6055, allocations: 0 / 0.7445 GB, free: 9.297 MB / 0.5261 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001907/0.6057, allocations: 69.47 kB / 0.7446 GB, free: 9.223 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.6057, allocations: 8.094 kB / 0.7446 GB, free: 9.215 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.6057, allocations: 4 kB / 0.7446 GB, free: 9.211 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.6057, allocations: 0 / 0.7446 GB, free: 9.211 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004007/0.6061, allocations: 55.97 kB / 0.7446 GB, free: 9.156 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.6062, allocations: 3.938 kB / 0.7446 GB, free: 9.152 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003407/0.6065, allocations: 43.97 kB / 0.7447 GB, free: 9.109 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.293e-05/0.6065, allocations: 0 / 0.7447 GB, free: 9.109 MB / 0.5261 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 8.769e-05/0.6066, allocations: 108.9 kB / 0.7448 GB, free: 8.996 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001676/0.6068, allocations: 61.62 kB / 0.7448 GB, free: 8.93 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.282e-05/0.6068, allocations: 0 / 0.7448 GB, free: 8.93 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002981/0.6071, allocations: 89.75 kB / 0.7449 GB, free: 8.832 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.6071, allocations: 0 / 0.7449 GB, free: 8.832 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.6071, allocations: 7.984 kB / 0.7449 GB, free: 8.824 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.6071, allocations: 0 / 0.7449 GB, free: 8.824 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004091/0.6076, allocations: 287.5 kB / 0.7452 GB, free: 8.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.6076, allocations: 0 / 0.7452 GB, free: 8.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000387/0.608, allocations: 55.91 kB / 0.7453 GB, free: 8.445 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.608, allocations: 0 / 0.7453 GB, free: 8.445 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.415e-05/0.608, allocations: 4 kB / 0.7453 GB, free: 8.441 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.608, allocations: 0 / 0.7453 GB, free: 8.441 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.608, allocations: 0 / 0.7453 GB, free: 8.441 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002103/0.6082, allocations: 163.4 kB / 0.7454 GB, free: 8.266 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.935e-05/0.6083, allocations: 85.09 kB / 0.7455 GB, free: 8.164 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.113e-05/0.6083, allocations: 0 / 0.7455 GB, free: 8.164 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003702/0.6087, allocations: 35.98 kB / 0.7455 GB, free: 8.129 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.337e-05/0.6087, allocations: 4 kB / 0.7455 GB, free: 8.125 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.188e-05/0.6087, allocations: 3.984 kB / 0.7456 GB, free: 8.121 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.088e-05/0.6087, allocations: 75.28 kB / 0.7456 GB, free: 8.047 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6088, allocations: 3.938 kB / 0.7456 GB, free: 8.043 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002382/0.609, allocations: 16 kB / 0.7456 GB, free: 8.027 MB / 0.5261 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.0005263/0.6095, allocations: 0.6968 MB / 0.7463 GB, free: 7.305 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001214/0.6097, allocations: 27.92 kB / 0.7463 GB, free: 7.277 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.6097, allocations: 0 / 0.7463 GB, free: 7.277 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 4.038e-05/0.6097, allocations: 15.94 kB / 0.7464 GB, free: 7.262 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001279/0.6099, allocations: 0 / 0.7464 GB, free: 7.262 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006689/0.6105, allocations: 137.8 kB / 0.7465 GB, free: 7.09 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002129/0.6108, allocations: 0.6768 MB / 0.7472 GB, free: 6.387 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002207/0.611, allocations: 28 kB / 0.7472 GB, free: 6.359 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.224e-05/0.6111, allocations: 17.19 kB / 0.7472 GB, free: 6.348 MB / 0.5261 GB Notification: Performance of SimCode: time 2.8e-07/0.6111, allocations: 0 / 0.7472 GB, free: 6.348 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01936/0.6304, allocations: 1.131 MB / 0.7483 GB, free: 5.223 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000271/0.6308, allocations: 154.2 kB / 0.7485 GB, free: 5.031 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.373/2.004, allocations: 0 / 0.7485 GB, free: 5.031 MB / 0.5261 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)