Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Utilities_Math_Examples_SmoothMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.SmoothMin,fileNamePrefix="IDEAS_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.001001/0.001001, allocations: 175.2 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7585/0.7585, allocations: 133.4 MB / 146.7 MB, free: 10.79 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.58/1.58, allocations: 221.3 MB / 400.4 MB, free: 5.875 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008804/0.0008805, allocations: 91.89 kB / 483.3 MB, free: 5.895 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.519e-05/4.542e-05, allocations: 3.875 kB / 0.5601 GB, free: 87.87 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1771/0.1772, allocations: 82.3 MB / 0.6405 GB, free: 7.758 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8169/0.9941, allocations: 111.4 MB / 0.7493 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002368/0.9944, allocations: 77.52 kB / 0.7494 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.003875/0.9983, allocations: 1.155 MB / 0.7505 GB, free: 27.66 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.633e-06/0.9983, allocations: 0 / 0.7505 GB, free: 27.66 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.576e-06/0.9984, allocations: 0 / 0.7505 GB, free: 27.66 MB / 0.5105 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.0004176/0.9988, allocations: 350.9 kB / 0.7509 GB, free: 27.31 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.158e-05/0.9988, allocations: 7.75 kB / 0.7509 GB, free: 27.31 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.017e-05/0.9989, allocations: 41.41 kB / 0.7509 GB, free: 27.27 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008275/0.9997, allocations: 185.7 kB / 0.7511 GB, free: 27.27 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001549/0.9999, allocations: 181.1 kB / 0.7513 GB, free: 27.06 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.513e-05/0.9999, allocations: 0 / 0.7513 GB, free: 27.06 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.289e-05/1, allocations: 6.844 kB / 0.7513 GB, free: 27.06 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002189/1, allocations: 107.7 kB / 0.7514 GB, free: 27.03 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/1, allocations: 0 / 0.7514 GB, free: 27.03 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.542e-05/1, allocations: 0 / 0.7514 GB, free: 27.03 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/1, allocations: 0 / 0.7514 GB, free: 27.03 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001714/1, allocations: 116.9 kB / 0.7515 GB, free: 27.03 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000932/1.001, allocations: 468.3 kB / 0.7519 GB, free: 26.73 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003987/1.002, allocations: 156 kB / 0.7521 GB, free: 26.71 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.534e-05/1.002, allocations: 45.16 kB / 0.7521 GB, free: 26.7 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.937e-05/1.002, allocations: 0 / 0.7521 GB, free: 26.7 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.082e-05/1.002, allocations: 50.7 kB / 0.7522 GB, free: 26.66 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=3): time 1.333e-06/1.002, allocations: 0 / 0.7522 GB, free: 26.66 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3): time 0.0002793/1.002, allocations: 104.8 kB / 0.7523 GB, free: 26.62 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.178e-05/1.002, allocations: 59.2 kB / 0.7523 GB, free: 26.56 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.701e-05/1.002, allocations: 103.4 kB / 0.7524 GB, free: 26.46 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.248e-05/1.002, allocations: 29.33 kB / 0.7525 GB, free: 26.43 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 7.256e-05/1.002, allocations: 94.22 kB / 0.7525 GB, free: 26.35 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.427e-05/1.003, allocations: 7.812 kB / 0.7526 GB, free: 26.34 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.524e-06/1.003, allocations: 4 kB / 0.7526 GB, free: 26.34 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001673/1.003, allocations: 321.6 kB / 0.7529 GB, free: 26.03 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.057e-05/1.003, allocations: 42.38 kB / 0.7529 GB, free: 26.03 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.372e-05/1.003, allocations: 42.62 kB / 0.7529 GB, free: 26.03 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.877e-05/1.003, allocations: 31.95 kB / 0.753 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/1.003, allocations: 3.938 kB / 0.753 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002247/1.003, allocations: 114.6 kB / 0.7531 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/1.003, allocations: 4.281 kB / 0.7531 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/1.003, allocations: 0 / 0.7531 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/1.003, allocations: 3.953 kB / 0.7531 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003079/1.004, allocations: 49.16 kB / 0.7531 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.768e-06/1.004, allocations: 3.844 kB / 0.7531 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000237/1.004, allocations: 46.19 kB / 0.7532 GB, free: 25.96 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.559e-05/1.004, allocations: 0 / 0.7532 GB, free: 25.96 MB / 0.5105 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 (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 0.0001026/1.004, allocations: 103.4 kB / 0.7533 GB, free: 25.86 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.995e-05/1.004, allocations: 3.781 kB / 0.7533 GB, free: 25.86 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.896e-05/1.004, allocations: 14.38 kB / 0.7533 GB, free: 25.85 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/1.004, allocations: 0 / 0.7533 GB, free: 25.85 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/1.004, allocations: 3.953 kB / 0.7533 GB, free: 25.85 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/1.004, allocations: 0 / 0.7533 GB, free: 25.85 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002402/1.004, allocations: 205 kB / 0.7535 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/1.004, allocations: 3.422 kB / 0.7535 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000267/1.005, allocations: 45.69 kB / 0.7536 GB, free: 25.65 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/1.005, allocations: 3.281 kB / 0.7536 GB, free: 25.65 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.466e-05/1.005, allocations: 3.656 kB / 0.7536 GB, free: 25.65 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/1.005, allocations: 0 / 0.7536 GB, free: 25.65 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/1.005, allocations: 7.953 kB / 0.7536 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002787/1.005, allocations: 206.9 kB / 0.7538 GB, free: 25.51 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.196e-05/1.005, allocations: 84.3 kB / 0.7538 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.41e-05/1.005, allocations: 4 kB / 0.7538 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002718/1.005, allocations: 39.89 kB / 0.7539 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.624e-05/1.005, allocations: 3.953 kB / 0.7539 GB, free: 25.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.149e-05/1.005, allocations: 3.719 kB / 0.7539 GB, free: 25.4 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 6.979e-05/1.006, allocations: 93.53 kB / 0.754 GB, free: 25.33 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.91e-07/1.006, allocations: 0 / 0.754 GB, free: 25.33 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003994/1.006, allocations: 15.31 kB / 0.754 GB, free: 25.33 MB / 0.5105 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 (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.0005873/1.007, allocations: 0.7384 MB / 0.7547 GB, free: 24.66 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002152/1.007, allocations: 88.94 kB / 0.7548 GB, free: 24.66 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/1.007, allocations: 3.844 kB / 0.7548 GB, free: 24.66 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 9.07e-05/1.007, allocations: 55.14 kB / 0.7549 GB, free: 24.66 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001974/1.007, allocations: 3.844 kB / 0.7549 GB, free: 24.66 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008731/1.008, allocations: 221.1 kB / 0.7551 GB, free: 24.54 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003241/1.008, allocations: 0.6885 MB / 0.7557 GB, free: 23.84 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001011/1.008, allocations: 22.22 kB / 0.7558 GB, free: 23.84 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.973e-05/1.008, allocations: 15.06 kB / 0.7558 GB, free: 23.83 MB / 0.5105 GB Notification: Performance of SimCode: time 3.51e-07/1.008, allocations: 0 / 0.7558 GB, free: 23.83 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01512/1.024, allocations: 1.616 MB / 0.7574 GB, free: 23.66 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000222/1.024, allocations: 130.6 kB / 0.7575 GB, free: 23.44 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.443/2.467, allocations: 0 / 0.7575 GB, free: 23.44 MB / 0.5105 GB (rm -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_SmoothMin_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_SmoothMin.fmu > IDEAS_IDEAS.Utilities.Math.Examples.SmoothMin.pipe 2>&1)