Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="IDEAS_dev_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.009282/0.009282, allocations: 171.9 kB / 15.12 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.883/0.883, allocations: 135.2 MB / 151 MB, free: 13.77 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.471/1.471, allocations: 223.2 MB / 406.8 MB, free: 3.211 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.0008661/0.000866, allocations: 96.08 kB / 489.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003578/0.0003578, allocations: 12 kB / 0.5692 GB, free: 14.03 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3819/0.3823, allocations: 82.31 MB / 0.6495 GB, free: 36.09 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1545/0.5369, allocations: 110.9 MB / 0.7578 GB, free: 5.09 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002487/0.5372, allocations: 71.95 kB / 0.7579 GB, free: 5.02 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.005833/0.5431, allocations: 2.046 MB / 0.7599 GB, free: 2.973 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.933e-06/0.5431, allocations: 0 / 0.7599 GB, free: 2.973 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.394e-06/0.5431, allocations: 8 kB / 0.7599 GB, free: 2.965 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.0004444/0.5436, allocations: 327.4 kB / 0.7602 GB, free: 2.598 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 7.272e-05/0.5436, allocations: 12.02 kB / 0.7602 GB, free: 2.586 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.066e-05/0.5437, allocations: 38.56 kB / 0.7602 GB, free: 2.539 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.243e-05/0.5438, allocations: 3.906 kB / 0.7602 GB, free: 2.535 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000152/0.5439, allocations: 163 kB / 0.7604 GB, free: 2.336 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.81e-05/0.544, allocations: 4 kB / 0.7604 GB, free: 2.332 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.845e-05/0.544, allocations: 3.938 kB / 0.7604 GB, free: 2.328 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001514/0.5442, allocations: 49.69 kB / 0.7604 GB, free: 2.273 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.5442, allocations: 0 / 0.7604 GB, free: 2.273 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.617e-05/0.5442, allocations: 4 kB / 0.7605 GB, free: 2.27 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.5442, allocations: 0 / 0.7605 GB, free: 2.27 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.023e-05/0.5443, allocations: 11.98 kB / 0.7605 GB, free: 2.258 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002365/0.5445, allocations: 169.6 kB / 0.7606 GB, free: 2.043 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001204/0.5447, allocations: 46.5 kB / 0.7607 GB, free: 1.988 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001427/0.5448, allocations: 81.11 kB / 0.7607 GB, free: 1.891 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.714e-05/0.5449, allocations: 38.55 kB / 0.7608 GB, free: 1.844 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=5): time 3.156e-06/0.5449, allocations: 3.984 kB / 0.7608 GB, free: 1.84 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7): time 0.001599/0.5465, allocations: 480.6 kB / 0.7612 GB, free: 1.297 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.368e-05/0.5466, allocations: 59.39 kB / 0.7613 GB, free: 1.227 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.909e-05/0.5466, allocations: 85 kB / 0.7614 GB, free: 1.137 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.946e-05/0.5467, allocations: 25.7 kB / 0.7614 GB, free: 1.105 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.508e-05/0.5467, allocations: 84.27 kB / 0.7615 GB, free: 1.02 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.099e-05/0.5468, allocations: 27.59 kB / 0.7615 GB, free: 0.9922 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.33e-06/0.5468, allocations: 0 / 0.7615 GB, free: 0.9922 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.5469, allocations: 318.8 kB / 0.7618 GB, free: 0.6719 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.078e-05/0.547, allocations: 15.94 kB / 0.7618 GB, free: 0.6562 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.19e-05/0.547, allocations: 11.98 kB / 0.7618 GB, free: 0.6445 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.172e-05/0.5471, allocations: 19.95 kB / 0.7619 GB, free: 0.625 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.5471, allocations: 0 / 0.7619 GB, free: 0.625 MB / 0.5261 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001516/0.5473, allocations: 69.58 kB / 0.7619 GB, free: 0.5508 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.448e-05/0.5473, allocations: 9.25 kB / 0.7619 GB, free: 0.543 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.5473, allocations: 4 kB / 0.7619 GB, free: 0.5391 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.5473, allocations: 0 / 0.7619 GB, free: 0.5391 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001309/0.5475, allocations: 23.98 kB / 0.762 GB, free: 0.5156 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.5475, allocations: 0 / 0.762 GB, free: 0.5156 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.332e-05/0.5475, allocations: 0 / 0.762 GB, free: 0.5156 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-06/0.5475, allocations: 0 / 0.762 GB, free: 0.5156 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 0.0001015/0.5477, allocations: 121.7 kB / 0.7621 GB, free: 396 kB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.348e-05/0.5477, allocations: 0 / 0.7621 GB, free: 396 kB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002218/0.5479, allocations: 85.58 kB / 0.7622 GB, free: 300 kB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.5479, allocations: 0 / 0.7622 GB, free: 300 kB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.5479, allocations: 0 / 0.7622 GB, free: 300 kB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.5479, allocations: 0 / 0.7622 GB, free: 300 kB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001573/0.5481, allocations: 169.6 kB / 0.7623 GB, free: 80 kB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.5481, allocations: 3.953 kB / 0.7623 GB, free: 76 kB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001141/0.5482, allocations: 15.94 kB / 0.7623 GB, free: 60 kB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.5483, allocations: 0 / 0.7623 GB, free: 60 kB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.291e-05/0.5483, allocations: 4 kB / 0.7623 GB, free: 56 kB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.5483, allocations: 0 / 0.7623 GB, free: 56 kB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.5483, allocations: 7.984 kB / 0.7624 GB, free: 48 kB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000263/0.5486, allocations: 109 kB / 0.7625 GB, free: 15.92 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.883e-05/0.5486, allocations: 85.05 kB / 0.7625 GB, free: 15.82 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.849e-05/0.5487, allocations: 4.031 kB / 0.7625 GB, free: 15.82 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.423e-05/0.5487, allocations: 0 / 0.7625 GB, free: 15.82 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.24e-05/0.5488, allocations: 8 kB / 0.7626 GB, free: 15.81 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.919e-06/0.5488, allocations: 3.984 kB / 0.7626 GB, free: 15.8 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.415e-05/0.5488, allocations: 83.34 kB / 0.7626 GB, free: 15.72 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.234e-06/0.5488, allocations: 3.938 kB / 0.7626 GB, free: 15.72 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003524/0.5492, allocations: 43.88 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.0007653/0.55, allocations: 0.687 MB / 0.7634 GB, free: 14.96 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001473/0.5501, allocations: 44.14 kB / 0.7634 GB, free: 14.92 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.5502, allocations: 4 kB / 0.7634 GB, free: 14.91 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 4.74e-05/0.5502, allocations: 19.98 kB / 0.7634 GB, free: 14.89 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001466/0.5504, allocations: 6.75 kB / 0.7634 GB, free: 14.89 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008673/0.5513, allocations: 434.6 kB / 0.7638 GB, free: 14.42 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004446/0.5517, allocations: 0.6849 MB / 0.7645 GB, free: 13.71 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 5.519e-05/0.5518, allocations: 4.188 kB / 0.7645 GB, free: 13.7 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.795e-05/0.5518, allocations: 19.42 kB / 0.7645 GB, free: 13.68 MB / 0.5417 GB Notification: Performance of SimCode: time 6.21e-07/0.5519, allocations: 0 / 0.7645 GB, free: 13.68 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01482/0.5667, allocations: 1.465 MB / 0.766 GB, free: 12.39 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002059/0.5669, allocations: 204 kB / 0.7662 GB, free: 12.14 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.524/2.091, allocations: 0 / 0.7662 GB, free: 12.14 MB / 0.5417 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)