Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin.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.SmoothMin,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.SmoothMin,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothMin",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.005928/0.005928, allocations: 172 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8742/0.8742, allocations: 135.2 MB / 151.1 MB, free: 13.82 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.421/1.421, allocations: 223.2 MB / 406.8 MB, free: 3.23 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.001028/0.001028, allocations: 97.89 kB / 489.9 MB, free: 10.9 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003665/0.0003667, allocations: 8 kB / 0.5692 GB, free: 14.06 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4617/0.4621, allocations: 82.3 MB / 0.6495 GB, free: 36.12 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1949/0.657, allocations: 111.5 MB / 0.7584 GB, free: 4.465 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002194/0.6573, allocations: 71.95 kB / 0.7585 GB, free: 4.395 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.003363/0.6607, allocations: 1.162 MB / 0.7596 GB, free: 3.234 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.785e-06/0.6607, allocations: 0 / 0.7596 GB, free: 3.234 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.145e-06/0.6607, allocations: 4 kB / 0.7596 GB, free: 3.23 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003812/0.6611, allocations: 351.2 kB / 0.76 GB, free: 2.84 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.6611, allocations: 20.02 kB / 0.76 GB, free: 2.82 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.683e-05/0.6612, allocations: 38.56 kB / 0.76 GB, free: 2.773 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007885/0.662, allocations: 187.6 kB / 0.7602 GB, free: 2.59 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001149/0.6621, allocations: 171 kB / 0.7604 GB, free: 2.383 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.6621, allocations: 4 kB / 0.7604 GB, free: 2.379 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.618e-05/0.6621, allocations: 4 kB / 0.7604 GB, free: 2.375 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005459/0.6627, allocations: 209.5 kB / 0.7606 GB, free: 2.164 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.6627, allocations: 3.938 kB / 0.7606 GB, free: 2.16 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/0.6627, allocations: 0 / 0.7606 GB, free: 2.16 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.6627, allocations: 4 kB / 0.7606 GB, free: 2.156 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008391/0.6636, allocations: 319.6 kB / 0.7609 GB, free: 1.844 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009237/0.6645, allocations: 461.3 kB / 0.7613 GB, free: 1.344 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001061/0.6656, allocations: 338.2 kB / 0.7616 GB, free: 1.004 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.941e-05/0.6656, allocations: 4.094 kB / 0.7616 GB, free: 1 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.206e-05/0.6657, allocations: 38.61 kB / 0.7617 GB, free: 0.9531 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.6657, allocations: 0 / 0.7617 GB, free: 0.9531 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3): time 0.001116/0.6668, allocations: 373.2 kB / 0.762 GB, free: 0.582 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.412e-05/0.6668, allocations: 51.41 kB / 0.7621 GB, free: 0.5195 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.959e-05/0.6669, allocations: 113 kB / 0.7622 GB, free: 408 kB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.358e-05/0.6669, allocations: 25.7 kB / 0.7622 GB, free: 376 kB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.237e-05/0.667, allocations: 92.14 kB / 0.7623 GB, free: 280 kB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.931e-05/0.667, allocations: 7.844 kB / 0.7623 GB, free: 272 kB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.414e-06/0.667, allocations: 0 / 0.7623 GB, free: 272 kB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001246/0.6672, allocations: 322.8 kB / 0.7626 GB, free: 15.94 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003644/0.6675, allocations: 111.9 kB / 0.7627 GB, free: 15.83 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003235/0.6679, allocations: 111.9 kB / 0.7628 GB, free: 15.72 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003255/0.6682, allocations: 104.2 kB / 0.7629 GB, free: 15.62 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.6682, allocations: 0 / 0.7629 GB, free: 15.62 MB / 0.5417 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006984/0.6689, allocations: 257.4 kB / 0.7632 GB, free: 15.36 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.6689, allocations: 13.08 kB / 0.7632 GB, free: 15.35 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.6689, allocations: 0 / 0.7632 GB, free: 15.35 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.669, allocations: 0 / 0.7632 GB, free: 15.35 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002535/0.6692, allocations: 51.84 kB / 0.7632 GB, free: 15.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.568e-06/0.6692, allocations: 0 / 0.7632 GB, free: 15.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00019/0.6694, allocations: 35.95 kB / 0.7633 GB, free: 15.27 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.109e-05/0.6695, allocations: 0 / 0.7633 GB, free: 15.27 MB / 0.5417 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 (3): * Single equations (assignments): 3 * 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.749e-05/0.6695, allocations: 121.8 kB / 0.7634 GB, free: 15.14 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.056e-05/0.6696, allocations: 7.906 kB / 0.7634 GB, free: 15.13 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.422e-05/0.6696, allocations: 7.906 kB / 0.7634 GB, free: 15.11 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.6696, allocations: 0 / 0.7634 GB, free: 15.11 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.6696, allocations: 3.953 kB / 0.7634 GB, free: 15.11 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.6697, allocations: 7.984 kB / 0.7634 GB, free: 15.1 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002072/0.6699, allocations: 197.6 kB / 0.7636 GB, free: 14.86 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.6699, allocations: 3.984 kB / 0.7636 GB, free: 14.86 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002327/0.6701, allocations: 47.89 kB / 0.7637 GB, free: 14.81 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.6701, allocations: 0 / 0.7637 GB, free: 14.81 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.497e-05/0.6702, allocations: 4 kB / 0.7637 GB, free: 14.8 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.6702, allocations: 0 / 0.7637 GB, free: 14.8 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.6702, allocations: 3.953 kB / 0.7637 GB, free: 14.8 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000756/0.6709, allocations: 351.2 kB / 0.764 GB, free: 14.44 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.742e-05/0.671, allocations: 81.02 kB / 0.7641 GB, free: 14.34 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.043e-05/0.671, allocations: 4 kB / 0.7641 GB, free: 14.34 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002229/0.6712, allocations: 39.95 kB / 0.7641 GB, free: 14.3 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.474e-05/0.6713, allocations: 8.375 kB / 0.7641 GB, free: 14.29 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.145e-05/0.6713, allocations: 7.938 kB / 0.7641 GB, free: 14.29 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 6.898e-05/0.6714, allocations: 95.2 kB / 0.7642 GB, free: 14.19 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6714, allocations: 4 kB / 0.7642 GB, free: 14.19 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002182/0.6716, allocations: 12 kB / 0.7642 GB, free: 14.18 MB / 0.5417 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 (3): * Single equations (assignments): 3 * 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.001052/0.6727, allocations: 0.8685 MB / 0.7651 GB, free: 13.28 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0007321/0.6734, allocations: 235.7 kB / 0.7653 GB, free: 13.05 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.6734, allocations: 0 / 0.7653 GB, free: 13.05 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0003563/0.6738, allocations: 119.9 kB / 0.7654 GB, free: 12.93 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001775/0.674, allocations: 0.8438 kB / 0.7654 GB, free: 12.93 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002252/0.6762, allocations: 0.9149 MB / 0.7663 GB, free: 11.97 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002412/0.6765, allocations: 0.6887 MB / 0.767 GB, free: 11.26 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 9.217e-05/0.6766, allocations: 19.98 kB / 0.767 GB, free: 11.24 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.767e-05/0.6767, allocations: 23.38 kB / 0.767 GB, free: 11.21 MB / 0.5417 GB Notification: Performance of SimCode: time 3.1e-07/0.6767, allocations: 0 / 0.767 GB, free: 11.21 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01209/0.6888, allocations: 1.619 MB / 0.7686 GB, free: 9.699 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001899/0.689, allocations: 166.8 kB / 0.7688 GB, free: 9.457 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.449/2.138, allocations: 3.938 kB / 0.7688 GB, free: 9.453 MB / 0.5417 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothMin_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Examples_SmoothMin.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothMin.pipe 2>&1)