Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothMin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothMin") translateModel(Buildings.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothMin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001712/0.001712, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002009/0.002009, allocations: 190.2 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.741/1.741, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.802/2.802, allocations: 472.6 MB / 0.7448 GB, free: 4.895 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 68.03 kB / 0.9115 GB, free: 33.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2918/0.293, allocations: 159.9 MB / 1.068 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.002725/0.2957, allocations: 1.532 MB / 1.069 GB, free: 9.246 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0003684/0.2961, allocations: 147.6 kB / 1.069 GB, free: 9.102 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.082e-05/0.2962, allocations: 0 / 1.069 GB, free: 9.102 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.61e-05/0.2962, allocations: 0 / 1.069 GB, free: 9.102 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.307e-05/0.2963, allocations: 3.938 kB / 1.069 GB, free: 9.098 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002143/0.2965, allocations: 27.97 kB / 1.069 GB, free: 9.07 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.892e-05/0.2966, allocations: 43.86 kB / 1.069 GB, free: 9.027 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001273/0.2968, allocations: 27.97 kB / 1.069 GB, free: 9 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.966e-05/0.2968, allocations: 11.94 kB / 1.069 GB, free: 8.988 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.983e-05/0.2968, allocations: 19.92 kB / 1.069 GB, free: 8.969 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.654e-05/0.2969, allocations: 8 kB / 1.069 GB, free: 8.961 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.962e-05/0.297, allocations: 31.97 kB / 1.069 GB, free: 8.93 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.929e-05/0.297, allocations: 15.92 kB / 1.069 GB, free: 8.914 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.804e-05/0.297, allocations: 15.94 kB / 1.07 GB, free: 8.898 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001237/0.2971, allocations: 67.78 kB / 1.07 GB, free: 8.832 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.2972, allocations: 0 / 1.07 GB, free: 8.832 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.262e-06/0.2972, allocations: 3.938 kB / 1.07 GB, free: 8.828 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.128e-06/0.2972, allocations: 0 / 1.07 GB, free: 8.828 MB / 0.8262 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.0004488/0.2976, allocations: 351.7 kB / 1.07 GB, free: 8.434 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.261e-05/0.2977, allocations: 12.03 kB / 1.07 GB, free: 8.422 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00104/0.2987, allocations: 216.5 kB / 1.07 GB, free: 8.211 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001102/0.2988, allocations: 164.3 kB / 1.07 GB, free: 8.012 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.158e-05/0.2989, allocations: 4.375 kB / 1.07 GB, free: 8.008 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.808e-05/0.2989, allocations: 4.375 kB / 1.07 GB, free: 8.004 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005445/0.2994, allocations: 202 kB / 1.07 GB, free: 7.801 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.263e-06/0.2994, allocations: 192 / 1.07 GB, free: 7.801 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.641e-05/0.2995, allocations: 7.938 kB / 1.071 GB, free: 7.793 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.409e-06/0.2995, allocations: 0 / 1.071 GB, free: 7.793 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008022/0.3003, allocations: 279.5 kB / 1.071 GB, free: 7.52 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008622/0.3011, allocations: 441 kB / 1.071 GB, free: 7.039 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001062/0.3022, allocations: 286.2 kB / 1.071 GB, free: 6.75 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003544/0.3026, allocations: 104.8 kB / 1.072 GB, free: 6.645 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.428e-05/0.3026, allocations: 3.938 kB / 1.072 GB, free: 6.641 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.279e-05/0.3027, allocations: 30.56 kB / 1.072 GB, free: 6.602 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.232e-06/0.3027, allocations: 0 / 1.072 GB, free: 6.602 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.001173/0.3038, allocations: 313.4 kB / 1.072 GB, free: 6.289 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.407e-05/0.3039, allocations: 55.41 kB / 1.072 GB, free: 6.223 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.36e-05/0.304, allocations: 117.8 kB / 1.072 GB, free: 6.098 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.909e-05/0.304, allocations: 33.7 kB / 1.072 GB, free: 6.059 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.507e-05/0.3041, allocations: 84.14 kB / 1.072 GB, free: 5.973 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.117e-05/0.3041, allocations: 19.73 kB / 1.072 GB, free: 5.953 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.083e-05/0.3042, allocations: 21.66 kB / 1.072 GB, free: 5.926 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001161/0.3043, allocations: 322.8 kB / 1.073 GB, free: 5.602 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003595/0.3047, allocations: 95.81 kB / 1.073 GB, free: 5.508 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003303/0.305, allocations: 95.88 kB / 1.073 GB, free: 5.414 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006357/0.3056, allocations: 168.6 kB / 1.073 GB, free: 5.246 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.3057, allocations: 4 kB / 1.073 GB, free: 5.242 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006922/0.3063, allocations: 209.5 kB / 1.073 GB, free: 5.031 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.3064, allocations: 8 kB / 1.073 GB, free: 5.023 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.3064, allocations: 4 kB / 1.073 GB, free: 5.02 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.3064, allocations: 0 / 1.073 GB, free: 5.02 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000239/0.3066, allocations: 35.94 kB / 1.073 GB, free: 4.984 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.3067, allocations: 7.938 kB / 1.073 GB, free: 4.977 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001831/0.3068, allocations: 23.95 kB / 1.073 GB, free: 4.953 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.366e-05/0.3069, allocations: 4 kB / 1.073 GB, free: 4.949 MB / 0.8262 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001023/0.307, allocations: 121.8 kB / 1.073 GB, free: 4.82 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.038e-05/0.307, allocations: 3.906 kB / 1.073 GB, free: 4.816 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.456e-05/0.3071, allocations: 15.91 kB / 1.073 GB, free: 4.793 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.3071, allocations: 0 / 1.073 GB, free: 4.793 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.3071, allocations: 0 / 1.073 GB, free: 4.793 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.3071, allocations: 0 / 1.073 GB, free: 4.793 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002111/0.3073, allocations: 213.6 kB / 1.073 GB, free: 4.535 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.3073, allocations: 0 / 1.073 GB, free: 4.535 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002242/0.3075, allocations: 35.94 kB / 1.074 GB, free: 4.5 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.3076, allocations: 0 / 1.074 GB, free: 4.5 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/0.3076, allocations: 4 kB / 1.074 GB, free: 4.496 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.3076, allocations: 0 / 1.074 GB, free: 4.496 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.3076, allocations: 4 kB / 1.074 GB, free: 4.492 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007411/0.3083, allocations: 319.1 kB / 1.074 GB, free: 4.164 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.175e-05/0.3084, allocations: 81.48 kB / 1.074 GB, free: 4.066 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.15e-05/0.3084, allocations: 0 / 1.074 GB, free: 4.066 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002168/0.3086, allocations: 27.95 kB / 1.074 GB, free: 4.039 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.049e-05/0.3087, allocations: 4 kB / 1.074 GB, free: 4.035 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.203e-05/0.3087, allocations: 7.922 kB / 1.074 GB, free: 4.027 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.729e-05/0.3088, allocations: 95.27 kB / 1.074 GB, free: 3.934 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.71e-07/0.3088, allocations: 3.938 kB / 1.074 GB, free: 3.93 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000231/0.309, allocations: 16 kB / 1.074 GB, free: 3.914 MB / 0.8262 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001427/0.3092, allocations: 99.19 kB / 1.074 GB, free: 3.809 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0007361/0.3099, allocations: 191.8 kB / 1.074 GB, free: 3.621 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.3099, allocations: 4 kB / 1.074 GB, free: 3.617 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003422/0.3103, allocations: 103.8 kB / 1.074 GB, free: 3.516 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002414/0.3105, allocations: 7.531 kB / 1.074 GB, free: 3.512 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008584/0.3114, allocations: 277.6 kB / 1.075 GB, free: 3.215 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002332/0.3116, allocations: 0.6885 MB / 1.075 GB, free: 2.5 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.737e-05/0.3117, allocations: 23.98 kB / 1.075 GB, free: 2.477 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.759e-05/0.3118, allocations: 7.438 kB / 1.075 GB, free: 2.469 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.3118, allocations: 0 / 1.075 GB, free: 2.469 MB / 0.8262 GB Notification: Performance of Templates: time 0.002754/0.3145, allocations: 0.8797 MB / 1.076 GB, free: 1.59 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothMin.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothMin.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothMin.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothMin -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothMin.pipe 2>&1)