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.0009854/0.0009854, allocations: 177.5 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.7426/0.7426, allocations: 133.5 MB / 141.6 MB, free: 2.898 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.46/1.46, allocations: 221.5 MB / 395.4 MB, free: 10.87 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.0008743/0.0008743, allocations: 109.4 kB / 478.2 MB, free: 1.375 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.817e-05/2.832e-05, allocations: 4.219 kB / 0.5535 GB, free: 9.027 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4696/0.4697, allocations: 82.31 MB / 0.6339 GB, free: 40.78 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1532/0.6229, allocations: 110.6 MB / 0.742 GB, free: 12.09 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002551/0.6232, allocations: 71.95 kB / 0.742 GB, free: 12.02 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.004067/0.6273, allocations: 1.36 MB / 0.7434 GB, free: 10.66 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.914e-06/0.6273, allocations: 0 / 0.7434 GB, free: 10.66 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.457e-06/0.6273, allocations: 4 kB / 0.7434 GB, free: 10.65 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.000489/0.6278, allocations: 346.5 kB / 0.7437 GB, free: 10.27 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.957e-05/0.6279, allocations: 8.031 kB / 0.7437 GB, free: 10.26 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.261e-05/0.628, allocations: 3.906 kB / 0.7437 GB, free: 10.26 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001606/0.6281, allocations: 171 kB / 0.7439 GB, free: 10.05 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.6281, allocations: 0 / 0.7439 GB, free: 10.05 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.172e-05/0.6282, allocations: 0 / 0.7439 GB, free: 10.05 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.069e-05/0.6282, allocations: 15.94 kB / 0.7439 GB, free: 10.04 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.452e-05/0.6283, allocations: 37.69 kB / 0.7439 GB, free: 9.992 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/0.6284, allocations: 0 / 0.7439 GB, free: 9.992 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-06/0.6284, allocations: 0 / 0.7439 GB, free: 9.992 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.6284, allocations: 3.938 kB / 0.7439 GB, free: 9.988 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004014/0.6288, allocations: 249.5 kB / 0.7442 GB, free: 9.707 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 5.658e-05/0.6289, allocations: 26.58 kB / 0.7442 GB, free: 9.672 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.645e-05/0.6289, allocations: 8.922 kB / 0.7442 GB, free: 9.66 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001004/0.629, allocations: 89.09 kB / 0.7443 GB, free: 9.555 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.771e-05/0.629, allocations: 34.5 kB / 0.7443 GB, free: 9.512 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.629, allocations: 0 / 0.7443 GB, free: 9.512 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0002018/0.6293, allocations: 45.69 kB / 0.7444 GB, free: 9.461 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.011e-05/0.6293, allocations: 51.41 kB / 0.7444 GB, free: 9.398 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.983e-05/0.6294, allocations: 92.94 kB / 0.7445 GB, free: 9.301 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.687e-05/0.6294, allocations: 25.7 kB / 0.7445 GB, free: 9.27 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.281e-05/0.6294, allocations: 92.05 kB / 0.7446 GB, free: 9.176 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.31e-05/0.6295, allocations: 4.031 kB / 0.7446 GB, free: 9.172 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.326e-06/0.6295, allocations: 0 / 0.7446 GB, free: 9.172 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.6296, allocations: 318.8 kB / 0.7449 GB, free: 8.852 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.65e-05/0.6296, allocations: 8 kB / 0.7449 GB, free: 8.844 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.224e-05/0.6297, allocations: 4 kB / 0.7449 GB, free: 8.84 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.932e-05/0.6297, allocations: 4 kB / 0.7449 GB, free: 8.836 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.6297, allocations: 4 kB / 0.7449 GB, free: 8.832 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.142e-05/0.6298, allocations: 45.55 kB / 0.745 GB, free: 8.781 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.6298, allocations: 13.64 kB / 0.745 GB, free: 8.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.6298, allocations: 4 kB / 0.745 GB, free: 8.766 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.6299, allocations: 0 / 0.745 GB, free: 8.766 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.85e-05/0.63, allocations: 8 kB / 0.745 GB, free: 8.758 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.977e-06/0.63, allocations: 0 / 0.745 GB, free: 8.758 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.167e-05/0.63, allocations: 8.234 kB / 0.745 GB, free: 8.75 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/0.63, allocations: 8 kB / 0.745 GB, free: 8.742 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 7.285e-05/0.6301, allocations: 108.9 kB / 0.7451 GB, free: 8.629 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.268e-05/0.6302, allocations: 45.69 kB / 0.7452 GB, free: 8.578 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.886e-05/0.6302, allocations: 0 / 0.7452 GB, free: 8.578 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001153/0.6304, allocations: 49.38 kB / 0.7452 GB, free: 8.523 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.6304, allocations: 7.984 kB / 0.7452 GB, free: 8.516 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.6304, allocations: 0 / 0.7452 GB, free: 8.516 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.6304, allocations: 0 / 0.7452 GB, free: 8.516 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000143/0.6305, allocations: 142.1 kB / 0.7454 GB, free: 8.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.6305, allocations: 0 / 0.7454 GB, free: 8.34 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.266e-05/0.6306, allocations: 16.05 kB / 0.7454 GB, free: 8.324 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.6306, allocations: 0 / 0.7454 GB, free: 8.324 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.623e-06/0.6306, allocations: 0 / 0.7454 GB, free: 8.324 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.6306, allocations: 0 / 0.7454 GB, free: 8.324 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.6306, allocations: 4 kB / 0.7454 GB, free: 8.32 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001229/0.6308, allocations: 139.4 kB / 0.7455 GB, free: 8.168 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.167e-05/0.6308, allocations: 85.05 kB / 0.7456 GB, free: 8.066 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.556e-05/0.6308, allocations: 4.031 kB / 0.7456 GB, free: 8.062 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.887e-05/0.6309, allocations: 11.92 kB / 0.7456 GB, free: 8.051 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.465e-05/0.631, allocations: 8 kB / 0.7456 GB, free: 8.043 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-06/0.631, allocations: 0 / 0.7456 GB, free: 8.043 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.961e-05/0.631, allocations: 79.28 kB / 0.7457 GB, free: 7.965 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.11e-07/0.631, allocations: 0 / 0.7457 GB, free: 7.965 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002109/0.6312, allocations: 15.92 kB / 0.7457 GB, free: 7.949 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.0004283/0.6317, allocations: 0.6851 MB / 0.7464 GB, free: 7.238 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 7.514e-05/0.6318, allocations: 15.94 kB / 0.7464 GB, free: 7.223 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.6318, allocations: 0 / 0.7464 GB, free: 7.223 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 1.94e-05/0.6318, allocations: 8 kB / 0.7464 GB, free: 7.215 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001742/0.632, allocations: 7.984 kB / 0.7464 GB, free: 7.207 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003109/0.6323, allocations: 97.73 kB / 0.7465 GB, free: 7.074 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002614/0.6326, allocations: 0.6846 MB / 0.7472 GB, free: 6.363 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.549e-05/0.6326, allocations: 3.906 kB / 0.7472 GB, free: 6.359 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.276e-05/0.6326, allocations: 11.44 kB / 0.7472 GB, free: 6.348 MB / 0.5261 GB Notification: Performance of SimCode: time 2.7e-07/0.6326, allocations: 0 / 0.7472 GB, free: 6.348 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01916/0.6518, allocations: 0.8387 MB / 0.748 GB, free: 5.52 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000173/0.652, allocations: 123.5 kB / 0.7481 GB, free: 5.332 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.454/2.107, allocations: 4 kB / 0.7481 GB, free: 5.328 MB / 0.5261 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)