Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.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.SmoothExponentialDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",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.005998/0.005998, allocations: 170.6 kB / 15.11 MB, free: 5.992 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8103/0.8103, allocations: 135.2 MB / 151 MB, free: 13.82 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.544/1.544, allocations: 223.2 MB / 406.8 MB, free: 3.23 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.001111/0.001111, allocations: 100.9 kB / 489.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004747/0.0004747, allocations: 8 kB / 0.5692 GB, free: 14.04 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4198/0.4203, allocations: 82.3 MB / 0.6495 GB, free: 36.11 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1477/0.568, allocations: 110.9 MB / 0.7578 GB, free: 5.105 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002165/0.5683, allocations: 79.95 kB / 0.7579 GB, free: 5.027 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.005633/0.5739, allocations: 2.046 MB / 0.7599 GB, free: 2.98 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.763e-06/0.5739, allocations: 3.938 kB / 0.7599 GB, free: 2.977 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.5739, allocations: 0 / 0.7599 GB, free: 2.977 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002911/0.5742, allocations: 335.4 kB / 0.7602 GB, free: 2.602 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.5743, allocations: 8.031 kB / 0.7602 GB, free: 2.594 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.196e-05/0.5743, allocations: 30.56 kB / 0.7602 GB, free: 2.555 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.618e-05/0.5744, allocations: 7.906 kB / 0.7602 GB, free: 2.547 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001065/0.5745, allocations: 171 kB / 0.7604 GB, free: 2.34 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.087e-06/0.5745, allocations: 4 kB / 0.7604 GB, free: 2.336 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.997e-05/0.5745, allocations: 8 kB / 0.7604 GB, free: 2.328 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001035/0.5746, allocations: 41.67 kB / 0.7604 GB, free: 2.281 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.632e-05/0.5746, allocations: 4 kB / 0.7605 GB, free: 2.277 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.5747, allocations: 0 / 0.7605 GB, free: 2.277 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.5747, allocations: 0 / 0.7605 GB, free: 2.277 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.869e-05/0.5747, allocations: 15.98 kB / 0.7605 GB, free: 2.262 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001581/0.5749, allocations: 161.6 kB / 0.7606 GB, free: 2.055 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 9.198e-05/0.575, allocations: 54.56 kB / 0.7607 GB, free: 1.992 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 8.884e-05/0.5751, allocations: 77.11 kB / 0.7607 GB, free: 1.898 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.422e-05/0.5751, allocations: 30.56 kB / 0.7608 GB, free: 1.859 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=5): time 1.032e-06/0.5751, allocations: 4 kB / 0.7608 GB, free: 1.855 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7): time 0.001162/0.5763, allocations: 488.4 kB / 0.7612 GB, free: 1.305 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.66e-05/0.5764, allocations: 55.34 kB / 0.7613 GB, free: 1.238 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.55e-05/0.5764, allocations: 89 kB / 0.7614 GB, free: 1.145 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.973e-05/0.5764, allocations: 33.7 kB / 0.7614 GB, free: 1.105 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.318e-05/0.5765, allocations: 84.12 kB / 0.7615 GB, free: 1.02 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.063e-05/0.5765, allocations: 19.66 kB / 0.7615 GB, free: 1 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.818e-06/0.5765, allocations: 7.938 kB / 0.7615 GB, free: 0.9922 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001191/0.5767, allocations: 310.8 kB / 0.7618 GB, free: 0.6797 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.035e-05/0.5767, allocations: 15.98 kB / 0.7618 GB, free: 0.6641 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.995e-05/0.5767, allocations: 8 kB / 0.7618 GB, free: 0.6562 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.655e-05/0.5768, allocations: 16.08 kB / 0.7619 GB, free: 0.6406 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.5768, allocations: 4 kB / 0.7619 GB, free: 0.6367 MB / 0.5261 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001153/0.5769, allocations: 77.58 kB / 0.7619 GB, free: 0.5547 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.5769, allocations: 4 kB / 0.7619 GB, free: 0.5508 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.5769, allocations: 0 / 0.7619 GB, free: 0.5508 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.043e-05/0.5769, allocations: 0 / 0.7619 GB, free: 0.5508 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.615e-05/0.577, allocations: 15.94 kB / 0.762 GB, free: 0.5352 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.577, allocations: 0 / 0.762 GB, free: 0.5352 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.36e-05/0.5771, allocations: 0 / 0.762 GB, free: 0.5352 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.083e-06/0.5771, allocations: 4 kB / 0.762 GB, free: 0.5312 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (8): * Single equations (assignments): 8 * 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.234e-05/0.5772, allocations: 121.8 kB / 0.7621 GB, free: 412 kB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.017e-06/0.5772, allocations: 4 kB / 0.7621 GB, free: 408 kB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001738/0.5774, allocations: 81.62 kB / 0.7622 GB, free: 316 kB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.5774, allocations: 4 kB / 0.7622 GB, free: 312 kB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.5774, allocations: 3.938 kB / 0.7622 GB, free: 308 kB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.5774, allocations: 0 / 0.7622 GB, free: 308 kB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001204/0.5775, allocations: 157.7 kB / 0.7623 GB, free: 100 kB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.5775, allocations: 3.953 kB / 0.7623 GB, free: 96 kB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.417e-05/0.5776, allocations: 15.98 kB / 0.7623 GB, free: 80 kB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.5776, allocations: 4 kB / 0.7623 GB, free: 76 kB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.859e-06/0.5777, allocations: 4 kB / 0.7623 GB, free: 72 kB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.5777, allocations: 192 / 0.7623 GB, free: 72 kB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.5777, allocations: 0 / 0.7623 GB, free: 72 kB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001931/0.5779, allocations: 129.3 kB / 0.7625 GB, free: 15.93 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.054e-05/0.5779, allocations: 81.06 kB / 0.7625 GB, free: 15.83 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.616e-05/0.5779, allocations: 4 kB / 0.7625 GB, free: 15.82 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.952e-05/0.578, allocations: 12.08 kB / 0.7626 GB, free: 15.81 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.395e-05/0.578, allocations: 0 / 0.7626 GB, free: 15.81 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.264e-06/0.578, allocations: 4 kB / 0.7626 GB, free: 15.81 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 2.984e-05/0.5781, allocations: 75.28 kB / 0.7626 GB, free: 15.73 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5781, allocations: 3.938 kB / 0.7626 GB, free: 15.73 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.000226/0.5783, allocations: 47.92 kB / 0.7627 GB, free: 15.68 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (8): * Single equations (assignments): 8 * 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.0005984/0.5789, allocations: 0.6943 MB / 0.7634 GB, free: 14.96 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001109/0.579, allocations: 35.98 kB / 0.7634 GB, free: 14.93 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.579, allocations: 0 / 0.7634 GB, free: 14.93 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 3.523e-05/0.5791, allocations: 27.92 kB / 0.7634 GB, free: 14.9 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001017/0.5792, allocations: 2.234 kB / 0.7634 GB, free: 14.9 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006013/0.5798, allocations: 426.8 kB / 0.7638 GB, free: 14.43 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002588/0.5801, allocations: 0.6887 MB / 0.7645 GB, free: 13.72 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.768e-05/0.5801, allocations: 4.188 kB / 0.7645 GB, free: 13.71 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.322e-05/0.5801, allocations: 11.44 kB / 0.7645 GB, free: 13.7 MB / 0.5417 GB Notification: Performance of SimCode: time 2.41e-07/0.5802, allocations: 0 / 0.7645 GB, free: 13.7 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01206/0.5922, allocations: 1.47 MB / 0.766 GB, free: 12.39 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003049/0.5926, allocations: 191.5 kB / 0.7661 GB, free: 12.15 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.476/2.069, allocations: 0 / 0.7661 GB, free: 12.15 MB / 0.5417 GB (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)