Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.Utilities.Math.Examples.SmoothMin") translateModel(Buildings.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001207/0.001207, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001324/0.001324, allocations: 190.9 kB / 16.13 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.423/1.423, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.872/2.872, allocations: 472.6 MB / 0.7447 GB, free: 4.953 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001387/0.001387, allocations: 68.53 kB / 0.9114 GB, free: 33.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3571/0.3585, allocations: 159.9 MB / 1.068 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.003308/0.3618, allocations: 1.528 MB / 1.069 GB, free: 9.387 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.000478/0.3623, allocations: 155.6 kB / 1.069 GB, free: 9.234 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.777e-05/0.3624, allocations: 0 / 1.069 GB, free: 9.234 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 5.079e-05/0.3625, allocations: 0 / 1.069 GB, free: 9.234 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.088e-05/0.3626, allocations: 3.938 kB / 1.069 GB, free: 9.23 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002175/0.3628, allocations: 19.98 kB / 1.069 GB, free: 9.211 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001047/0.3629, allocations: 43.84 kB / 1.069 GB, free: 9.168 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001311/0.363, allocations: 31.92 kB / 1.069 GB, free: 9.137 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.066e-05/0.3631, allocations: 11.92 kB / 1.069 GB, free: 9.125 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.476e-05/0.3632, allocations: 19.92 kB / 1.069 GB, free: 9.105 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.773e-05/0.3632, allocations: 4 kB / 1.069 GB, free: 9.102 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.994e-05/0.3633, allocations: 27.97 kB / 1.069 GB, free: 9.074 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.488e-05/0.3633, allocations: 11.94 kB / 1.069 GB, free: 9.062 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.886e-05/0.3634, allocations: 19.92 kB / 1.069 GB, free: 9.043 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001468/0.3635, allocations: 59.8 kB / 1.069 GB, free: 8.984 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.3635, allocations: 0 / 1.069 GB, free: 8.984 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.342e-06/0.3635, allocations: 0 / 1.069 GB, free: 8.984 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.53e-06/0.3635, allocations: 4 kB / 1.069 GB, free: 8.98 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.0005062/0.3641, allocations: 359.7 kB / 1.07 GB, free: 8.578 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.3641, allocations: 8.031 kB / 1.07 GB, free: 8.57 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001159/0.3653, allocations: 212.5 kB / 1.07 GB, free: 8.363 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001223/0.3654, allocations: 172.3 kB / 1.07 GB, free: 8.156 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.718e-06/0.3654, allocations: 384 / 1.07 GB, free: 8.156 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.519e-05/0.3655, allocations: 4.375 kB / 1.07 GB, free: 8.152 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005612/0.366, allocations: 198 kB / 1.07 GB, free: 7.953 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.366, allocations: 4.125 kB / 1.07 GB, free: 7.949 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.088e-05/0.3661, allocations: 7.938 kB / 1.07 GB, free: 7.941 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.3661, allocations: 0 / 1.07 GB, free: 7.941 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008102/0.3669, allocations: 283.6 kB / 1.071 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008477/0.3677, allocations: 440.9 kB / 1.071 GB, free: 7.184 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001088/0.3688, allocations: 290.1 kB / 1.071 GB, free: 6.891 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000335/0.3692, allocations: 100.8 kB / 1.071 GB, free: 6.789 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.353e-05/0.3692, allocations: 4 kB / 1.071 GB, free: 6.785 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.215e-05/0.3693, allocations: 30.56 kB / 1.071 GB, free: 6.746 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.3693, allocations: 0 / 1.071 GB, free: 6.746 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.001076/0.3703, allocations: 305.3 kB / 1.072 GB, free: 6.441 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.797e-05/0.3704, allocations: 51.41 kB / 1.072 GB, free: 6.379 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.746e-05/0.3705, allocations: 125.8 kB / 1.072 GB, free: 6.246 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.697e-05/0.3705, allocations: 25.7 kB / 1.072 GB, free: 6.215 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.096e-05/0.3705, allocations: 92.14 kB / 1.072 GB, free: 6.121 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.528e-05/0.3706, allocations: 15.75 kB / 1.072 GB, free: 6.105 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.879e-05/0.3706, allocations: 21.64 kB / 1.072 GB, free: 6.078 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.611e-05/0.3707, allocations: 322.8 kB / 1.072 GB, free: 5.754 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003403/0.3711, allocations: 91.88 kB / 1.072 GB, free: 5.664 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003273/0.3714, allocations: 99.86 kB / 1.073 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006122/0.372, allocations: 172.9 kB / 1.073 GB, free: 5.395 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.372, allocations: 0 / 1.073 GB, free: 5.395 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007058/0.3728, allocations: 213.5 kB / 1.073 GB, free: 5.18 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.3728, allocations: 7.938 kB / 1.073 GB, free: 5.172 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.3728, allocations: 0 / 1.073 GB, free: 5.172 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.527e-06/0.3728, allocations: 0 / 1.073 GB, free: 5.172 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002397/0.373, allocations: 35.94 kB / 1.073 GB, free: 5.137 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.597e-06/0.3731, allocations: 4 kB / 1.073 GB, free: 5.133 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001956/0.3733, allocations: 31.95 kB / 1.073 GB, free: 5.102 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.144e-05/0.3733, allocations: 0 / 1.073 GB, free: 5.102 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 7.956e-05/0.3734, allocations: 117.8 kB / 1.073 GB, free: 4.977 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.505e-05/0.3734, allocations: 7.906 kB / 1.073 GB, free: 4.969 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.191e-05/0.3734, allocations: 11.91 kB / 1.073 GB, free: 4.949 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.3735, allocations: 0 / 1.073 GB, free: 4.949 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.3735, allocations: 4 kB / 1.073 GB, free: 4.945 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.874e-06/0.3735, allocations: 0 / 1.073 GB, free: 4.945 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002173/0.3737, allocations: 218 kB / 1.073 GB, free: 4.684 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.3737, allocations: 0 / 1.073 GB, free: 4.684 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002277/0.3739, allocations: 35.94 kB / 1.073 GB, free: 4.648 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.073e-06/0.3739, allocations: 0 / 1.073 GB, free: 4.648 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.175e-05/0.374, allocations: 3.938 kB / 1.073 GB, free: 4.645 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.374, allocations: 0 / 1.073 GB, free: 4.645 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.374, allocations: 0 / 1.073 GB, free: 4.645 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007452/0.3747, allocations: 319.1 kB / 1.074 GB, free: 4.316 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.75e-05/0.3748, allocations: 81.09 kB / 1.074 GB, free: 4.219 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.146e-05/0.3748, allocations: 8 kB / 1.074 GB, free: 4.211 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002219/0.375, allocations: 27.95 kB / 1.074 GB, free: 4.184 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.781e-05/0.3751, allocations: 4 kB / 1.074 GB, free: 4.18 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.516e-06/0.3751, allocations: 0 / 1.074 GB, free: 4.18 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.503e-05/0.3751, allocations: 95.27 kB / 1.074 GB, free: 4.086 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3752, allocations: 3.938 kB / 1.074 GB, free: 4.082 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002386/0.3754, allocations: 12 kB / 1.074 GB, free: 4.07 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.0001273/0.3755, allocations: 111.2 kB / 1.074 GB, free: 3.953 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0007025/0.3762, allocations: 191.7 kB / 1.074 GB, free: 3.766 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3763, allocations: 0 / 1.074 GB, free: 3.766 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003604/0.3766, allocations: 103.9 kB / 1.074 GB, free: 3.664 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000251/0.3769, allocations: 10.25 kB / 1.074 GB, free: 3.656 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000879/0.3778, allocations: 267.3 kB / 1.075 GB, free: 3.367 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002474/0.378, allocations: 0.6887 MB / 1.075 GB, free: 2.652 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.295e-05/0.3781, allocations: 23.98 kB / 1.075 GB, free: 2.629 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.38e-05/0.3782, allocations: 11.44 kB / 1.075 GB, free: 2.617 MB / 0.8262 GB Notification: Performance of SimCode: time 5.51e-07/0.3782, allocations: 0 / 1.075 GB, free: 2.617 MB / 0.8262 GB Notification: Performance of Templates: time 0.002976/0.3812, allocations: 0.8406 MB / 1.076 GB, free: 1.777 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothMin.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothMin.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothMin.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothMin -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Examples.SmoothMin.pipe 2>&1)