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.00149/0.00149, allocations: 172.5 kB / 7.647 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.7716/0.7716, allocations: 133.6 MB / 141.6 MB, free: 2.879 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.429/1.429, 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.0008762/0.0008761, allocations: 105.7 kB / 478.2 MB, free: 1.281 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.986e-05/2.994e-05, allocations: 4 kB / 0.5536 GB, free: 8.914 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4745/0.4746, allocations: 82.31 MB / 0.6339 GB, free: 40.75 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1423/0.617, allocations: 110.1 MB / 0.7415 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000217/0.6172, allocations: 79.94 kB / 0.7415 GB, free: 12.46 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.005534/0.6228, allocations: 2.031 MB / 0.7435 GB, free: 10.43 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.054e-06/0.6228, allocations: 4 kB / 0.7435 GB, free: 10.43 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.56e-06/0.6228, allocations: 4 kB / 0.7435 GB, free: 10.42 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.0002845/0.6231, allocations: 326.5 kB / 0.7438 GB, free: 10.06 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.6232, allocations: 12.03 kB / 0.7439 GB, free: 10.05 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.828e-05/0.6232, allocations: 7.906 kB / 0.7439 GB, free: 10.04 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001129/0.6233, allocations: 170.9 kB / 0.744 GB, free: 9.832 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.6233, allocations: 0 / 0.744 GB, free: 9.832 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.152e-05/0.6234, allocations: 4 kB / 0.744 GB, free: 9.828 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.266e-05/0.6234, allocations: 15.98 kB / 0.7441 GB, free: 9.812 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.984e-05/0.6235, allocations: 41.7 kB / 0.7441 GB, free: 9.766 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.6235, allocations: 0 / 0.7441 GB, free: 9.766 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.6236, allocations: 0 / 0.7441 GB, free: 9.766 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/0.6236, allocations: 3.984 kB / 0.7441 GB, free: 9.762 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001391/0.6237, allocations: 134.2 kB / 0.7442 GB, free: 9.594 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 8.318e-05/0.6238, allocations: 50.52 kB / 0.7443 GB, free: 9.535 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.704e-05/0.6238, allocations: 16.92 kB / 0.7443 GB, free: 9.516 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 9.348e-05/0.6239, allocations: 89.11 kB / 0.7444 GB, free: 9.41 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.794e-05/0.624, allocations: 34.55 kB / 0.7444 GB, free: 9.367 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=5): time 1.142e-06/0.624, allocations: 0 / 0.7444 GB, free: 9.367 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7): time 0.001019/0.625, allocations: 440.2 kB / 0.7448 GB, free: 8.863 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.826e-05/0.625, allocations: 51.41 kB / 0.7449 GB, free: 8.801 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.297e-05/0.6251, allocations: 93 kB / 0.745 GB, free: 8.703 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.012e-05/0.6251, allocations: 25.83 kB / 0.745 GB, free: 8.672 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.418e-05/0.6252, allocations: 88.12 kB / 0.7451 GB, free: 8.582 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.973e-05/0.6252, allocations: 27.59 kB / 0.7451 GB, free: 8.555 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.398e-06/0.6252, allocations: 0 / 0.7451 GB, free: 8.555 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.89e-05/0.6253, allocations: 310.8 kB / 0.7454 GB, free: 8.242 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.266e-05/0.6253, allocations: 12 kB / 0.7454 GB, free: 8.23 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.3e-05/0.6254, allocations: 11.98 kB / 0.7454 GB, free: 8.219 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.952e-05/0.6254, allocations: 8 kB / 0.7454 GB, free: 8.211 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/0.6254, allocations: 0 / 0.7454 GB, free: 8.211 MB / 0.5261 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001051/0.6255, allocations: 73.48 kB / 0.7455 GB, free: 8.133 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.112e-05/0.6256, allocations: 8 kB / 0.7455 GB, free: 8.125 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.6256, allocations: 0 / 0.7455 GB, free: 8.125 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.6256, allocations: 4 kB / 0.7455 GB, free: 8.121 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.936e-05/0.6257, allocations: 11.98 kB / 0.7455 GB, free: 8.109 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.6257, allocations: 4 kB / 0.7455 GB, free: 8.105 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.279e-05/0.6257, allocations: 0 / 0.7455 GB, free: 8.105 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.79e-06/0.6257, allocations: 0 / 0.7455 GB, free: 8.105 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 () * 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 5.953e-05/0.6258, allocations: 105 kB / 0.7456 GB, free: 7.996 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001046/0.6259, allocations: 69.88 kB / 0.7457 GB, free: 7.922 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.977e-06/0.6259, allocations: 7.984 kB / 0.7457 GB, free: 7.914 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001537/0.6261, allocations: 82.22 kB / 0.7458 GB, free: 7.828 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.6261, allocations: 0 / 0.7458 GB, free: 7.828 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.6261, allocations: 4 kB / 0.7458 GB, free: 7.824 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.6261, allocations: 0 / 0.7458 GB, free: 7.824 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.814e-05/0.6262, allocations: 138.2 kB / 0.7459 GB, free: 7.652 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.6262, allocations: 3.953 kB / 0.7459 GB, free: 7.648 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.347e-05/0.6263, allocations: 23.91 kB / 0.7459 GB, free: 7.625 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.6263, allocations: 0 / 0.7459 GB, free: 7.625 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.6263, allocations: 4 kB / 0.7459 GB, free: 7.621 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.113e-06/0.6263, allocations: 3.938 kB / 0.7459 GB, free: 7.617 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.6263, allocations: 0 / 0.7459 GB, free: 7.617 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001636/0.6265, allocations: 105.1 kB / 0.746 GB, free: 7.496 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.111e-05/0.6265, allocations: 85.05 kB / 0.7461 GB, free: 7.395 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.609e-05/0.6266, allocations: 4.031 kB / 0.7461 GB, free: 7.391 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.025e-05/0.6266, allocations: 0 / 0.7461 GB, free: 7.391 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.445e-05/0.6266, allocations: 4.062 kB / 0.7461 GB, free: 7.387 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-06/0.6266, allocations: 4 kB / 0.7461 GB, free: 7.383 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.741e-05/0.6267, allocations: 83.27 kB / 0.7462 GB, free: 7.301 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6267, allocations: 0 / 0.7462 GB, free: 7.301 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002158/0.6269, allocations: 39.94 kB / 0.7463 GB, free: 7.262 MB / 0.5261 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.0004912/0.6274, allocations: 0.6904 MB / 0.7469 GB, free: 6.539 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 8.751e-05/0.6275, allocations: 31.94 kB / 0.747 GB, free: 6.508 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.6275, allocations: 0 / 0.747 GB, free: 6.508 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 2.619e-05/0.6275, allocations: 20 kB / 0.747 GB, free: 6.488 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001002/0.6276, allocations: 0 / 0.747 GB, free: 6.488 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003487/0.628, allocations: 143.5 kB / 0.7471 GB, free: 6.312 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002109/0.6282, allocations: 0.6885 MB / 0.7478 GB, free: 5.598 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 4.331e-05/0.6283, allocations: 8.188 kB / 0.7478 GB, free: 5.586 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.451e-05/0.6283, allocations: 15.44 kB / 0.7478 GB, free: 5.574 MB / 0.5261 GB Notification: Performance of SimCode: time 2.71e-07/0.6283, allocations: 3.938 kB / 0.7478 GB, free: 5.57 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01799/0.6463, allocations: 1.169 MB / 0.749 GB, free: 4.414 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002008/0.6466, allocations: 156.4 kB / 0.7491 GB, free: 4.223 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.437/2.084, allocations: 0 / 0.7491 GB, free: 4.223 MB / 0.5261 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)