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.00813/0.00813, allocations: 169.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.852/0.852, 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.457/1.457, allocations: 223.2 MB / 406.8 MB, free: 3.203 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.0008578/0.0008583, allocations: 102.9 kB / 489.9 MB, free: 10.9 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003801/0.0003801, allocations: 16 kB / 0.5692 GB, free: 14.06 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3908/0.3912, allocations: 82.3 MB / 0.6495 GB, free: 36.11 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1569/0.5481, allocations: 111.4 MB / 0.7583 GB, free: 4.578 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002506/0.5484, allocations: 67.97 kB / 0.7584 GB, free: 4.512 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.00415/0.5526, allocations: 1.356 MB / 0.7597 GB, free: 3.152 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.275e-06/0.5526, allocations: 0 / 0.7597 GB, free: 3.152 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.913e-06/0.5526, allocations: 0 / 0.7597 GB, free: 3.152 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.0004351/0.5531, allocations: 363.2 kB / 0.76 GB, free: 2.75 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.177e-05/0.5531, allocations: 12.03 kB / 0.76 GB, free: 2.738 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.869e-05/0.5532, allocations: 30.56 kB / 0.7601 GB, free: 2.699 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.462e-05/0.5532, allocations: 0 / 0.7601 GB, free: 2.699 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001441/0.5534, allocations: 182.9 kB / 0.7603 GB, free: 2.48 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.328e-06/0.5534, allocations: 0 / 0.7603 GB, free: 2.48 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.52e-05/0.5534, allocations: 0 / 0.7603 GB, free: 2.48 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002239/0.5536, allocations: 57.67 kB / 0.7603 GB, free: 2.418 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.5537, allocations: 3.984 kB / 0.7603 GB, free: 2.414 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.5537, allocations: 0 / 0.7603 GB, free: 2.414 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.5537, allocations: 4 kB / 0.7603 GB, free: 2.41 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001773/0.5539, allocations: 51.95 kB / 0.7604 GB, free: 2.359 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004654/0.5543, allocations: 268.8 kB / 0.7606 GB, free: 2.047 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001331/0.5545, allocations: 46.5 kB / 0.7607 GB, free: 1.992 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001002/0.5546, allocations: 81.17 kB / 0.7607 GB, free: 1.895 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.534e-05/0.5546, allocations: 30.56 kB / 0.7608 GB, free: 1.855 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/0.5546, allocations: 0 / 0.7608 GB, free: 1.855 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.000383/0.555, allocations: 105.6 kB / 0.7609 GB, free: 1.746 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.738e-05/0.5551, allocations: 51.41 kB / 0.7609 GB, free: 1.684 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.434e-05/0.5552, allocations: 100.9 kB / 0.761 GB, free: 1.578 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.532e-05/0.5552, allocations: 25.7 kB / 0.761 GB, free: 1.547 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.033e-05/0.5553, allocations: 92.08 kB / 0.7611 GB, free: 1.453 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.734e-05/0.5553, allocations: 4.031 kB / 0.7611 GB, free: 1.449 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.085e-06/0.5553, allocations: 4 kB / 0.7611 GB, free: 1.445 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001296/0.5554, allocations: 314.8 kB / 0.7614 GB, free: 1.129 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.305e-05/0.5555, allocations: 27.97 kB / 0.7615 GB, free: 1.102 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.195e-05/0.5556, allocations: 15.98 kB / 0.7615 GB, free: 1.086 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.447e-05/0.5557, allocations: 28.05 kB / 0.7615 GB, free: 1.059 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.5557, allocations: 0 / 0.7615 GB, free: 1.059 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002061/0.5559, allocations: 77.66 kB / 0.7616 GB, free: 0.9766 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.5559, allocations: 4 kB / 0.7616 GB, free: 0.9727 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.556, allocations: 0 / 0.7616 GB, free: 0.9727 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.556, allocations: 4 kB / 0.7616 GB, free: 0.9688 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.767e-05/0.5561, allocations: 11.98 kB / 0.7616 GB, free: 0.957 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.5561, allocations: 0 / 0.7616 GB, free: 0.957 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.886e-05/0.5561, allocations: 7.938 kB / 0.7616 GB, free: 0.9492 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.386e-06/0.5562, allocations: 4 kB / 0.7616 GB, free: 0.9453 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.245e-05/0.5562, allocations: 121.8 kB / 0.7617 GB, free: 0.8164 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.446e-05/0.5563, allocations: 0 / 0.7617 GB, free: 0.8164 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000255/0.5565, allocations: 80.69 kB / 0.7618 GB, free: 0.7305 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.5565, allocations: 8.031 kB / 0.7618 GB, free: 0.7227 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.5566, allocations: 0 / 0.7618 GB, free: 0.7227 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.5566, allocations: 0 / 0.7618 GB, free: 0.7227 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001647/0.5567, allocations: 165.6 kB / 0.762 GB, free: 0.5117 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.5567, allocations: 0 / 0.762 GB, free: 0.5117 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.129e-05/0.5568, allocations: 8 kB / 0.762 GB, free: 0.5039 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.5568, allocations: 0 / 0.762 GB, free: 0.5039 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.184e-06/0.5568, allocations: 0 / 0.762 GB, free: 0.5039 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.5568, allocations: 7.984 kB / 0.762 GB, free: 0.4961 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.5569, allocations: 0 / 0.762 GB, free: 0.4961 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002474/0.5571, allocations: 171.4 kB / 0.7621 GB, free: 320 kB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.604e-05/0.5572, allocations: 85.09 kB / 0.7622 GB, free: 216 kB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.469e-05/0.5572, allocations: 4 kB / 0.7622 GB, free: 212 kB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.464e-05/0.5573, allocations: 8.031 kB / 0.7622 GB, free: 204 kB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.51e-05/0.5573, allocations: 3.984 kB / 0.7622 GB, free: 200 kB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.46e-06/0.5573, allocations: 4.25 kB / 0.7622 GB, free: 196 kB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.694e-05/0.5574, allocations: 83.28 kB / 0.7623 GB, free: 112 kB / 0.5261 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5574, allocations: 3.938 kB / 0.7623 GB, free: 108 kB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002358/0.5576, allocations: 15.94 kB / 0.7623 GB, free: 92 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.0005887/0.5582, allocations: 0.7318 MB / 0.7631 GB, free: 15.33 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0002132/0.5584, allocations: 44 kB / 0.7631 GB, free: 15.29 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.5584, allocations: 0 / 0.7631 GB, free: 15.29 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 8.65e-05/0.5585, allocations: 27.97 kB / 0.7631 GB, free: 15.26 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001997/0.5587, allocations: 8.125 kB / 0.7631 GB, free: 15.25 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004332/0.5592, allocations: 150.2 kB / 0.7633 GB, free: 15.07 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002294/0.5594, allocations: 0.677 MB / 0.7639 GB, free: 14.36 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 2.72e-05/0.5595, allocations: 4 kB / 0.7639 GB, free: 14.36 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.982e-05/0.5595, allocations: 7.438 kB / 0.764 GB, free: 14.35 MB / 0.5417 GB Notification: Performance of SimCode: time 3.977e-06/0.5595, allocations: 0 / 0.764 GB, free: 14.35 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01281/0.5723, allocations: 1.133 MB / 0.7651 GB, free: 13.33 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002517/0.5726, allocations: 175.4 kB / 0.7652 GB, free: 13.09 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.486/2.059, allocations: 0 / 0.7652 GB, free: 13.09 MB / 0.5417 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)