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.001387/0.001387, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001234/0.001234, allocations: 194.4 kB / 16.53 MB, free: 6.664 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.378/1.378, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.784/2.784, allocations: 472.6 MB / 0.7451 GB, free: 4.652 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 69.03 kB / 0.912 GB, free: 33.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3495/0.3508, allocations: 159.9 MB / 1.068 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.003373/0.3543, allocations: 1.467 MB / 1.07 GB, free: 8.957 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0004371/0.3547, allocations: 135.6 kB / 1.07 GB, free: 8.824 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.885e-05/0.3548, allocations: 3.938 kB / 1.07 GB, free: 8.82 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 5.45e-05/0.3549, allocations: 7.984 kB / 1.07 GB, free: 8.812 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.72e-05/0.3549, allocations: 3.938 kB / 1.07 GB, free: 8.809 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002581/0.3552, allocations: 35.89 kB / 1.07 GB, free: 8.773 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001075/0.3553, allocations: 39.86 kB / 1.07 GB, free: 8.734 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001416/0.3555, allocations: 27.98 kB / 1.07 GB, free: 8.707 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.723e-05/0.3555, allocations: 11.94 kB / 1.07 GB, free: 8.695 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.541e-05/0.3556, allocations: 19.92 kB / 1.07 GB, free: 8.676 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.549e-05/0.3556, allocations: 4 kB / 1.07 GB, free: 8.672 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001019/0.3557, allocations: 35.95 kB / 1.07 GB, free: 8.637 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.206e-05/0.3557, allocations: 15.92 kB / 1.07 GB, free: 8.621 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.449e-05/0.3558, allocations: 11.94 kB / 1.07 GB, free: 8.609 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001696/0.356, allocations: 71.78 kB / 1.07 GB, free: 8.539 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.356, allocations: 0 / 1.07 GB, free: 8.539 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.353e-06/0.356, allocations: 0 / 1.07 GB, free: 8.539 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.214e-05/0.356, allocations: 4 kB / 1.07 GB, free: 8.535 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.0006041/0.3566, allocations: 351.7 kB / 1.07 GB, free: 8.141 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.504e-05/0.3567, allocations: 8.031 kB / 1.07 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001193/0.3579, allocations: 224.4 kB / 1.071 GB, free: 7.914 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001549/0.358, allocations: 164.3 kB / 1.071 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.694e-05/0.3581, allocations: 4.375 kB / 1.071 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.195e-05/0.3581, allocations: 4.375 kB / 1.071 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005798/0.3587, allocations: 190 kB / 1.071 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.3587, allocations: 192 / 1.071 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.372e-05/0.3587, allocations: 7.922 kB / 1.071 GB, free: 7.508 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.3587, allocations: 4 kB / 1.071 GB, free: 7.504 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008461/0.3596, allocations: 275.6 kB / 1.071 GB, free: 7.234 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009648/0.3606, allocations: 452.9 kB / 1.072 GB, free: 6.742 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001082/0.3617, allocations: 290.1 kB / 1.072 GB, free: 6.449 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003661/0.362, allocations: 100.8 kB / 1.072 GB, free: 6.348 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.643e-05/0.3621, allocations: 0 / 1.072 GB, free: 6.348 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.326e-05/0.3621, allocations: 34.5 kB / 1.072 GB, free: 6.305 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.213e-06/0.3621, allocations: 4 kB / 1.072 GB, free: 6.301 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.001134/0.3632, allocations: 305.3 kB / 1.072 GB, free: 5.996 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.665e-05/0.3633, allocations: 59.39 kB / 1.072 GB, free: 5.926 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.724e-05/0.3634, allocations: 117.8 kB / 1.072 GB, free: 5.801 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.756e-05/0.3634, allocations: 25.7 kB / 1.073 GB, free: 5.77 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.695e-05/0.3635, allocations: 84.14 kB / 1.073 GB, free: 5.684 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.38e-05/0.3635, allocations: 19.73 kB / 1.073 GB, free: 5.664 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.98e-05/0.3636, allocations: 21.66 kB / 1.073 GB, free: 5.637 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.519e-05/0.3637, allocations: 314.8 kB / 1.073 GB, free: 5.32 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003481/0.364, allocations: 103.9 kB / 1.073 GB, free: 5.219 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003348/0.3644, allocations: 95.81 kB / 1.073 GB, free: 5.125 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006431/0.365, allocations: 172.6 kB / 1.073 GB, free: 4.953 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.365, allocations: 0 / 1.073 GB, free: 4.953 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007181/0.3657, allocations: 213.7 kB / 1.073 GB, free: 4.738 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/0.3658, allocations: 8 kB / 1.073 GB, free: 4.73 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.3658, allocations: 0 / 1.073 GB, free: 4.73 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.3658, allocations: 0 / 1.073 GB, free: 4.73 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002631/0.3661, allocations: 35.98 kB / 1.074 GB, free: 4.695 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.3661, allocations: 3.984 kB / 1.074 GB, free: 4.691 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001905/0.3663, allocations: 27.94 kB / 1.074 GB, free: 4.664 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.43e-05/0.3663, allocations: 4 kB / 1.074 GB, free: 4.66 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 9.768e-05/0.3664, allocations: 129.7 kB / 1.074 GB, free: 4.523 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.15e-05/0.3665, allocations: 3.906 kB / 1.074 GB, free: 4.52 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.755e-05/0.3665, allocations: 11.91 kB / 1.074 GB, free: 4.5 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.3665, allocations: 0 / 1.074 GB, free: 4.5 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/0.3665, allocations: 4 kB / 1.074 GB, free: 4.496 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.3665, allocations: 0 / 1.074 GB, free: 4.496 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002361/0.3668, allocations: 205.5 kB / 1.074 GB, free: 4.246 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.3668, allocations: 384 / 1.074 GB, free: 4.246 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002246/0.367, allocations: 43.94 kB / 1.074 GB, free: 4.203 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.367, allocations: 0 / 1.074 GB, free: 4.203 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.302e-05/0.3671, allocations: 0 / 1.074 GB, free: 4.203 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.3671, allocations: 7.938 kB / 1.074 GB, free: 4.195 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3671, allocations: 0 / 1.074 GB, free: 4.195 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007891/0.3679, allocations: 319.1 kB / 1.074 GB, free: 3.867 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.41e-05/0.3679, allocations: 77.11 kB / 1.074 GB, free: 3.773 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.18e-05/0.368, allocations: 0 / 1.074 GB, free: 3.773 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002238/0.3682, allocations: 27.95 kB / 1.074 GB, free: 3.746 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.747e-05/0.3682, allocations: 3.938 kB / 1.074 GB, free: 3.742 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.328e-06/0.3683, allocations: 7.984 kB / 1.074 GB, free: 3.734 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.295e-05/0.3683, allocations: 99.27 kB / 1.074 GB, free: 3.637 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3683, allocations: 3.938 kB / 1.074 GB, free: 3.633 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002337/0.3686, allocations: 12 kB / 1.074 GB, free: 3.621 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.0001362/0.3687, allocations: 99.72 kB / 1.075 GB, free: 3.516 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0007806/0.3695, allocations: 199.8 kB / 1.075 GB, free: 3.32 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.3695, allocations: 0 / 1.075 GB, free: 3.32 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003671/0.3699, allocations: 107.8 kB / 1.075 GB, free: 3.215 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002668/0.3701, allocations: 1.719 kB / 1.075 GB, free: 3.215 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009474/0.3711, allocations: 261.2 kB / 1.075 GB, free: 2.934 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002387/0.3714, allocations: 0.6924 MB / 1.076 GB, free: 2.215 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.111e-05/0.3714, allocations: 19.98 kB / 1.076 GB, free: 2.195 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.432e-05/0.3715, allocations: 11.44 kB / 1.076 GB, free: 2.184 MB / 0.8262 GB Notification: Performance of SimCode: time 4.9e-07/0.3715, allocations: 0 / 1.076 GB, free: 2.184 MB / 0.8262 GB Notification: Performance of Templates: time 0.003239/0.3748, allocations: 0.9357 MB / 1.077 GB, free: 1.25 MB / 0.8262 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)