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.001167/0.001167, allocations: 106.4 kB / 16.27 MB, free: 6.004 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.001129/0.001129, allocations: 191.7 kB / 17.2 MB, free: 5.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.416/1.416, allocations: 205.1 MB / 223.1 MB, free: 12.28 MB / 190.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.813/1.813, allocations: 292.3 MB / 0.5495 GB, free: 17.5 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.001404/0.001404, allocations: 71.19 kB / 0.6721 GB, free: 6.555 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2173/0.2187, allocations: 114.5 MB / 0.784 GB, free: 3.891 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.003041/0.2218, allocations: 1.468 MB / 0.7854 GB, free: 2.406 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0004312/0.2223, allocations: 140.4 kB / 0.7856 GB, free: 2.266 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.753e-05/0.2223, allocations: 0 / 0.7856 GB, free: 2.266 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 4.288e-05/0.2224, allocations: 11.88 kB / 0.7856 GB, free: 2.254 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.75e-05/0.2225, allocations: 7.938 kB / 0.7856 GB, free: 2.246 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002358/0.2227, allocations: 35.89 kB / 0.7856 GB, free: 2.211 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001031/0.2229, allocations: 35.92 kB / 0.7857 GB, free: 2.176 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001501/0.223, allocations: 23.98 kB / 0.7857 GB, free: 2.152 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 4.972e-05/0.2231, allocations: 15.92 kB / 0.7857 GB, free: 2.137 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.51e-05/0.2231, allocations: 23.92 kB / 0.7857 GB, free: 2.113 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.637e-05/0.2231, allocations: 4 kB / 0.7857 GB, free: 2.109 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 8.987e-05/0.2232, allocations: 27.97 kB / 0.7858 GB, free: 2.082 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.074e-05/0.2233, allocations: 15.92 kB / 0.7858 GB, free: 2.066 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.461e-05/0.2233, allocations: 19.88 kB / 0.7858 GB, free: 2.047 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001388/0.2234, allocations: 64.12 kB / 0.7859 GB, free: 1.984 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.2235, allocations: 0 / 0.7859 GB, free: 1.984 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.293e-06/0.2235, allocations: 4 kB / 0.7859 GB, free: 1.98 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.104e-06/0.2235, allocations: 0 / 0.7859 GB, free: 1.98 MB / 0.6544 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.000489/0.224, allocations: 359.4 kB / 0.7862 GB, free: 1.578 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.224, allocations: 8.031 kB / 0.7862 GB, free: 1.57 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001155/0.2252, allocations: 212.5 kB / 0.7864 GB, free: 1.363 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001559/0.2254, allocations: 176.2 kB / 0.7866 GB, free: 1.152 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/0.2254, allocations: 4.375 kB / 0.7866 GB, free: 1.148 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.103e-05/0.2254, allocations: 4.375 kB / 0.7866 GB, free: 1.145 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006183/0.226, allocations: 190 kB / 0.7868 GB, free: 0.9531 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.226, allocations: 192 / 0.7868 GB, free: 0.9531 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.833e-05/0.2261, allocations: 3.938 kB / 0.7868 GB, free: 0.9492 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.2261, allocations: 4 kB / 0.7868 GB, free: 0.9453 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000883/0.227, allocations: 275.6 kB / 0.787 GB, free: 0.6758 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009916/0.228, allocations: 441 kB / 0.7875 GB, free: 200 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3628/0.5908, allocations: 287.1 kB / 0.7877 GB, free: 48.82 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003562/0.5912, allocations: 105.5 kB / 0.7878 GB, free: 48.82 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.316e-05/0.5912, allocations: 0.9375 kB / 0.7878 GB, free: 48.82 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.096e-05/0.5912, allocations: 35.16 kB / 0.7879 GB, free: 48.78 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=3): time 2.495e-06/0.5912, allocations: 0 / 0.7879 GB, free: 48.78 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3): time 0.001137/0.5924, allocations: 312.3 kB / 0.7882 GB, free: 48.75 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.944e-05/0.5924, allocations: 52 kB / 0.7882 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.679e-05/0.5925, allocations: 118.6 kB / 0.7883 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.266e-05/0.5925, allocations: 25.7 kB / 0.7884 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.399e-05/0.5926, allocations: 89 kB / 0.7884 GB, free: 48.47 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.627e-05/0.5926, allocations: 15 kB / 0.7885 GB, free: 48.47 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.901e-05/0.5927, allocations: 19.5 kB / 0.7885 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.822e-05/0.5927, allocations: 322.7 kB / 0.7888 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003312/0.593, allocations: 95.53 kB / 0.7889 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003186/0.5934, allocations: 96.56 kB / 0.789 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006204/0.594, allocations: 170 kB / 0.7891 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.594, allocations: 2.531 kB / 0.7891 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006879/0.5947, allocations: 218.3 kB / 0.7893 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.5947, allocations: 5.25 kB / 0.7893 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.5947, allocations: 2.688 kB / 0.7893 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.5948, allocations: 2.625 kB / 0.7893 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002477/0.595, allocations: 32.53 kB / 0.7894 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.595, allocations: 0 / 0.7894 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001915/0.5952, allocations: 30.06 kB / 0.7894 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.266e-05/0.5952, allocations: 1.875 kB / 0.7894 GB, free: 48.11 MB / 0.6544 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.384e-05/0.5953, allocations: 123.8 kB / 0.7895 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.412e-05/0.5954, allocations: 2.781 kB / 0.7895 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.161e-05/0.5954, allocations: 9.594 kB / 0.7895 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.5954, allocations: 0 / 0.7895 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.5954, allocations: 4.031 kB / 0.7895 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.5954, allocations: 0 / 0.7895 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002016/0.5957, allocations: 218.5 kB / 0.7898 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.073e-06/0.5957, allocations: 0 / 0.7898 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002233/0.5959, allocations: 39.81 kB / 0.7898 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.5959, allocations: 3.844 kB / 0.7898 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.294e-05/0.5959, allocations: 5.391 kB / 0.7898 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.5959, allocations: 1.938 kB / 0.7898 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.5959, allocations: 0 / 0.7898 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007499/0.5967, allocations: 310.3 kB / 0.7901 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.87e-05/0.5967, allocations: 83.88 kB / 0.7902 GB, free: 47.56 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.293e-05/0.5968, allocations: 5.688 kB / 0.7902 GB, free: 47.56 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002165/0.597, allocations: 28.56 kB / 0.7902 GB, free: 47.56 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.247e-05/0.597, allocations: 2.625 kB / 0.7902 GB, free: 47.56 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.386e-06/0.597, allocations: 1.312 kB / 0.7902 GB, free: 47.56 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.827e-05/0.5971, allocations: 100 kB / 0.7903 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5971, allocations: 0 / 0.7903 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002371/0.5973, allocations: 19.75 kB / 0.7903 GB, free: 47.48 MB / 0.6544 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.0001387/0.5975, allocations: 97.44 kB / 0.7904 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0007788/0.5983, allocations: 203.2 kB / 0.7906 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.5983, allocations: 0 / 0.7906 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000351/0.5986, allocations: 95.25 kB / 0.7907 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002638/0.5989, allocations: 7.344 kB / 0.7907 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008814/0.5998, allocations: 284.1 kB / 0.791 GB, free: 47.26 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000115/0.5999, allocations: 0.6943 MB / 0.7917 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.619e-05/0.6, allocations: 13.34 kB / 0.7917 GB, free: 46.56 MB / 0.6544 GB Notification: Performance of SimCode: time 3.71e-07/0.6, allocations: 0 / 0.7917 GB, free: 46.56 MB / 0.6544 GB Notification: Performance of Templates: time 0.002183/0.6022, allocations: 1.166 MB / 0.7928 GB, free: 46.53 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.SmoothMin.makefile (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)