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.0009875/0.0009876, allocations: 175.2 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.6934/0.6934, allocations: 133.4 MB / 146.7 MB, free: 10.78 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.443/1.443, allocations: 221.3 MB / 400.4 MB, free: 5.844 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.000872/0.000872, allocations: 103.1 kB / 483.3 MB, free: 5.863 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.664e-05/4.676e-05, allocations: 9.344 kB / 0.5601 GB, free: 87.85 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1486/0.1487, allocations: 82.31 MB / 0.6405 GB, free: 7.699 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6066/0.7553, allocations: 110.8 MB / 0.7487 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001961/0.7556, allocations: 77.73 kB / 0.7488 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.005462/0.761, allocations: 2.043 MB / 0.7508 GB, free: 27.54 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.523e-06/0.7611, allocations: 3.844 kB / 0.7508 GB, free: 27.54 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.077e-06/0.7611, allocations: 0 / 0.7508 GB, free: 27.54 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003104/0.7614, allocations: 329.1 kB / 0.7511 GB, free: 27.2 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.959e-05/0.7615, allocations: 11.5 kB / 0.7511 GB, free: 27.2 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.065e-05/0.7615, allocations: 34.56 kB / 0.7511 GB, free: 27.15 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.918e-05/0.7616, allocations: 3.906 kB / 0.7511 GB, free: 27.15 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001081/0.7617, allocations: 166.7 kB / 0.7513 GB, free: 26.95 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.7617, allocations: 7.25 kB / 0.7513 GB, free: 26.95 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.231e-05/0.7617, allocations: 3.812 kB / 0.7513 GB, free: 26.95 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001168/0.7619, allocations: 43.97 kB / 0.7514 GB, free: 26.91 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.866e-06/0.7619, allocations: 3.938 kB / 0.7514 GB, free: 26.91 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.7619, allocations: 0 / 0.7514 GB, free: 26.91 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.7619, allocations: 0 / 0.7514 GB, free: 26.91 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.84e-05/0.762, allocations: 15.22 kB / 0.7514 GB, free: 26.91 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001685/0.7621, allocations: 167 kB / 0.7515 GB, free: 26.71 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 8.246e-05/0.7622, allocations: 48.25 kB / 0.7516 GB, free: 26.68 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.919e-05/0.7623, allocations: 20.42 kB / 0.7516 GB, free: 26.67 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001155/0.7624, allocations: 84.72 kB / 0.7517 GB, free: 26.58 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.969e-05/0.7624, allocations: 37.52 kB / 0.7517 GB, free: 26.54 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=5): time 1.403e-06/0.7624, allocations: 0 / 0.7517 GB, free: 26.54 MB / 0.5105 GB Notification: Performance of matching and sorting (n=7): time 0.001192/0.7636, allocations: 465.1 kB / 0.7522 GB, free: 26.17 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.657e-05/0.7637, allocations: 51.41 kB / 0.7522 GB, free: 26.11 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.998e-05/0.7638, allocations: 88.88 kB / 0.7523 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.655e-05/0.7638, allocations: 25.7 kB / 0.7523 GB, free: 25.99 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.923e-05/0.7638, allocations: 86.77 kB / 0.7524 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.66e-05/0.7638, allocations: 19.53 kB / 0.7524 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.518e-06/0.7639, allocations: 3.875 kB / 0.7524 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000122/0.764, allocations: 321.7 kB / 0.7527 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.751e-05/0.764, allocations: 11.41 kB / 0.7527 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.25e-05/0.764, allocations: 19.44 kB / 0.7528 GB, free: 25.56 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.416e-05/0.7641, allocations: 18.75 kB / 0.7528 GB, free: 25.56 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.7641, allocations: 3.938 kB / 0.7528 GB, free: 25.56 MB / 0.5105 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001022/0.7642, allocations: 67.3 kB / 0.7528 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.7642, allocations: 7.688 kB / 0.7528 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.7642, allocations: 0.75 kB / 0.7528 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.7643, allocations: 0 / 0.7528 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.967e-05/0.7643, allocations: 14.75 kB / 0.7529 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.7644, allocations: 4 kB / 0.7529 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.317e-05/0.7644, allocations: 0 / 0.7529 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.738e-06/0.7644, allocations: 7.922 kB / 0.7529 GB, free: 25.52 MB / 0.5105 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 () * 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 7.211e-05/0.7645, allocations: 115.3 kB / 0.753 GB, free: 25.4 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.331e-05/0.7645, allocations: 4.125 kB / 0.753 GB, free: 25.4 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001645/0.7647, allocations: 76.83 kB / 0.7531 GB, free: 25.36 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.7647, allocations: 0 / 0.7531 GB, free: 25.36 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.7647, allocations: 8 kB / 0.7531 GB, free: 25.36 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.7647, allocations: 0 / 0.7531 GB, free: 25.36 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001101/0.7648, allocations: 171.3 kB / 0.7532 GB, free: 25.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.7648, allocations: 0 / 0.7532 GB, free: 25.16 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.723e-05/0.7649, allocations: 11.72 kB / 0.7532 GB, free: 25.16 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.7649, allocations: 6.984 kB / 0.7532 GB, free: 25.16 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.108e-06/0.7649, allocations: 3.844 kB / 0.7533 GB, free: 25.16 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.7649, allocations: 3.938 kB / 0.7533 GB, free: 25.16 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.7649, allocations: 0 / 0.7533 GB, free: 25.16 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001663/0.7651, allocations: 116 kB / 0.7534 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.21e-05/0.7652, allocations: 81.06 kB / 0.7534 GB, free: 24.99 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.378e-05/0.7652, allocations: 0 / 0.7534 GB, free: 24.99 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.772e-05/0.7652, allocations: 3.719 kB / 0.7534 GB, free: 24.99 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.644e-05/0.7652, allocations: 10.31 kB / 0.7535 GB, free: 24.99 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.571e-06/0.7653, allocations: 0 / 0.7535 GB, free: 24.99 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.36e-05/0.7653, allocations: 75.28 kB / 0.7535 GB, free: 24.91 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7653, allocations: 3.969 kB / 0.7535 GB, free: 24.91 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002235/0.7655, allocations: 41.25 kB / 0.7536 GB, free: 24.9 MB / 0.5105 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 () * 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.0005318/0.7661, allocations: 0.6939 MB / 0.7543 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001015/0.7662, allocations: 41.45 kB / 0.7543 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.7662, allocations: 0 / 0.7543 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 2.917e-05/0.7662, allocations: 22.08 kB / 0.7543 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.0001057/0.7663, allocations: 8 kB / 0.7543 GB, free: 24.28 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003942/0.7667, allocations: 157.9 kB / 0.7545 GB, free: 24.15 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002593/0.767, allocations: 0.6798 MB / 0.7551 GB, free: 23.45 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 4.104e-05/0.7671, allocations: 11.83 kB / 0.7551 GB, free: 23.45 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.371e-05/0.7671, allocations: 11.31 kB / 0.7552 GB, free: 23.45 MB / 0.5105 GB Notification: Performance of SimCode: time 3.3e-07/0.7671, allocations: 0 / 0.7552 GB, free: 23.45 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01327/0.7804, allocations: 1.477 MB / 0.7566 GB, free: 23.29 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001536/0.7806, allocations: 172 kB / 0.7568 GB, free: 23.07 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.553/2.333, allocations: 0 / 0.7568 GB, free: 23.07 MB / 0.5105 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)