Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.SmoothExponential.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.Examples.SmoothExponential,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_SmoothExponential",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_SmoothExponential",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.001324/0.001324, allocations: 174.9 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.7628/0.7628, allocations: 133.4 MB / 146.7 MB, free: 10.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.679/1.679, allocations: 221.3 MB / 400.4 MB, free: 5.816 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.001014/0.001014, allocations: 101.3 kB / 483.3 MB, free: 5.855 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.929e-05/3.948e-05, allocations: 3.344 kB / 0.5601 GB, free: 87.8 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1724/0.1725, allocations: 82.3 MB / 0.6405 GB, free: 7.719 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5959/0.7685, allocations: 111.3 MB / 0.7492 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002164/0.7688, allocations: 71.23 kB / 0.7493 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.003983/0.7728, allocations: 1.354 MB / 0.7506 GB, free: 27.8 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.272e-06/0.7728, allocations: 0 / 0.7506 GB, free: 27.8 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.394e-06/0.7728, allocations: 3.844 kB / 0.7506 GB, free: 27.8 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003573/0.7732, allocations: 346.5 kB / 0.7509 GB, free: 27.45 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/0.7732, allocations: 7.75 kB / 0.7509 GB, free: 27.45 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.689e-05/0.7733, allocations: 32.25 kB / 0.751 GB, free: 27.41 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.726e-05/0.7733, allocations: 15.62 kB / 0.751 GB, free: 27.4 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001199/0.7734, allocations: 173.8 kB / 0.7512 GB, free: 27.2 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/0.7734, allocations: 7.5 kB / 0.7512 GB, free: 27.2 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.19e-05/0.7735, allocations: 0 / 0.7512 GB, free: 27.2 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.823e-05/0.7736, allocations: 35.84 kB / 0.7512 GB, free: 27.16 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.7736, allocations: 0 / 0.7512 GB, free: 27.16 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/0.7736, allocations: 0 / 0.7512 GB, free: 27.16 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.7736, allocations: 3.906 kB / 0.7512 GB, free: 27.16 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.287e-05/0.7736, allocations: 7.406 kB / 0.7512 GB, free: 27.16 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003738/0.774, allocations: 275.3 kB / 0.7515 GB, free: 26.89 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 4.911e-05/0.7741, allocations: 22.02 kB / 0.7515 GB, free: 26.87 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.332e-05/0.7741, allocations: 12.27 kB / 0.7515 GB, free: 26.86 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 8.518e-05/0.7742, allocations: 80.95 kB / 0.7516 GB, free: 26.77 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.145e-05/0.7742, allocations: 37.38 kB / 0.7516 GB, free: 26.72 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 1.272e-06/0.7743, allocations: 0 / 0.7516 GB, free: 26.72 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.0001378/0.7744, allocations: 44.8 kB / 0.7517 GB, free: 26.69 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.903e-05/0.7744, allocations: 51.41 kB / 0.7517 GB, free: 26.62 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001086/0.7745, allocations: 105.7 kB / 0.7518 GB, free: 26.53 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.566e-05/0.7746, allocations: 25.7 kB / 0.7518 GB, free: 26.5 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.792e-05/0.7746, allocations: 87.61 kB / 0.7519 GB, free: 26.41 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.401e-05/0.7747, allocations: 0 / 0.7519 GB, free: 26.41 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.095e-06/0.7747, allocations: 4.031 kB / 0.7519 GB, free: 26.41 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001196/0.7748, allocations: 324.8 kB / 0.7522 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.657e-05/0.7748, allocations: 0 / 0.7522 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.348e-05/0.7748, allocations: 7.344 kB / 0.7522 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.935e-05/0.7749, allocations: 3.656 kB / 0.7522 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-06/0.7749, allocations: 0 / 0.7522 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.496e-05/0.7749, allocations: 47.61 kB / 0.7523 GB, free: 26.06 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.775, allocations: 4.906 kB / 0.7523 GB, free: 26.06 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.775, allocations: 7.938 kB / 0.7523 GB, free: 26.05 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.775, allocations: 0 / 0.7523 GB, free: 26.05 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.815e-05/0.7751, allocations: 14.38 kB / 0.7523 GB, free: 26.05 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.7751, allocations: 0 / 0.7523 GB, free: 26.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.044e-05/0.7752, allocations: 10.19 kB / 0.7523 GB, free: 26.05 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.7752, allocations: 0 / 0.7523 GB, free: 26.05 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 (2): * Single equations (assignments): 2 * 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 6.462e-05/0.7752, allocations: 108.6 kB / 0.7524 GB, free: 25.94 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.444e-05/0.7753, allocations: 7.844 kB / 0.7524 GB, free: 25.94 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001137/0.7754, allocations: 44.84 kB / 0.7525 GB, free: 25.9 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.7754, allocations: 0 / 0.7525 GB, free: 25.9 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.7754, allocations: 3.812 kB / 0.7525 GB, free: 25.9 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.544e-06/0.7754, allocations: 0 / 0.7525 GB, free: 25.9 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000137/0.7756, allocations: 158.9 kB / 0.7526 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.7756, allocations: 3.938 kB / 0.7526 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.186e-05/0.7756, allocations: 13.44 kB / 0.7526 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.7757, allocations: 6.609 kB / 0.7527 GB, free: 25.7 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.595e-06/0.7757, allocations: 7.719 kB / 0.7527 GB, free: 25.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.7757, allocations: 0 / 0.7527 GB, free: 25.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.7757, allocations: 2.188 kB / 0.7527 GB, free: 25.7 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000109/0.7758, allocations: 140.9 kB / 0.7528 GB, free: 25.56 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.311e-05/0.7758, allocations: 81.09 kB / 0.7529 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.272e-05/0.7759, allocations: 0 / 0.7529 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.111e-05/0.7759, allocations: 17.38 kB / 0.7529 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.788e-05/0.776, allocations: 2.625 kB / 0.7529 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.537e-06/0.776, allocations: 7.812 kB / 0.7529 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 4.883e-05/0.7761, allocations: 79.16 kB / 0.753 GB, free: 25.38 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7761, allocations: 0 / 0.753 GB, free: 25.38 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002323/0.7763, allocations: 17.69 kB / 0.753 GB, free: 25.38 MB / 0.5105 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 (2): * Single equations (assignments): 2 * 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.0004242/0.7767, allocations: 0.6898 MB / 0.7537 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 7.346e-05/0.7768, allocations: 11.31 kB / 0.7537 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.7768, allocations: 0 / 0.7537 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.93e-05/0.7768, allocations: 3.844 kB / 0.7537 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001595/0.777, allocations: 10.55 kB / 0.7537 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002936/0.7773, allocations: 97.05 kB / 0.7538 GB, free: 24.6 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002626/0.7776, allocations: 0.6864 MB / 0.7545 GB, free: 23.9 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 2.503e-05/0.7776, allocations: 0 / 0.7545 GB, free: 23.9 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.71e-05/0.7776, allocations: 11.28 kB / 0.7545 GB, free: 23.89 MB / 0.5105 GB Notification: Performance of SimCode: time 4.21e-07/0.7777, allocations: 0 / 0.7545 GB, free: 23.89 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01321/0.7909, allocations: 1.137 MB / 0.7556 GB, free: 23.72 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001909/0.7911, allocations: 146.1 kB / 0.7557 GB, free: 23.5 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.473/2.264, allocations: 4 kB / 0.7557 GB, free: 23.5 MB / 0.5105 GB (rm -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.SmoothExponential.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_SmoothExponential_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_SmoothExponential.fmu > IDEAS_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe 2>&1)