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.0008349/0.0008349, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005889/0.005889, allocations: 170 kB / 16.27 MB, free: 6.66 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.412/1.412, allocations: 205.4 MB / 222.4 MB, free: 5.559 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.687/1.687, allocations: 292.7 MB / 0.5502 GB, free: 14.47 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.0005247/0.0005248, allocations: 18.34 kB / 0.6743 GB, free: 25.95 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2071/0.2076, allocations: 116.3 MB / 0.7879 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.001658/0.2093, allocations: 1.187 MB / 0.789 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000439/0.2098, allocations: 144.5 kB / 0.7892 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.744e-05/0.2098, allocations: 0 / 0.7892 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.995e-05/0.2099, allocations: 4 kB / 0.7892 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.251e-05/0.21, allocations: 7.875 kB / 0.7892 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002464/0.2102, allocations: 27.95 kB / 0.7892 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001022/0.2103, allocations: 43.86 kB / 0.7892 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001244/0.2105, allocations: 15.98 kB / 0.7893 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.846e-05/0.2105, allocations: 11.94 kB / 0.7893 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.515e-05/0.2106, allocations: 11.92 kB / 0.7893 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.296e-05/0.2106, allocations: 8 kB / 0.7893 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.662e-05/0.2107, allocations: 31.97 kB / 0.7893 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.953e-05/0.2107, allocations: 11.92 kB / 0.7893 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.244e-05/0.2108, allocations: 37.62 kB / 0.7894 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001413/0.2109, allocations: 60.08 kB / 0.7894 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.2109, allocations: 4 kB / 0.7894 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.385e-06/0.2109, allocations: 0 / 0.7894 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.211, allocations: 0 / 0.7894 GB, free: 9.961 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.0004768/0.2114, allocations: 355.4 kB / 0.7898 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.412e-05/0.2115, allocations: 12.03 kB / 0.7898 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001194/0.2127, allocations: 252.4 kB / 0.79 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001371/0.2129, allocations: 168.3 kB / 0.7902 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.703e-05/0.2129, allocations: 384 / 0.7902 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.971e-05/0.2129, allocations: 8.375 kB / 0.7902 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005918/0.2135, allocations: 206 kB / 0.7904 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.2135, allocations: 192 / 0.7904 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.813e-05/0.2136, allocations: 11.94 kB / 0.7904 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.263e-06/0.2136, allocations: 4 kB / 0.7904 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008831/0.2145, allocations: 315.6 kB / 0.7907 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009776/0.2155, allocations: 458.2 kB / 0.7911 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001217/0.2167, allocations: 334.2 kB / 0.7915 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004025/0.2171, allocations: 124.8 kB / 0.7916 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.489e-05/0.2171, allocations: 0 / 0.7916 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.57e-05/0.2172, allocations: 34.5 kB / 0.7916 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.2172, allocations: 0 / 0.7916 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.001298/0.2185, allocations: 369.2 kB / 0.792 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.515e-05/0.2185, allocations: 55.39 kB / 0.792 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001126/0.2187, allocations: 125.7 kB / 0.7921 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.368e-05/0.2187, allocations: 25.7 kB / 0.7922 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.13e-05/0.2188, allocations: 92.2 kB / 0.7922 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.976e-05/0.2188, allocations: 15.75 kB / 0.7923 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.576e-05/0.2188, allocations: 17.7 kB / 0.7923 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001354/0.219, allocations: 318.8 kB / 0.7926 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003926/0.2194, allocations: 115.9 kB / 0.7927 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003815/0.2198, allocations: 115.8 kB / 0.7928 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007106/0.2205, allocations: 212.9 kB / 0.793 GB, free: 6.07 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.2205, allocations: 0 / 0.793 GB, free: 6.07 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0008112/0.2213, allocations: 253.5 kB / 0.7933 GB, free: 5.816 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.206e-05/0.2214, allocations: 8 kB / 0.7933 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.2214, allocations: 0 / 0.7933 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.2214, allocations: 0 / 0.7933 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000267/0.2217, allocations: 43.95 kB / 0.7933 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/0.2217, allocations: 0 / 0.7933 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002064/0.2219, allocations: 39.94 kB / 0.7933 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.329e-05/0.2219, allocations: 0 / 0.7933 GB, free: 5.727 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.19e-05/0.222, allocations: 125.7 kB / 0.7935 GB, free: 5.594 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.325e-05/0.2221, allocations: 7.906 kB / 0.7935 GB, free: 5.586 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.35e-05/0.2221, allocations: 7.891 kB / 0.7935 GB, free: 5.57 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.2221, allocations: 4 kB / 0.7935 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.2221, allocations: 0 / 0.7935 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.125e-06/0.2221, allocations: 0 / 0.7935 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002181/0.2224, allocations: 209.5 kB / 0.7937 GB, free: 5.312 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.2224, allocations: 0 / 0.7937 GB, free: 5.312 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002284/0.2226, allocations: 43.95 kB / 0.7937 GB, free: 5.27 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.484e-06/0.2226, allocations: 7.984 kB / 0.7937 GB, free: 5.262 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.2226, allocations: 0 / 0.7937 GB, free: 5.262 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.2226, allocations: 0 / 0.7937 GB, free: 5.262 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.2226, allocations: 0 / 0.7937 GB, free: 5.262 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008307/0.2235, allocations: 351.2 kB / 0.7941 GB, free: 4.902 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.659e-05/0.2235, allocations: 81.11 kB / 0.7941 GB, free: 4.805 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.936e-05/0.2236, allocations: 3.938 kB / 0.7941 GB, free: 4.801 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002352/0.2238, allocations: 47.94 kB / 0.7942 GB, free: 4.754 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.673e-05/0.2238, allocations: 3.938 kB / 0.7942 GB, free: 4.75 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.504e-06/0.2239, allocations: 0 / 0.7942 GB, free: 4.75 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.601e-05/0.2239, allocations: 103.6 kB / 0.7943 GB, free: 4.648 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2239, allocations: 0 / 0.7943 GB, free: 4.648 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002359/0.2242, allocations: 12 kB / 0.7943 GB, free: 4.637 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 (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.0001231/0.2243, allocations: 103.2 kB / 0.7944 GB, free: 4.527 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0008063/0.2251, allocations: 231.7 kB / 0.7946 GB, free: 4.301 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.2251, allocations: 4 kB / 0.7946 GB, free: 4.297 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003803/0.2255, allocations: 119.8 kB / 0.7947 GB, free: 4.18 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002524/0.2258, allocations: 10.81 kB / 0.7947 GB, free: 4.172 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009542/0.2267, allocations: 296.5 kB / 0.795 GB, free: 3.859 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002468/0.227, allocations: 0.6887 MB / 0.7957 GB, free: 3.145 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 9.021e-05/0.2271, allocations: 20.23 kB / 0.7957 GB, free: 3.125 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.474e-05/0.2272, allocations: 15.42 kB / 0.7957 GB, free: 3.113 MB / 0.6075 GB Notification: Performance of SimCode: time 6.71e-07/0.2272, allocations: 0 / 0.7957 GB, free: 3.113 MB / 0.6075 GB Notification: Performance of Templates: time 0.003036/0.2302, allocations: 0.8322 MB / 0.7966 GB, free: 2.285 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: