Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Utilities_Math_Examples_SmoothExponential",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="IDEAS_dev_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.001271/0.001271, allocations: 173.9 kB / 7.648 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.7415/0.7415, allocations: 133.6 MB / 141.6 MB, free: 2.867 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.509/1.509, allocations: 221.5 MB / 395.5 MB, free: 10.83 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.0008755/0.0008755, allocations: 95.72 kB / 478.2 MB, free: 1.336 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.711e-05/2.688e-05, allocations: 4 kB / 0.5535 GB, free: 8.961 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4845/0.4845, allocations: 82.31 MB / 0.6339 GB, free: 40.75 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1488/0.6334, allocations: 110.7 MB / 0.742 GB, free: 12.02 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003506/0.6338, allocations: 75.95 kB / 0.7421 GB, free: 11.95 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.004288/0.6381, allocations: 1.348 MB / 0.7434 GB, free: 10.6 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.545e-06/0.6382, allocations: 0 / 0.7434 GB, free: 10.6 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.706e-06/0.6382, allocations: 0 / 0.7434 GB, free: 10.6 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004693/0.6387, allocations: 350.5 kB / 0.7437 GB, free: 10.21 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.773e-05/0.6387, allocations: 12.03 kB / 0.7437 GB, free: 10.2 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.253e-05/0.6388, allocations: 3.906 kB / 0.7437 GB, free: 10.2 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001752/0.639, allocations: 174.9 kB / 0.7439 GB, free: 9.984 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.696e-05/0.639, allocations: 4 kB / 0.7439 GB, free: 9.98 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.456e-05/0.639, allocations: 0 / 0.7439 GB, free: 9.98 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.115e-05/0.6391, allocations: 8 kB / 0.7439 GB, free: 9.973 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.272e-05/0.6392, allocations: 33.7 kB / 0.7439 GB, free: 9.934 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.6392, allocations: 0 / 0.7439 GB, free: 9.934 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.6392, allocations: 4 kB / 0.7439 GB, free: 9.93 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.86e-06/0.6392, allocations: 0 / 0.7439 GB, free: 9.93 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004816/0.6397, allocations: 249.5 kB / 0.7442 GB, free: 9.648 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 5.722e-05/0.6398, allocations: 30.45 kB / 0.7442 GB, free: 9.609 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.929e-05/0.6398, allocations: 16.92 kB / 0.7442 GB, free: 9.59 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 9.465e-05/0.6399, allocations: 81.11 kB / 0.7443 GB, free: 9.492 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.971e-05/0.64, allocations: 34.55 kB / 0.7443 GB, free: 9.449 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 9.81e-07/0.64, allocations: 0 / 0.7443 GB, free: 9.449 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0002514/0.6403, allocations: 37.7 kB / 0.7444 GB, free: 9.406 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.02e-05/0.6403, allocations: 55.41 kB / 0.7444 GB, free: 9.34 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.195e-05/0.6404, allocations: 93 kB / 0.7445 GB, free: 9.242 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.509e-05/0.6404, allocations: 25.7 kB / 0.7445 GB, free: 9.211 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.438e-05/0.6405, allocations: 96 kB / 0.7446 GB, free: 9.113 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.867e-05/0.6405, allocations: 4 kB / 0.7446 GB, free: 9.109 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.467e-06/0.6405, allocations: 0 / 0.7446 GB, free: 9.109 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001368/0.6407, allocations: 318.8 kB / 0.7449 GB, free: 8.789 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.771e-05/0.6407, allocations: 4 kB / 0.7449 GB, free: 8.785 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.374e-05/0.6407, allocations: 7.938 kB / 0.7449 GB, free: 8.777 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.527e-05/0.6407, allocations: 4 kB / 0.7449 GB, free: 8.773 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.6407, allocations: 0 / 0.7449 GB, free: 8.773 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.305e-05/0.6408, allocations: 53.66 kB / 0.745 GB, free: 8.715 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.6409, allocations: 4 kB / 0.745 GB, free: 8.711 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.6409, allocations: 0 / 0.745 GB, free: 8.711 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.6409, allocations: 0 / 0.745 GB, free: 8.711 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.595e-05/0.641, allocations: 15.98 kB / 0.745 GB, free: 8.695 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.641, allocations: 0 / 0.745 GB, free: 8.695 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.394e-05/0.6411, allocations: 4 kB / 0.745 GB, free: 8.691 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.641e-06/0.6411, allocations: 0 / 0.745 GB, free: 8.691 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 (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 8.177e-05/0.6412, allocations: 117 kB / 0.7451 GB, free: 8.57 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.451e-05/0.6413, allocations: 41.64 kB / 0.7452 GB, free: 8.523 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.063e-05/0.6413, allocations: 4 kB / 0.7452 GB, free: 8.52 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001209/0.6414, allocations: 45.44 kB / 0.7452 GB, free: 8.469 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.6414, allocations: 0 / 0.7452 GB, free: 8.469 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.6414, allocations: 0 / 0.7452 GB, free: 8.469 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.6414, allocations: 0 / 0.7452 GB, free: 8.469 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000147/0.6416, allocations: 150.1 kB / 0.7454 GB, free: 8.285 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.6416, allocations: 4.062 kB / 0.7454 GB, free: 8.281 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.328e-05/0.6417, allocations: 8 kB / 0.7454 GB, free: 8.273 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.6417, allocations: 3.984 kB / 0.7454 GB, free: 8.27 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.829e-06/0.6417, allocations: 3.984 kB / 0.7454 GB, free: 8.266 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.6417, allocations: 0 / 0.7454 GB, free: 8.266 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.6417, allocations: 0 / 0.7454 GB, free: 8.266 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001316/0.6419, allocations: 147.5 kB / 0.7455 GB, free: 8.105 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.561e-05/0.6419, allocations: 77.11 kB / 0.7456 GB, free: 8.012 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.587e-05/0.6419, allocations: 7.984 kB / 0.7456 GB, free: 8.004 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.272e-05/0.642, allocations: 8.188 kB / 0.7456 GB, free: 7.996 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.578e-05/0.642, allocations: 3.984 kB / 0.7456 GB, free: 7.992 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.434e-06/0.6421, allocations: 8 kB / 0.7456 GB, free: 7.984 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.273e-05/0.6421, allocations: 83.22 kB / 0.7457 GB, free: 7.902 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6421, allocations: 4 kB / 0.7457 GB, free: 7.898 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002134/0.6423, allocations: 11.94 kB / 0.7457 GB, free: 7.887 MB / 0.5261 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.0004277/0.6428, allocations: 0.6851 MB / 0.7464 GB, free: 7.176 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 8.143e-05/0.6429, allocations: 12 kB / 0.7464 GB, free: 7.164 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.6429, allocations: 0 / 0.7464 GB, free: 7.164 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 2.036e-05/0.6429, allocations: 8 kB / 0.7464 GB, free: 7.156 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002161/0.6431, allocations: 10.03 kB / 0.7464 GB, free: 7.148 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003782/0.6435, allocations: 101.6 kB / 0.7465 GB, free: 7.012 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002992/0.6438, allocations: 0.6768 MB / 0.7472 GB, free: 6.309 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3.3e-05/0.6439, allocations: 7.906 kB / 0.7472 GB, free: 6.301 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.092e-05/0.6439, allocations: 7.438 kB / 0.7472 GB, free: 6.293 MB / 0.5261 GB Notification: Performance of SimCode: time 4.61e-07/0.6439, allocations: 0 / 0.7472 GB, free: 6.293 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0213/0.6652, allocations: 0.8363 MB / 0.748 GB, free: 5.465 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002997/0.6656, allocations: 133 kB / 0.7481 GB, free: 5.273 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.388/2.054, allocations: 0 / 0.7481 GB, free: 5.273 MB / 0.5261 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothExponential_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothExponential.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe 2>&1)