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/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 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_8_Buildings.Utilities.Math.Examples.SmoothMin") translateModel(Buildings.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001219/0.001219, allocations: 99.31 kB / 15.05 MB, free: 1.105 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.00149/0.00149, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.543/1.543, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.882/1.882, allocations: 292.5 MB / 0.5497 GB, free: 14.66 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005963/0.0005969, allocations: 16.88 kB / 0.6735 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.284/0.2847, allocations: 116.3 MB / 0.7871 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.001912/0.2866, allocations: 1.172 MB / 0.7883 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0003893/0.287, allocations: 140.5 kB / 0.7884 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.116e-05/0.2871, allocations: 0 / 0.7884 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.181e-05/0.2872, allocations: 4 kB / 0.7884 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.058e-05/0.2872, allocations: 0 / 0.7884 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002322/0.2875, allocations: 27.95 kB / 0.7884 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.095e-05/0.2876, allocations: 27.91 kB / 0.7885 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001253/0.2877, allocations: 12 kB / 0.7885 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.28e-05/0.2878, allocations: 15.92 kB / 0.7885 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.244e-05/0.2878, allocations: 15.92 kB / 0.7885 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.443e-05/0.2878, allocations: 4 kB / 0.7885 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.128e-05/0.2879, allocations: 23.97 kB / 0.7885 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.13e-05/0.288, allocations: 11.98 kB / 0.7885 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.422e-05/0.288, allocations: 25.7 kB / 0.7886 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001217/0.2881, allocations: 39.94 kB / 0.7886 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.2882, allocations: 3.938 kB / 0.7886 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.996e-06/0.2882, allocations: 0 / 0.7886 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.556e-06/0.2882, allocations: 3.938 kB / 0.7886 GB, free: 10.47 MB / 0.6075 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.0005435/0.2887, allocations: 363.5 kB / 0.7889 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.2888, allocations: 8.031 kB / 0.789 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001139/0.2899, allocations: 239.5 kB / 0.7892 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001348/0.2901, allocations: 179 kB / 0.7894 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.662e-05/0.2901, allocations: 0 / 0.7894 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.58e-05/0.2901, allocations: 4 kB / 0.7894 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005895/0.2907, allocations: 214.6 kB / 0.7896 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.2907, allocations: 0 / 0.7896 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.843e-05/0.2908, allocations: 4 kB / 0.7896 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.2908, allocations: 0 / 0.7896 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008632/0.2916, allocations: 331.5 kB / 0.7899 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001007/0.2927, allocations: 453.2 kB / 0.7903 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001147/0.2938, allocations: 334.4 kB / 0.7906 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.197e-05/0.2939, allocations: 7.922 kB / 0.7906 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.249e-05/0.2939, allocations: 34.56 kB / 0.7907 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.283e-06/0.2939, allocations: 0 / 0.7907 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.001284/0.2952, allocations: 369.2 kB / 0.791 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.675e-05/0.2952, allocations: 51.41 kB / 0.7911 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001188/0.2954, allocations: 118 kB / 0.7912 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.026e-05/0.2954, allocations: 29.7 kB / 0.7912 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.455e-05/0.2955, allocations: 88.12 kB / 0.7913 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.65e-05/0.2955, allocations: 15.84 kB / 0.7913 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.168e-06/0.2955, allocations: 0 / 0.7913 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001294/0.2957, allocations: 310.8 kB / 0.7916 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003692/0.296, allocations: 119.8 kB / 0.7917 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003608/0.2964, allocations: 115.9 kB / 0.7918 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003466/0.2968, allocations: 103.9 kB / 0.7919 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.2968, allocations: 0 / 0.7919 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000752/0.2975, allocations: 261.3 kB / 0.7922 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.2976, allocations: 8 kB / 0.7922 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.2976, allocations: 0 / 0.7922 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.2976, allocations: 0 / 0.7922 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002587/0.2979, allocations: 43.94 kB / 0.7922 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.747e-06/0.2979, allocations: 3.953 kB / 0.7922 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001991/0.2981, allocations: 35.95 kB / 0.7923 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.187e-05/0.2981, allocations: 4 kB / 0.7923 GB, free: 6.484 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.642e-05/0.2982, allocations: 121.8 kB / 0.7924 GB, free: 6.355 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.426e-05/0.2983, allocations: 3.906 kB / 0.7924 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.518e-05/0.2983, allocations: 11.91 kB / 0.7924 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.2983, allocations: 0 / 0.7924 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.2983, allocations: 0 / 0.7924 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.2983, allocations: 7.953 kB / 0.7924 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002317/0.2986, allocations: 202 kB / 0.7926 GB, free: 6.078 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.2986, allocations: 0 / 0.7926 GB, free: 6.078 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002299/0.2988, allocations: 47.94 kB / 0.7927 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.2988, allocations: 4 kB / 0.7927 GB, free: 6.027 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.336e-05/0.2989, allocations: 7.938 kB / 0.7927 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.2989, allocations: 0 / 0.7927 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.2989, allocations: 4 kB / 0.7927 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008064/0.2997, allocations: 347.3 kB / 0.793 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.367e-05/0.2997, allocations: 81.02 kB / 0.7931 GB, free: 5.562 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.335e-05/0.2998, allocations: 7.984 kB / 0.7931 GB, free: 5.555 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000223/0.3, allocations: 31.95 kB / 0.7931 GB, free: 5.523 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.468e-05/0.3, allocations: 12.31 kB / 0.7931 GB, free: 5.512 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.376e-06/0.3001, allocations: 0 / 0.7931 GB, free: 5.512 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 9.055e-05/0.3002, allocations: 103.2 kB / 0.7932 GB, free: 5.41 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3002, allocations: 0 / 0.7932 GB, free: 5.41 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002506/0.3004, allocations: 12 kB / 0.7932 GB, free: 5.398 MB / 0.6075 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 (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.0001285/0.3006, allocations: 95.25 kB / 0.7933 GB, free: 5.297 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000797/0.3014, allocations: 239.7 kB / 0.7936 GB, free: 5.062 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3014, allocations: 0 / 0.7936 GB, free: 5.062 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003813/0.3018, allocations: 119.9 kB / 0.7937 GB, free: 4.945 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001776/0.3019, allocations: 15.8 kB / 0.7937 GB, free: 4.93 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009849/0.3029, allocations: 296.7 kB / 0.794 GB, free: 4.617 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002973/0.3032, allocations: 0.6887 MB / 0.7946 GB, free: 3.902 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 8.623e-05/0.3033, allocations: 27.98 kB / 0.7947 GB, free: 3.875 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.744e-05/0.3034, allocations: 7.438 kB / 0.7947 GB, free: 3.871 MB / 0.6075 GB Notification: Performance of SimCode: time 3.4e-07/0.3034, allocations: 0 / 0.7947 GB, free: 3.871 MB / 0.6075 GB Notification: Performance of Templates: time 0.003428/0.3068, allocations: 0.7991 MB / 0.7955 GB, free: 3.078 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.SmoothMin.makefile Environment - environmentSimulation: (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 & ./Buildings_8_Buildings.Utilities.Math.Examples.SmoothMin -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.SmoothMin.pipe 2>&1) Environment - environmentSimulation: