Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothMin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothMin,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_SmoothMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothMin,fileNamePrefix="Buildings_maint_8_0_x_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.0.1-maint.8.0.x/package.mo): time 1.752/1.752, allocations: 285.4 MB / 298 MB, free: 6 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.0009573/0.0009572, allocations: 180.8 kB / 366.4 MB, free: 2.066 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.647/1.647, allocations: 205.1 MB / 0.6248 GB, free: 7.723 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.0008908/0.0008911, allocations: 98.25 kB / 0.738 GB, free: 40.26 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.98e-05/3.982e-05, allocations: 4 kB / 0.8584 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7808/0.7808, allocations: 115.3 MB / 0.971 GB, free: 77.82 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2055/0.9864, allocations: 138.1 MB / 1.106 GB, free: 13.69 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002741/0.9867, allocations: 70.86 kB / 1.106 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.003445/0.9902, allocations: 1.155 MB / 1.107 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.763e-06/0.9902, allocations: 0 / 1.107 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.135e-05/0.9902, allocations: 0 / 1.107 GB, free: 12.5 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.0003986/0.9906, allocations: 363.2 kB / 1.107 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/0.9907, allocations: 12.03 kB / 1.107 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.816e-05/0.9907, allocations: 35.7 kB / 1.107 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008224/0.9916, allocations: 184 kB / 1.108 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001211/0.9917, allocations: 172.1 kB / 1.108 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.9917, allocations: 0.6875 kB / 1.108 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.109e-05/0.9918, allocations: 6 kB / 1.108 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002268/0.992, allocations: 115 kB / 1.108 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.992, allocations: 0 / 1.108 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.41e-05/0.992, allocations: 0 / 1.108 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.992, allocations: 2.719 kB / 1.108 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001911/0.9922, allocations: 115.9 kB / 1.108 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009526/0.9932, allocations: 457.5 kB / 1.108 GB, free: 10.94 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004063/0.9936, allocations: 168 kB / 1.109 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.003e-05/0.9937, allocations: 50.2 kB / 1.109 GB, free: 10.72 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.048e-05/0.9937, allocations: 0 / 1.109 GB, free: 10.72 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.162e-05/0.9938, allocations: 35.47 kB / 1.109 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 1.292e-06/0.9938, allocations: 0 / 1.109 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0002698/0.9941, allocations: 115.5 kB / 1.109 GB, free: 10.56 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.346e-05/0.9941, allocations: 51.41 kB / 1.109 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.901e-05/0.9942, allocations: 109.2 kB / 1.109 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.187e-05/0.9942, allocations: 25.7 kB / 1.109 GB, free: 10.35 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.449e-05/0.9943, allocations: 98.8 kB / 1.109 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.284e-05/0.9943, allocations: 11.81 kB / 1.109 GB, free: 10.24 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.243e-06/0.9943, allocations: 0 / 1.109 GB, free: 10.24 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001559/0.9945, allocations: 318.8 kB / 1.109 GB, free: 9.918 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.734e-05/0.9946, allocations: 43.97 kB / 1.109 GB, free: 9.875 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.691e-05/0.9947, allocations: 43.25 kB / 1.109 GB, free: 9.836 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.07e-05/0.9948, allocations: 33.75 kB / 1.109 GB, free: 9.805 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.9948, allocations: 0 / 1.109 GB, free: 9.805 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001884/0.995, allocations: 109.6 kB / 1.11 GB, free: 9.691 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.995, allocations: 8 kB / 1.11 GB, free: 9.684 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.995, allocations: 0 / 1.11 GB, free: 9.684 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.995, allocations: 4 kB / 1.11 GB, free: 9.68 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002677/0.9953, allocations: 39.91 kB / 1.11 GB, free: 9.641 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.9953, allocations: 3.984 kB / 1.11 GB, free: 9.637 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000201/0.9955, allocations: 43.89 kB / 1.11 GB, free: 9.594 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.56e-05/0.9955, allocations: 0 / 1.11 GB, free: 9.594 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 8.307e-05/0.9956, allocations: 108.9 kB / 1.11 GB, free: 9.48 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.481e-05/0.9957, allocations: 7.906 kB / 1.11 GB, free: 9.473 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.62e-05/0.9957, allocations: 8.031 kB / 1.11 GB, free: 9.453 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.9957, allocations: 4 kB / 1.11 GB, free: 9.449 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.9958, allocations: 3.953 kB / 1.11 GB, free: 9.445 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.9958, allocations: 2.312 kB / 1.11 GB, free: 9.445 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002251/0.996, allocations: 205.6 kB / 1.11 GB, free: 9.195 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.996, allocations: 0 / 1.11 GB, free: 9.195 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002305/0.9962, allocations: 43.94 kB / 1.11 GB, free: 9.152 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.9963, allocations: 2.906 kB / 1.11 GB, free: 9.152 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.293e-05/0.9963, allocations: 4 kB / 1.11 GB, free: 9.148 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.9963, allocations: 0 / 1.11 GB, free: 9.148 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.9963, allocations: 7.953 kB / 1.11 GB, free: 9.141 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002382/0.9965, allocations: 207.4 kB / 1.11 GB, free: 8.922 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.212e-05/0.9966, allocations: 81.11 kB / 1.11 GB, free: 8.824 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.9966, allocations: 3.938 kB / 1.11 GB, free: 8.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002361/0.9969, allocations: 39.95 kB / 1.11 GB, free: 8.781 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.999e-05/0.9969, allocations: 7.922 kB / 1.11 GB, free: 8.773 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.959e-06/0.9969, allocations: 3.953 kB / 1.11 GB, free: 8.77 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.597e-05/0.997, allocations: 91.28 kB / 1.11 GB, free: 8.68 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/0.997, allocations: 0 / 1.11 GB, free: 8.68 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002179/0.9972, allocations: 16 kB / 1.111 GB, free: 8.664 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.0004996/0.9977, allocations: 0.7358 MB / 1.111 GB, free: 7.902 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002142/0.9979, allocations: 96.14 kB / 1.111 GB, free: 7.809 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.998, allocations: 0 / 1.111 GB, free: 7.809 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.595e-05/0.998, allocations: 52.06 kB / 1.111 GB, free: 7.758 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001745/0.9982, allocations: 0 / 1.111 GB, free: 7.758 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007967/0.999, allocations: 220.1 kB / 1.112 GB, free: 7.512 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002653/0.9993, allocations: 0.6926 MB / 1.112 GB, free: 6.793 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 9.189e-05/0.9994, allocations: 19.98 kB / 1.112 GB, free: 6.773 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.14e-05/0.9995, allocations: 19.42 kB / 1.112 GB, free: 6.754 MB / 0.7136 GB Notification: Performance of SimCode: time 3.11e-07/0.9995, allocations: 0 / 1.112 GB, free: 6.754 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01117/1.011, allocations: 1.637 MB / 1.114 GB, free: 5.312 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001698/1.011, allocations: 161.3 kB / 1.114 GB, free: 5.086 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.475/2.486, allocations: 4.062 kB / 1.114 GB, free: 5.082 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothMin.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothMin.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_SmoothMin_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_SmoothMin.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothMin.pipe 2>&1)