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.001032/0.001032, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001062/0.001062, allocations: 198.5 kB / 16.14 MB, free: 6.762 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.404/1.404, allocations: 205.1 MB / 222 MB, free: 4.941 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.629/1.629, allocations: 292.2 MB / 0.5484 GB, free: 13.67 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.001284/0.001285, allocations: 63.28 kB / 0.6708 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2296/0.2309, allocations: 114.5 MB / 0.7827 GB, free: 14.03 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.002983/0.2339, allocations: 1.526 MB / 0.7842 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000455/0.2344, allocations: 144.5 kB / 0.7843 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.526e-05/0.2345, allocations: 0 / 0.7843 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 5.654e-05/0.2346, allocations: 3.938 kB / 0.7843 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.066e-05/0.2346, allocations: 3.938 kB / 0.7843 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002421/0.2349, allocations: 35.89 kB / 0.7843 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001033/0.235, allocations: 35.92 kB / 0.7844 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001439/0.2351, allocations: 23.98 kB / 0.7844 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.229e-05/0.2352, allocations: 11.94 kB / 0.7844 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.355e-05/0.2353, allocations: 19.92 kB / 0.7844 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.582e-05/0.2353, allocations: 4 kB / 0.7844 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001056/0.2354, allocations: 27.97 kB / 0.7844 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.624e-05/0.2354, allocations: 19.91 kB / 0.7845 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.415e-05/0.2355, allocations: 11.94 kB / 0.7845 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001511/0.2356, allocations: 68.06 kB / 0.7845 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.2356, allocations: 0 / 0.7845 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.163e-06/0.2357, allocations: 0 / 0.7845 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.905e-06/0.2357, allocations: 0 / 0.7845 GB, free: 12.07 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.0004842/0.2362, allocations: 359.3 kB / 0.7849 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.2362, allocations: 12.03 kB / 0.7849 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001169/0.2374, allocations: 212.5 kB / 0.7851 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001347/0.2375, allocations: 172.2 kB / 0.7853 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.352e-05/0.2375, allocations: 4.375 kB / 0.7853 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.789e-05/0.2376, allocations: 384 / 0.7853 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005809/0.2382, allocations: 203 kB / 0.7855 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.2382, allocations: 4.172 kB / 0.7855 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.712e-05/0.2382, allocations: 3.938 kB / 0.7855 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.2382, allocations: 0 / 0.7855 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008334/0.2391, allocations: 279.6 kB / 0.7857 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009228/0.24, allocations: 433.2 kB / 0.7862 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001131/0.2411, allocations: 290.2 kB / 0.7864 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003431/0.2415, allocations: 100.7 kB / 0.7865 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.416e-05/0.2415, allocations: 80 / 0.7865 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.232e-05/0.2416, allocations: 38.5 kB / 0.7866 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 2.084e-06/0.2416, allocations: 0 / 0.7866 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.001123/0.2427, allocations: 313.2 kB / 0.7869 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.451e-05/0.2427, allocations: 59.39 kB / 0.7869 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.078e-05/0.2428, allocations: 113.8 kB / 0.787 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.2429, allocations: 29.7 kB / 0.7871 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.73e-05/0.2429, allocations: 96.03 kB / 0.7871 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.995e-05/0.2429, allocations: 15.83 kB / 0.7872 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.986e-05/0.243, allocations: 17.72 kB / 0.7872 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.335e-05/0.2431, allocations: 318.8 kB / 0.7875 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003568/0.2435, allocations: 95.88 kB / 0.7876 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003428/0.2438, allocations: 95.88 kB / 0.7877 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006347/0.2445, allocations: 168.6 kB / 0.7878 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.2445, allocations: 4 kB / 0.7878 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007029/0.2452, allocations: 209.4 kB / 0.788 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.2452, allocations: 10.66 kB / 0.788 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.2452, allocations: 0 / 0.788 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.2452, allocations: 0 / 0.788 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002516/0.2455, allocations: 39.94 kB / 0.7881 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.2455, allocations: 4 kB / 0.7881 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000186/0.2457, allocations: 27.86 kB / 0.7881 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.362e-05/0.2457, allocations: 4 kB / 0.7881 GB, free: 8.191 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 8.376e-05/0.2458, allocations: 121.8 kB / 0.7882 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.21e-05/0.2459, allocations: 0 / 0.7882 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.865e-05/0.2459, allocations: 11.91 kB / 0.7882 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.2459, allocations: 336 / 0.7882 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.2459, allocations: 0 / 0.7882 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.2459, allocations: 0 / 0.7882 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002072/0.2461, allocations: 213.5 kB / 0.7884 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.2462, allocations: 0 / 0.7884 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002274/0.2464, allocations: 35.94 kB / 0.7885 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.2464, allocations: 0 / 0.7885 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.43e-05/0.2464, allocations: 4.375 kB / 0.7885 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.2464, allocations: 7.938 kB / 0.7885 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.2464, allocations: 0 / 0.7885 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007374/0.2472, allocations: 323.1 kB / 0.7888 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.707e-05/0.2472, allocations: 89.05 kB / 0.7889 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.036e-05/0.2472, allocations: 0 / 0.7889 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002211/0.2475, allocations: 27.95 kB / 0.7889 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.511e-05/0.2475, allocations: 0 / 0.7889 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.15e-05/0.2475, allocations: 3.984 kB / 0.7889 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.114e-05/0.2476, allocations: 95.27 kB / 0.789 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2476, allocations: 0 / 0.789 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002411/0.2478, allocations: 19.91 kB / 0.789 GB, free: 7.156 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.0001177/0.248, allocations: 103.2 kB / 0.7891 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0007177/0.2487, allocations: 195.7 kB / 0.7893 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.2487, allocations: 0 / 0.7893 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003507/0.2491, allocations: 99.86 kB / 0.7894 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002471/0.2493, allocations: 11.94 kB / 0.7894 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008699/0.2502, allocations: 267 kB / 0.7897 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002074/0.2504, allocations: 0.6887 MB / 0.7903 GB, free: 5.746 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 9.066e-05/0.2505, allocations: 24.23 kB / 0.7904 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.258e-05/0.2506, allocations: 7.438 kB / 0.7904 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of SimCode: time 4.11e-07/0.2506, allocations: 0 / 0.7904 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of Templates: time 0.002886/0.2535, allocations: 0.8493 MB / 0.7912 GB, free: 4.871 MB / 0.6075 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)