Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothMin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothMin") translateModel(Buildings.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothMin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.388/1.388, allocations: 251.5 MB / 267.4 MB, free: 11.03 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000998/0.0009981, allocations: 179.6 kB / 326.5 MB, free: 2.668 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.987/1.987, allocations: 205 MB / 0.5766 GB, free: 20.98 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008846/0.0008846, allocations: 85.7 kB / 0.6803 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003826/0.0003827, allocations: 15.31 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2914/0.2918, allocations: 105.4 MB / 0.8967 GB, free: 68.17 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.002072/0.294, allocations: 1.203 MB / 0.8979 GB, free: 66.95 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000495/0.2945, allocations: 145.2 kB / 0.898 GB, free: 66.8 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.902e-05/0.2946, allocations: 0 / 0.898 GB, free: 66.8 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 6.088e-05/0.2947, allocations: 3.938 kB / 0.8981 GB, free: 66.8 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.278e-05/0.2948, allocations: 4 kB / 0.8981 GB, free: 66.8 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002521/0.295, allocations: 31.89 kB / 0.8981 GB, free: 66.77 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001018/0.2951, allocations: 31.92 kB / 0.8981 GB, free: 66.73 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001613/0.2953, allocations: 39.86 kB / 0.8982 GB, free: 66.7 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.171e-05/0.2954, allocations: 4 kB / 0.8982 GB, free: 66.69 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.036e-05/0.2954, allocations: 19.86 kB / 0.8982 GB, free: 66.67 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.567e-05/0.2954, allocations: 4 kB / 0.8982 GB, free: 66.67 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000104/0.2956, allocations: 27.97 kB / 0.8982 GB, free: 66.64 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.683e-05/0.2956, allocations: 7.984 kB / 0.8982 GB, free: 66.63 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.364e-05/0.2956, allocations: 15.88 kB / 0.8982 GB, free: 66.62 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001165/0.2957, allocations: 47.92 kB / 0.8983 GB, free: 66.57 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.2958, allocations: 0 / 0.8983 GB, free: 66.57 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.424e-06/0.2958, allocations: 0 / 0.8983 GB, free: 66.57 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.2958, allocations: 0 / 0.8983 GB, free: 66.57 MB / 0.6042 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.0004777/0.2963, allocations: 359.3 kB / 0.8986 GB, free: 66.17 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.844e-05/0.2963, allocations: 12.03 kB / 0.8986 GB, free: 66.16 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001081/0.2974, allocations: 244.5 kB / 0.8989 GB, free: 65.92 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001198/0.2975, allocations: 168.3 kB / 0.899 GB, free: 65.71 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.828e-05/0.2976, allocations: 4.375 kB / 0.899 GB, free: 65.71 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.296e-05/0.2976, allocations: 4.375 kB / 0.899 GB, free: 65.71 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005311/0.2981, allocations: 214 kB / 0.8992 GB, free: 65.49 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.2982, allocations: 192 / 0.8992 GB, free: 65.49 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.653e-05/0.2982, allocations: 3.938 kB / 0.8992 GB, free: 65.49 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.2982, allocations: 11.97 kB / 0.8993 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007549/0.299, allocations: 315.6 kB / 0.8996 GB, free: 65.17 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000927/0.2999, allocations: 464.8 kB / 0.9 GB, free: 64.66 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009969/0.3009, allocations: 342.2 kB / 0.9003 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003106/0.3012, allocations: 120.8 kB / 0.9004 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.691e-05/0.3013, allocations: 0 / 0.9004 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.027e-05/0.3013, allocations: 34.56 kB / 0.9005 GB, free: 64.15 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 1.332e-06/0.3013, allocations: 0 / 0.9005 GB, free: 64.15 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.001044/0.3023, allocations: 369.3 kB / 0.9008 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.249e-05/0.3024, allocations: 55.39 kB / 0.9009 GB, free: 63.72 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.854e-05/0.3025, allocations: 113.8 kB / 0.901 GB, free: 63.6 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.459e-05/0.3025, allocations: 29.7 kB / 0.901 GB, free: 63.56 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.598e-05/0.3026, allocations: 92.05 kB / 0.9011 GB, free: 63.47 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.238e-05/0.3026, allocations: 3.984 kB / 0.9011 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.815e-05/0.3026, allocations: 13.7 kB / 0.9011 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.135e-05/0.3027, allocations: 322.8 kB / 0.9014 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003167/0.303, allocations: 111.9 kB / 0.9015 GB, free: 63.01 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000341/0.3034, allocations: 115.9 kB / 0.9016 GB, free: 62.9 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005898/0.304, allocations: 208.6 kB / 0.9018 GB, free: 62.69 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.304, allocations: 0 / 0.9018 GB, free: 62.69 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006397/0.3046, allocations: 257.4 kB / 0.9021 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/0.3047, allocations: 8 kB / 0.9021 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.3047, allocations: 0 / 0.9021 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/0.3047, allocations: 384 / 0.9021 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002389/0.3049, allocations: 39.95 kB / 0.9021 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.305, allocations: 4 kB / 0.9021 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001854/0.3051, allocations: 43.84 kB / 0.9022 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.353e-05/0.3052, allocations: 7.938 kB / 0.9022 GB, free: 62.33 MB / 0.6042 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 7.937e-05/0.3053, allocations: 113.8 kB / 0.9023 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.29e-05/0.3053, allocations: 8 kB / 0.9023 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.433e-05/0.3053, allocations: 11.89 kB / 0.9023 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.3054, allocations: 0 / 0.9023 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.3054, allocations: 4 kB / 0.9023 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.3054, allocations: 0 / 0.9023 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001829/0.3056, allocations: 213.5 kB / 0.9025 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.3056, allocations: 3.938 kB / 0.9025 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002117/0.3058, allocations: 39.95 kB / 0.9026 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.901e-06/0.3058, allocations: 11.98 kB / 0.9026 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.389e-05/0.3058, allocations: 0 / 0.9026 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.3058, allocations: 3.938 kB / 0.9026 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3058, allocations: 0 / 0.9026 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006992/0.3065, allocations: 351.5 kB / 0.9029 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.394e-05/0.3066, allocations: 89.08 kB / 0.903 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.257e-05/0.3066, allocations: 0 / 0.903 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002075/0.3068, allocations: 47.94 kB / 0.903 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.622e-05/0.3069, allocations: 0 / 0.903 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.516e-06/0.3069, allocations: 0 / 0.903 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.314e-05/0.3069, allocations: 95.27 kB / 0.9031 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.3069, allocations: 0 / 0.9031 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002145/0.3072, allocations: 15.91 kB / 0.9031 GB, free: 61.25 MB / 0.6042 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.0001629/0.3073, allocations: 99.19 kB / 0.9032 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000692/0.308, allocations: 239.7 kB / 0.9035 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3081, allocations: 0 / 0.9035 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003187/0.3084, allocations: 119.9 kB / 0.9036 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002573/0.3086, allocations: 4 kB / 0.9036 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008951/0.3095, allocations: 320.8 kB / 0.9039 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001445/0.3097, allocations: 0.6888 MB / 0.9046 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.744e-05/0.3098, allocations: 11.42 kB / 0.9046 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of SimCode: time 6.22e-07/0.3098, allocations: 288 / 0.9046 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of Templates: time 0.002829/0.3126, allocations: 1.156 MB / 0.9057 GB, free: 58.57 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothMin.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothMin.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothMin.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothMin -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothMin.pipe 2>&1)