Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.SmoothMin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothMin,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Examples_SmoothMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothMin,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Examples_SmoothMin",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.723/1.723, allocations: 289.9 MB / 297.4 MB, free: 6.402 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00116/0.00116, allocations: 188.8 kB / 366.7 MB, free: 1.684 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.831/1.831, allocations: 205.3 MB / 0.626 GB, free: 7.191 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009357/0.0009359, allocations: 90.91 kB / 0.74 GB, free: 39.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.298e-05/2.289e-05, allocations: 8 kB / 0.8598 GB, free: 12.99 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7972/0.7972, allocations: 116.3 MB / 0.9733 GB, free: 76.22 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2542/1.052, allocations: 138.4 MB / 1.109 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002445/1.052, allocations: 73.83 kB / 1.109 GB, free: 11.63 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.003469/1.055, allocations: 1.141 MB / 1.11 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.863e-06/1.055, allocations: 0 / 1.11 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.066e-05/1.055, allocations: 4 kB / 1.11 GB, free: 10.51 MB / 0.7136 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.0004453/1.056, allocations: 348 kB / 1.11 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.955e-05/1.056, allocations: 12.75 kB / 1.11 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008763/1.057, allocations: 192.4 kB / 1.11 GB, free: 9.934 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000141/1.057, allocations: 165.7 kB / 1.11 GB, free: 9.734 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.019e-05/1.057, allocations: 9.109 kB / 1.11 GB, free: 9.727 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.682e-05/1.057, allocations: 1.125 kB / 1.11 GB, free: 9.727 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002335/1.057, allocations: 111.9 kB / 1.11 GB, free: 9.617 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001874/1.057, allocations: 106.6 kB / 1.111 GB, free: 9.508 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/1.057, allocations: 4 kB / 1.111 GB, free: 9.504 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.722e-05/1.057, allocations: 0 / 1.111 GB, free: 9.504 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/1.057, allocations: 3.656 kB / 1.111 GB, free: 9.504 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000933/1.058, allocations: 436.5 kB / 1.111 GB, free: 9.047 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003746/1.059, allocations: 160.5 kB / 1.111 GB, free: 8.883 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.407e-05/1.059, allocations: 48.98 kB / 1.111 GB, free: 8.832 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.328e-05/1.059, allocations: 4 kB / 1.111 GB, free: 8.828 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.248e-05/1.059, allocations: 31.62 kB / 1.111 GB, free: 8.789 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 1.083e-06/1.059, allocations: 2.25 kB / 1.111 GB, free: 8.789 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.00025/1.059, allocations: 109 kB / 1.111 GB, free: 8.68 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.345e-05/1.059, allocations: 55.36 kB / 1.111 GB, free: 8.613 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.292e-05/1.059, allocations: 101 kB / 1.112 GB, free: 8.508 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.92e-05/1.059, allocations: 25.7 kB / 1.112 GB, free: 8.477 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.044e-05/1.059, allocations: 88.14 kB / 1.112 GB, free: 8.387 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.542e-05/1.059, allocations: 11.8 kB / 1.112 GB, free: 8.375 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.887e-06/1.059, allocations: 0 / 1.112 GB, free: 8.375 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001302/1.06, allocations: 318.8 kB / 1.112 GB, free: 8.055 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.55e-05/1.06, allocations: 47.91 kB / 1.112 GB, free: 8.008 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.067e-05/1.06, allocations: 44 kB / 1.112 GB, free: 7.965 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.129e-05/1.06, allocations: 31.97 kB / 1.112 GB, free: 7.934 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/1.06, allocations: 0 / 1.112 GB, free: 7.934 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001683/1.06, allocations: 105.6 kB / 1.112 GB, free: 7.824 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/1.06, allocations: 8 kB / 1.112 GB, free: 7.816 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/1.06, allocations: 1.25 kB / 1.112 GB, free: 7.816 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/1.06, allocations: 2.953 kB / 1.112 GB, free: 7.816 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002762/1.06, allocations: 47.94 kB / 1.112 GB, free: 7.77 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/1.06, allocations: 0 / 1.112 GB, free: 7.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001925/1.061, allocations: 39.84 kB / 1.112 GB, free: 7.73 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.438e-05/1.061, allocations: 4 kB / 1.112 GB, free: 7.727 MB / 0.7136 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 7.429e-05/1.061, allocations: 105 kB / 1.112 GB, free: 7.617 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001726/1.061, allocations: 113.5 kB / 1.112 GB, free: 7.5 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.531e-05/1.061, allocations: 4 kB / 1.112 GB, free: 7.496 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.78e-05/1.061, allocations: 10.3 kB / 1.112 GB, free: 7.477 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/1.061, allocations: 4 kB / 1.112 GB, free: 7.473 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.824e-06/1.061, allocations: 4.891 kB / 1.112 GB, free: 7.469 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/1.061, allocations: 0 / 1.112 GB, free: 7.469 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001939/1.061, allocations: 178.2 kB / 1.113 GB, free: 7.258 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/1.061, allocations: 4 kB / 1.113 GB, free: 7.254 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00023/1.061, allocations: 43.94 kB / 1.113 GB, free: 7.211 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/1.061, allocations: 0 / 1.113 GB, free: 7.211 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/1.061, allocations: 0 / 1.113 GB, free: 7.211 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/1.061, allocations: 6.188 kB / 1.113 GB, free: 7.207 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.706e-06/1.061, allocations: 0 / 1.113 GB, free: 7.207 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002225/1.062, allocations: 215.3 kB / 1.113 GB, free: 6.98 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.291e-05/1.062, allocations: 81.11 kB / 1.113 GB, free: 6.883 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.114e-05/1.062, allocations: 0 / 1.113 GB, free: 6.883 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002169/1.062, allocations: 31.95 kB / 1.113 GB, free: 6.852 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.045e-05/1.062, allocations: 8 kB / 1.113 GB, free: 6.844 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.119e-05/1.062, allocations: 3.984 kB / 1.113 GB, free: 6.84 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.567e-05/1.062, allocations: 91.17 kB / 1.113 GB, free: 6.75 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.41e-07/1.062, allocations: 4 kB / 1.113 GB, free: 6.746 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002261/1.062, allocations: 12 kB / 1.113 GB, free: 6.734 MB / 0.7136 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.0004933/1.063, allocations: 0.7345 MB / 1.114 GB, free: 5.977 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001965/1.063, allocations: 93.09 kB / 1.114 GB, free: 5.887 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/1.063, allocations: 0 / 1.114 GB, free: 5.887 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.462e-05/1.063, allocations: 47.97 kB / 1.114 GB, free: 5.84 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000184/1.063, allocations: 10.48 kB / 1.114 GB, free: 5.832 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007489/1.064, allocations: 206.2 kB / 1.114 GB, free: 5.594 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003108/1.064, allocations: 0.6889 MB / 1.115 GB, free: 4.879 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 8.524e-05/1.065, allocations: 19.98 kB / 1.115 GB, free: 4.859 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.709e-05/1.065, allocations: 15.44 kB / 1.115 GB, free: 4.844 MB / 0.7136 GB Notification: Performance of SimCode: time 2.71e-07/1.065, allocations: 4 kB / 1.115 GB, free: 4.84 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01983/1.084, allocations: 1.211 MB / 1.116 GB, free: 3.664 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002055/1.085, allocations: 130.4 kB / 1.116 GB, free: 3.477 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.569/2.654, allocations: 0 / 1.116 GB, free: 3.477 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.SmoothMin.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.SmoothMin.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Examples_SmoothMin_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Examples_SmoothMin.fmu > Buildings_8_Buildings.Utilities.Math.Examples.SmoothMin.pipe 2>&1)