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.001155/0.001155, allocations: 107.2 kB / 15.99 MB, free: 6.348 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.001213/0.001213, allocations: 189.2 kB / 16.91 MB, free: 6.184 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.323/1.323, allocations: 205.1 MB / 222.8 MB, free: 4.695 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.75/1.75, allocations: 292.3 MB / 0.5492 GB, free: 13.56 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.001413/0.001413, allocations: 76.98 kB / 0.6716 GB, free: 26.44 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2384/0.2398, allocations: 114.6 MB / 0.7835 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.003381/0.2432, allocations: 1.514 MB / 0.785 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0003888/0.2437, allocations: 141.4 kB / 0.7851 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.097e-05/0.2437, allocations: 8 kB / 0.7851 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.778e-05/0.2438, allocations: 3.938 kB / 0.7851 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.425e-05/0.2439, allocations: 3.938 kB / 0.7851 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002505/0.2441, allocations: 35.89 kB / 0.7852 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.429e-05/0.2442, allocations: 35.92 kB / 0.7852 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001399/0.2444, allocations: 23.98 kB / 0.7852 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.73e-05/0.2444, allocations: 15.94 kB / 0.7852 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.647e-05/0.2445, allocations: 19.91 kB / 0.7853 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.582e-05/0.2445, allocations: 4 kB / 0.7853 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.276e-05/0.2446, allocations: 35.97 kB / 0.7853 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.837e-05/0.2446, allocations: 11.92 kB / 0.7853 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.844e-05/0.2446, allocations: 15.94 kB / 0.7853 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000104/0.2447, allocations: 48.14 kB / 0.7854 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.2448, allocations: 4 kB / 0.7854 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.593e-06/0.2448, allocations: 4 kB / 0.7854 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.307e-06/0.2448, allocations: 0 / 0.7854 GB, free: 11.92 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.0004346/0.2452, allocations: 355.4 kB / 0.7857 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.289e-05/0.2453, allocations: 8.031 kB / 0.7857 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001044/0.2463, allocations: 216.5 kB / 0.7859 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001169/0.2464, allocations: 172.2 kB / 0.7861 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.2465, allocations: 384 / 0.7861 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.676e-05/0.2465, allocations: 8.312 kB / 0.7861 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005786/0.2471, allocations: 194 kB / 0.7863 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.2471, allocations: 192 / 0.7863 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.886e-05/0.2471, allocations: 7.938 kB / 0.7863 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.2471, allocations: 4 kB / 0.7863 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007769/0.2479, allocations: 275.6 kB / 0.7866 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008796/0.2488, allocations: 445.1 kB / 0.787 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001011/0.2498, allocations: 282.2 kB / 0.7873 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003247/0.2502, allocations: 104.8 kB / 0.7874 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.41e-05/0.2502, allocations: 4 kB / 0.7874 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.313e-05/0.2502, allocations: 38.55 kB / 0.7874 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.383e-06/0.2502, allocations: 0 / 0.7874 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.001075/0.2513, allocations: 309.3 kB / 0.7877 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.261e-05/0.2513, allocations: 51.41 kB / 0.7877 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/0.2515, allocations: 121.8 kB / 0.7879 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.775e-05/0.2515, allocations: 25.7 kB / 0.7879 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.371e-05/0.2515, allocations: 92.12 kB / 0.788 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.182e-05/0.2516, allocations: 11.75 kB / 0.788 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.905e-05/0.2516, allocations: 17.72 kB / 0.788 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001036/0.2517, allocations: 322.8 kB / 0.7883 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003278/0.2521, allocations: 99.81 kB / 0.7884 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000313/0.2524, allocations: 91.88 kB / 0.7885 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000602/0.253, allocations: 172.6 kB / 0.7887 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.253, allocations: 0 / 0.7887 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007701/0.2538, allocations: 221.4 kB / 0.7889 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.2538, allocations: 4 kB / 0.7889 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.2538, allocations: 3.984 kB / 0.7889 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.2539, allocations: 0 / 0.7889 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000299/0.2542, allocations: 35.94 kB / 0.7889 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.2542, allocations: 0 / 0.7889 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001867/0.2544, allocations: 31.86 kB / 0.7889 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.26e-05/0.2544, allocations: 4 kB / 0.7889 GB, free: 8.039 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.535e-05/0.2545, allocations: 121.8 kB / 0.7891 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.594e-05/0.2545, allocations: 4 kB / 0.7891 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.46e-05/0.2546, allocations: 7.906 kB / 0.7891 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.2546, allocations: 0 / 0.7891 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.2546, allocations: 4 kB / 0.7891 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.2546, allocations: 3.984 kB / 0.7891 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002125/0.2548, allocations: 205.5 kB / 0.7893 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.2548, allocations: 7.984 kB / 0.7893 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002239/0.2551, allocations: 35.95 kB / 0.7893 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.2551, allocations: 3.938 kB / 0.7893 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.343e-05/0.2551, allocations: 0 / 0.7893 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.2551, allocations: 0 / 0.7893 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.2551, allocations: 3.984 kB / 0.7893 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007329/0.2559, allocations: 315.2 kB / 0.7896 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.584e-05/0.2559, allocations: 77.11 kB / 0.7897 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.218e-05/0.2559, allocations: 4 kB / 0.7897 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002176/0.2562, allocations: 24.33 kB / 0.7897 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.873e-05/0.2562, allocations: 12.36 kB / 0.7897 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.676e-06/0.2562, allocations: 0 / 0.7897 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.156e-05/0.2563, allocations: 99.2 kB / 0.7898 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2563, allocations: 4 kB / 0.7898 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002377/0.2565, allocations: 12 kB / 0.7899 GB, free: 7.012 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.000121/0.2566, allocations: 107.1 kB / 0.79 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0007063/0.2574, allocations: 199.7 kB / 0.7901 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2574, allocations: 0 / 0.7901 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003323/0.2577, allocations: 99.88 kB / 0.7902 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002463/0.258, allocations: 4 kB / 0.7902 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008717/0.2588, allocations: 302.8 kB / 0.7905 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002244/0.2591, allocations: 0.7001 MB / 0.7912 GB, free: 5.547 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.256e-05/0.2592, allocations: 15.42 kB / 0.7912 GB, free: 5.535 MB / 0.6075 GB Notification: Performance of SimCode: time 4.21e-07/0.2592, allocations: 0 / 0.7912 GB, free: 5.535 MB / 0.6075 GB Notification: Performance of Templates: time 0.002306/0.2615, allocations: 1.172 MB / 0.7924 GB, free: 4.363 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)