Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_1.6_Buildings.Utilities.Math.Examples.SmoothMin") translateModel(Buildings.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.0008574/0.0008575, allocations: 99.38 kB / 15.37 MB, free: 0.707 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.00103/0.001031, allocations: 182.9 kB / 16.28 MB, free: 6.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.453/1.453, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.794/2.794, allocations: 473.4 MB / 0.7469 GB, free: 6.055 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004243/0.0004244, allocations: 8.938 kB / 0.9158 GB, free: 33.05 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3373/0.3378, allocations: 162.2 MB / 1.074 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.001765/0.3396, allocations: 1.193 MB / 1.075 GB, free: 6.34 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0004372/0.3401, allocations: 151.6 kB / 1.075 GB, free: 6.191 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.433e-05/0.3401, allocations: 0 / 1.075 GB, free: 6.191 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.402e-05/0.3401, allocations: 0 / 1.075 GB, free: 6.191 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.066e-05/0.3402, allocations: 3.938 kB / 1.075 GB, free: 6.188 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001981/0.3404, allocations: 19.98 kB / 1.075 GB, free: 6.168 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.801e-05/0.3405, allocations: 47.83 kB / 1.076 GB, free: 6.121 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001162/0.3407, allocations: 20 kB / 1.076 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.157e-05/0.3407, allocations: 15.92 kB / 1.076 GB, free: 6.086 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.795e-05/0.3408, allocations: 11.92 kB / 1.076 GB, free: 6.074 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.265e-05/0.3408, allocations: 0 / 1.076 GB, free: 6.074 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.562e-05/0.3409, allocations: 27.98 kB / 1.076 GB, free: 6.047 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.57e-05/0.3409, allocations: 15.92 kB / 1.076 GB, free: 6.031 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.048e-05/0.341, allocations: 37.62 kB / 1.076 GB, free: 5.988 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001231/0.3411, allocations: 63.73 kB / 1.076 GB, free: 5.926 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.3411, allocations: 0 / 1.076 GB, free: 5.926 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.783e-06/0.3411, allocations: 0 / 1.076 GB, free: 5.926 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.651e-06/0.3411, allocations: 0 / 1.076 GB, free: 5.926 MB / 0.8262 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.0004484/0.3416, allocations: 359.7 kB / 1.076 GB, free: 5.523 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.3416, allocations: 12.03 kB / 1.076 GB, free: 5.512 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001127/0.3427, allocations: 240.5 kB / 1.076 GB, free: 5.277 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001206/0.3429, allocations: 176.3 kB / 1.076 GB, free: 5.066 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/0.3429, allocations: 384 / 1.076 GB, free: 5.066 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.125e-05/0.3429, allocations: 8.375 kB / 1.076 GB, free: 5.059 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006027/0.3435, allocations: 210 kB / 1.077 GB, free: 4.848 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.3435, allocations: 192 / 1.077 GB, free: 4.848 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.969e-05/0.3436, allocations: 7.938 kB / 1.077 GB, free: 4.84 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.3436, allocations: 4 kB / 1.077 GB, free: 4.836 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008996/0.3445, allocations: 319.5 kB / 1.077 GB, free: 4.523 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001068/0.3456, allocations: 457 kB / 1.077 GB, free: 4.027 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001211/0.3468, allocations: 342.1 kB / 1.078 GB, free: 3.684 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005315/0.3473, allocations: 128.7 kB / 1.078 GB, free: 3.555 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.633e-05/0.3474, allocations: 0 / 1.078 GB, free: 3.555 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.795e-05/0.3475, allocations: 34.56 kB / 1.078 GB, free: 3.512 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.392e-06/0.3475, allocations: 0 / 1.078 GB, free: 3.512 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.001412/0.3489, allocations: 373.4 kB / 1.078 GB, free: 3.141 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.424e-05/0.349, allocations: 51.41 kB / 1.078 GB, free: 3.078 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001382/0.3491, allocations: 117.8 kB / 1.078 GB, free: 2.953 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.506e-05/0.3491, allocations: 25.7 kB / 1.078 GB, free: 2.922 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.056e-05/0.3492, allocations: 88.12 kB / 1.079 GB, free: 2.832 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.331e-05/0.3493, allocations: 11.84 kB / 1.079 GB, free: 2.82 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.918e-05/0.3493, allocations: 17.66 kB / 1.079 GB, free: 2.797 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001561/0.3495, allocations: 322.7 kB / 1.079 GB, free: 2.473 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004169/0.3499, allocations: 115.9 kB / 1.079 GB, free: 2.359 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003844/0.3503, allocations: 115.9 kB / 1.079 GB, free: 2.246 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007353/0.351, allocations: 208.6 kB / 1.079 GB, free: 2.039 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.351, allocations: 0 / 1.079 GB, free: 2.039 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0008262/0.3519, allocations: 253.4 kB / 1.08 GB, free: 1.785 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.3519, allocations: 4 kB / 1.08 GB, free: 1.781 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.3519, allocations: 0 / 1.08 GB, free: 1.781 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.3519, allocations: 4 kB / 1.08 GB, free: 1.777 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002887/0.3522, allocations: 51.88 kB / 1.08 GB, free: 1.727 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.3522, allocations: 0 / 1.08 GB, free: 1.727 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002112/0.3525, allocations: 35.95 kB / 1.08 GB, free: 1.691 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.488e-05/0.3525, allocations: 4 kB / 1.08 GB, free: 1.688 MB / 0.8262 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 0.0001123/0.3526, allocations: 126.4 kB / 1.08 GB, free: 1.555 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.191e-05/0.3526, allocations: 3.906 kB / 1.08 GB, free: 1.551 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.853e-05/0.3527, allocations: 7.906 kB / 1.08 GB, free: 1.535 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.3527, allocations: 0 / 1.08 GB, free: 1.535 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.3527, allocations: 0 / 1.08 GB, free: 1.535 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.3527, allocations: 0 / 1.08 GB, free: 1.535 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002409/0.353, allocations: 213.6 kB / 1.08 GB, free: 1.277 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.353, allocations: 384 / 1.08 GB, free: 1.277 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002425/0.3532, allocations: 47.94 kB / 1.08 GB, free: 1.23 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.3532, allocations: 0 / 1.08 GB, free: 1.23 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.116e-05/0.3532, allocations: 0 / 1.08 GB, free: 1.23 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.3533, allocations: 3.938 kB / 1.08 GB, free: 1.227 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.3533, allocations: 4 kB / 1.08 GB, free: 1.223 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008406/0.3541, allocations: 355.2 kB / 1.08 GB, free: 0.8594 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.839e-05/0.3542, allocations: 85 kB / 1.08 GB, free: 0.7578 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.952e-05/0.3542, allocations: 0 / 1.08 GB, free: 0.7578 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002372/0.3544, allocations: 39.95 kB / 1.08 GB, free: 0.7188 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.223e-05/0.3545, allocations: 4 kB / 1.08 GB, free: 0.7148 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.868e-06/0.3545, allocations: 3.984 kB / 1.08 GB, free: 0.7109 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.187e-05/0.3545, allocations: 91.27 kB / 1.081 GB, free: 0.6211 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.392e-06/0.3546, allocations: 0 / 1.081 GB, free: 0.6211 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002429/0.3548, allocations: 23.94 kB / 1.081 GB, free: 0.5977 MB / 0.8262 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.0001425/0.3549, allocations: 99.19 kB / 1.081 GB, free: 0.4922 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0008726/0.3558, allocations: 227.8 kB / 1.081 GB, free: 276 kB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.3558, allocations: 4 kB / 1.081 GB, free: 272 kB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0004112/0.3563, allocations: 119.8 kB / 1.081 GB, free: 152 kB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002921/0.3566, allocations: 8 kB / 1.081 GB, free: 144 kB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009854/0.3576, allocations: 296.8 kB / 1.081 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002239/0.3578, allocations: 0.6887 MB / 1.082 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 9.368e-05/0.3579, allocations: 27.98 kB / 1.082 GB, free: 15.08 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.247e-05/0.358, allocations: 7.438 kB / 1.082 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of SimCode: time 2.5e-07/0.358, allocations: 0 / 1.082 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of Templates: time 0.003018/0.361, allocations: 0.8284 MB / 1.083 GB, free: 14.25 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothMin.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothMin.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothMin.sim & ./Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothMin -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Examples.SmoothMin.pipe 2>&1)