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.0009499/0.0009499, allocations: 176.2 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.7414/0.7414, allocations: 133.6 MB / 141.6 MB, free: 2.824 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.423/1.423, allocations: 221.5 MB / 395.4 MB, free: 10.78 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.0009162/0.0009162, allocations: 107.4 kB / 478.2 MB, free: 1.34 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.777e-05/2.762e-05, allocations: 7.984 kB / 0.5536 GB, free: 8.977 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4753/0.4753, allocations: 82.3 MB / 0.6339 GB, free: 40.73 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1571/0.6325, allocations: 110.8 MB / 0.7421 GB, free: 11.94 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002769/0.6328, allocations: 71.95 kB / 0.7422 GB, free: 11.87 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.003739/0.6366, allocations: 1.158 MB / 0.7433 GB, free: 10.71 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.883e-06/0.6366, allocations: 0 / 0.7433 GB, free: 10.71 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.774e-06/0.6366, allocations: 4 kB / 0.7433 GB, free: 10.71 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.0004154/0.637, allocations: 354.4 kB / 0.7436 GB, free: 10.32 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.496e-05/0.6371, allocations: 8.031 kB / 0.7436 GB, free: 10.31 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008601/0.6379, allocations: 191.7 kB / 0.7438 GB, free: 10.12 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001542/0.6381, allocations: 166.9 kB / 0.744 GB, free: 9.922 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.922e-05/0.6381, allocations: 8 kB / 0.744 GB, free: 9.914 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.867e-05/0.6382, allocations: 0 / 0.744 GB, free: 9.914 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000222/0.6384, allocations: 115.9 kB / 0.7441 GB, free: 9.801 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001865/0.6386, allocations: 109.5 kB / 0.7442 GB, free: 9.688 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.6386, allocations: 0 / 0.7442 GB, free: 9.688 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.221e-05/0.6386, allocations: 3.984 kB / 0.7442 GB, free: 9.684 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.6387, allocations: 4 kB / 0.7442 GB, free: 9.68 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001037/0.6397, allocations: 418 kB / 0.7446 GB, free: 9.23 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004155/0.6401, allocations: 166.5 kB / 0.7448 GB, free: 9.059 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.928e-05/0.6402, allocations: 44.92 kB / 0.7448 GB, free: 9.012 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.029e-05/0.6403, allocations: 0 / 0.7448 GB, free: 9.012 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.32e-05/0.6403, allocations: 38.55 kB / 0.7449 GB, free: 8.965 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=3): time 1.253e-06/0.6403, allocations: 0 / 0.7449 GB, free: 8.965 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3): time 0.0003298/0.6407, allocations: 113.5 kB / 0.745 GB, free: 8.848 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.527e-05/0.6407, allocations: 51.41 kB / 0.745 GB, free: 8.785 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001069/0.6408, allocations: 101 kB / 0.7451 GB, free: 8.68 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.512e-05/0.6409, allocations: 25.7 kB / 0.7451 GB, free: 8.648 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 8.293e-05/0.641, allocations: 88.12 kB / 0.7452 GB, free: 8.559 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.071e-05/0.641, allocations: 15.81 kB / 0.7452 GB, free: 8.543 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.408e-06/0.641, allocations: 0 / 0.7452 GB, free: 8.543 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001481/0.6412, allocations: 310.8 kB / 0.7455 GB, free: 8.23 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.173e-05/0.6412, allocations: 47.97 kB / 0.7456 GB, free: 8.184 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.632e-05/0.6413, allocations: 43.91 kB / 0.7456 GB, free: 8.141 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.266e-05/0.6414, allocations: 44.03 kB / 0.7457 GB, free: 8.098 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.6414, allocations: 0 / 0.7457 GB, free: 8.098 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001648/0.6416, allocations: 101.6 kB / 0.7458 GB, free: 7.992 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/0.6416, allocations: 5.875 kB / 0.7458 GB, free: 7.988 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.6416, allocations: 4 kB / 0.7458 GB, free: 7.984 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.6416, allocations: 0 / 0.7458 GB, free: 7.984 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002692/0.6419, allocations: 43.94 kB / 0.7458 GB, free: 7.941 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.877e-05/0.6419, allocations: 4.312 kB / 0.7458 GB, free: 7.938 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001984/0.6422, allocations: 39.84 kB / 0.7458 GB, free: 7.898 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.538e-05/0.6422, allocations: 4 kB / 0.7459 GB, free: 7.895 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 (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 9.103e-05/0.6423, allocations: 105 kB / 0.746 GB, free: 7.785 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002285/0.6425, allocations: 117.5 kB / 0.7461 GB, free: 7.664 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.648e-05/0.6426, allocations: 4 kB / 0.7461 GB, free: 7.66 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.03e-05/0.6426, allocations: 4.344 kB / 0.7461 GB, free: 7.656 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.6426, allocations: 3.953 kB / 0.7461 GB, free: 7.652 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.6426, allocations: 4 kB / 0.7461 GB, free: 7.648 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.6426, allocations: 0 / 0.7461 GB, free: 7.648 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002137/0.6429, allocations: 186.1 kB / 0.7463 GB, free: 7.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.6429, allocations: 4 kB / 0.7463 GB, free: 7.426 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002286/0.6431, allocations: 39.95 kB / 0.7463 GB, free: 7.387 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.6431, allocations: 0 / 0.7463 GB, free: 7.387 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.513e-05/0.6431, allocations: 3.984 kB / 0.7463 GB, free: 7.383 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.6431, allocations: 0 / 0.7463 GB, free: 7.383 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.965e-06/0.6432, allocations: 11.94 kB / 0.7463 GB, free: 7.371 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002436/0.6434, allocations: 203.4 kB / 0.7465 GB, free: 7.156 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.581e-05/0.6435, allocations: 81.05 kB / 0.7466 GB, free: 7.059 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.428e-05/0.6435, allocations: 4 kB / 0.7466 GB, free: 7.055 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002293/0.6437, allocations: 35.89 kB / 0.7466 GB, free: 7.02 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.899e-05/0.6438, allocations: 11.98 kB / 0.7466 GB, free: 7.008 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.86e-05/0.6438, allocations: 7.953 kB / 0.7466 GB, free: 7 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 5.416e-05/0.6439, allocations: 83.28 kB / 0.7467 GB, free: 6.918 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6439, allocations: 0 / 0.7467 GB, free: 6.918 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002239/0.6441, allocations: 12 kB / 0.7467 GB, free: 6.906 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 (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.0005574/0.6447, allocations: 0.7319 MB / 0.7474 GB, free: 6.145 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002052/0.6449, allocations: 99.92 kB / 0.7475 GB, free: 6.047 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.6449, allocations: 0 / 0.7475 GB, free: 6.047 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 8.152e-05/0.645, allocations: 47.91 kB / 0.7476 GB, free: 6 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001942/0.6452, allocations: 0 / 0.7476 GB, free: 6 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007726/0.646, allocations: 209.4 kB / 0.7478 GB, free: 5.758 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003104/0.6463, allocations: 0.7001 MB / 0.7485 GB, free: 5.031 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 9.044e-05/0.6464, allocations: 23.94 kB / 0.7485 GB, free: 5.008 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.057e-05/0.6465, allocations: 15.42 kB / 0.7485 GB, free: 4.992 MB / 0.5261 GB Notification: Performance of SimCode: time 2.5e-07/0.6465, allocations: 0 / 0.7485 GB, free: 4.992 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02221/0.6687, allocations: 1.211 MB / 0.7497 GB, free: 3.793 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002361/0.669, allocations: 125.7 kB / 0.7498 GB, free: 3.602 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.445/2.114, allocations: 3.938 kB / 0.7498 GB, free: 3.598 MB / 0.5261 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)