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.005753/0.005752, allocations: 170.8 kB / 15.11 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7508/0.7508, allocations: 135.2 MB / 151 MB, free: 13.83 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.461/1.461, allocations: 223.2 MB / 406.8 MB, free: 3.152 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.0009017/0.0009017, allocations: 98.77 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000386/0.000386, allocations: 16 kB / 0.5691 GB, free: 14.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3757/0.3761, allocations: 82.31 MB / 0.6495 GB, free: 36.15 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.153/0.5291, allocations: 111.4 MB / 0.7583 GB, free: 4.621 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002662/0.5294, allocations: 71.97 kB / 0.7584 GB, free: 4.551 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.004065/0.5335, allocations: 1.364 MB / 0.7597 GB, free: 3.184 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.063e-06/0.5335, allocations: 0 / 0.7597 GB, free: 3.184 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.813e-06/0.5335, allocations: 0 / 0.7597 GB, free: 3.184 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.0004093/0.5339, allocations: 367.2 kB / 0.76 GB, free: 2.777 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.534, allocations: 8.031 kB / 0.7601 GB, free: 2.77 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.788e-05/0.534, allocations: 30.56 kB / 0.7601 GB, free: 2.73 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.263e-05/0.5341, allocations: 0 / 0.7601 GB, free: 2.73 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001277/0.5342, allocations: 174.9 kB / 0.7603 GB, free: 2.52 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.5342, allocations: 0 / 0.7603 GB, free: 2.52 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.376e-06/0.5342, allocations: 0 / 0.7603 GB, free: 2.52 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001822/0.5344, allocations: 57.67 kB / 0.7603 GB, free: 2.457 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.5344, allocations: 3.938 kB / 0.7603 GB, free: 2.453 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.005e-06/0.5344, allocations: 4 kB / 0.7603 GB, free: 2.449 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.5345, allocations: 0 / 0.7603 GB, free: 2.449 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001722/0.5346, allocations: 51.95 kB / 0.7604 GB, free: 2.398 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000426/0.5351, allocations: 264.8 kB / 0.7606 GB, free: 2.09 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001241/0.5352, allocations: 50.53 kB / 0.7607 GB, free: 2.031 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 8.367e-05/0.5353, allocations: 81.17 kB / 0.7607 GB, free: 1.934 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.085e-05/0.5353, allocations: 30.56 kB / 0.7608 GB, free: 1.895 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.5353, allocations: 0 / 0.7608 GB, free: 1.895 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0003825/0.5357, allocations: 101.6 kB / 0.7609 GB, free: 1.789 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.992e-05/0.5358, allocations: 55.34 kB / 0.7609 GB, free: 1.723 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.288e-05/0.5358, allocations: 96.98 kB / 0.761 GB, free: 1.621 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.467e-05/0.5359, allocations: 25.7 kB / 0.761 GB, free: 1.59 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.294e-05/0.5359, allocations: 88.08 kB / 0.7611 GB, free: 1.5 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.569e-05/0.5359, allocations: 3.906 kB / 0.7611 GB, free: 1.496 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.759e-06/0.5359, allocations: 4.125 kB / 0.7611 GB, free: 1.492 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001203/0.5361, allocations: 318.8 kB / 0.7614 GB, free: 1.172 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.529e-05/0.5362, allocations: 23.97 kB / 0.7615 GB, free: 1.148 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.321e-05/0.5362, allocations: 19.98 kB / 0.7615 GB, free: 1.129 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.343e-05/0.5363, allocations: 28.05 kB / 0.7615 GB, free: 1.102 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.5363, allocations: 0 / 0.7615 GB, free: 1.102 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000191/0.5365, allocations: 73.66 kB / 0.7616 GB, free: 1.023 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.5366, allocations: 13.12 kB / 0.7616 GB, free: 1.012 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.5366, allocations: 0 / 0.7616 GB, free: 1.012 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.5366, allocations: 0 / 0.7616 GB, free: 1.012 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.451e-05/0.5367, allocations: 15.92 kB / 0.7616 GB, free: 0.9961 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.5367, allocations: 0 / 0.7616 GB, free: 0.9961 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.093e-05/0.5367, allocations: 8 kB / 0.7616 GB, free: 0.9883 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.29e-06/0.5368, allocations: 0 / 0.7616 GB, free: 0.9883 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 () * Number of clocked 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.062e-05/0.5368, allocations: 113.8 kB / 0.7617 GB, free: 0.8672 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.437e-05/0.5369, allocations: 7.984 kB / 0.7617 GB, free: 0.8594 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002395/0.5371, allocations: 84.69 kB / 0.7618 GB, free: 0.7695 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.5371, allocations: 0 / 0.7618 GB, free: 0.7695 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.5371, allocations: 4.031 kB / 0.7618 GB, free: 0.7656 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-06/0.5371, allocations: 0 / 0.7618 GB, free: 0.7656 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000153/0.5373, allocations: 157.9 kB / 0.762 GB, free: 0.5625 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.5373, allocations: 4 kB / 0.762 GB, free: 0.5586 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.187e-05/0.5374, allocations: 11.98 kB / 0.762 GB, free: 0.5469 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.5374, allocations: 0 / 0.762 GB, free: 0.5469 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.5374, allocations: 4 kB / 0.762 GB, free: 0.543 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.5374, allocations: 3.938 kB / 0.762 GB, free: 0.5391 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.5374, allocations: 0 / 0.762 GB, free: 0.5391 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002454/0.5377, allocations: 179.4 kB / 0.7622 GB, free: 356 kB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.598e-05/0.5377, allocations: 81.09 kB / 0.7622 GB, free: 256 kB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.176e-05/0.5377, allocations: 4 kB / 0.7622 GB, free: 252 kB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.845e-05/0.5378, allocations: 8.031 kB / 0.7622 GB, free: 244 kB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.885e-05/0.5379, allocations: 11.97 kB / 0.7623 GB, free: 232 kB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.679e-06/0.5379, allocations: 4 kB / 0.7623 GB, free: 228 kB / 0.5261 GB Notification: Performance of sorting global known variables: time 5.256e-05/0.5379, allocations: 79.28 kB / 0.7623 GB, free: 148 kB / 0.5261 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5379, allocations: 3.938 kB / 0.7623 GB, free: 144 kB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002242/0.5382, allocations: 11.94 kB / 0.7623 GB, free: 132 kB / 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 () * Number of clocked 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.0006617/0.5388, allocations: 0.7318 MB / 0.7631 GB, free: 15.37 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0002108/0.5391, allocations: 48 kB / 0.7631 GB, free: 15.32 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.5391, allocations: 4 kB / 0.7631 GB, free: 15.32 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 8.347e-05/0.5392, allocations: 19.98 kB / 0.7631 GB, free: 15.3 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001946/0.5394, allocations: 8.109 kB / 0.7631 GB, free: 15.29 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004555/0.5398, allocations: 154.2 kB / 0.7633 GB, free: 15.1 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002955/0.5401, allocations: 0.677 MB / 0.7639 GB, free: 14.4 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 2.494e-05/0.5402, allocations: 4 kB / 0.764 GB, free: 14.39 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3e-05/0.5402, allocations: 7.438 kB / 0.764 GB, free: 14.39 MB / 0.5417 GB Notification: Performance of SimCode: time 3e-07/0.5402, allocations: 0 / 0.764 GB, free: 14.39 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0119/0.5521, allocations: 1.131 MB / 0.7651 GB, free: 13.36 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002474/0.5524, allocations: 170.6 kB / 0.7652 GB, free: 13.12 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.473/2.026, allocations: 0 / 0.7652 GB, free: 13.12 MB / 0.5417 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)