Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.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.Controls.OBC.CDL.Reals.Validation.Sqrt,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008203/0.0008204, allocations: 91.06 kB / 15.36 MB, free: 0.7383 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.006473/0.006473, allocations: 170.5 kB / 16.26 MB, free: 6.613 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.664/1.664, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.939/2.939, allocations: 473.4 MB / 0.7469 GB, free: 6.016 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003909/0.0003911, allocations: 14.38 kB / 0.9158 GB, free: 33.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.357/0.3574, allocations: 162.2 MB / 1.074 GB, free: 7.5 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt): time 0.001165/0.3587, allocations: 400.5 kB / 1.075 GB, free: 7.113 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009645/0.3596, allocations: 0.7983 MB / 1.075 GB, free: 6.305 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.862e-05/0.3597, allocations: 8 kB / 1.075 GB, free: 6.297 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.608e-05/0.3597, allocations: 0 / 1.075 GB, free: 6.297 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.397e-05/0.3598, allocations: 7.922 kB / 1.075 GB, free: 6.289 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001432/0.3599, allocations: 11.98 kB / 1.075 GB, free: 6.277 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.118e-05/0.36, allocations: 16 kB / 1.075 GB, free: 6.262 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.92e-05/0.3601, allocations: 3.984 kB / 1.075 GB, free: 6.258 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.367e-05/0.3602, allocations: 11.94 kB / 1.075 GB, free: 6.246 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.418e-05/0.3602, allocations: 11.92 kB / 1.075 GB, free: 6.234 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.518e-05/0.3603, allocations: 0 / 1.075 GB, free: 6.234 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.085e-06/0.3603, allocations: 4 kB / 1.075 GB, free: 6.23 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.745e-05/0.3603, allocations: 7.938 kB / 1.075 GB, free: 6.223 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.995e-05/0.3604, allocations: 29.7 kB / 1.075 GB, free: 6.188 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 7.676e-05/0.3604, allocations: 27.88 kB / 1.075 GB, free: 6.16 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.3604, allocations: 0 / 1.075 GB, free: 6.16 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.934e-06/0.3605, allocations: 0 / 1.075 GB, free: 6.16 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.599e-06/0.3605, allocations: 0 / 1.075 GB, free: 6.16 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000459/0.3609, allocations: 331.9 kB / 1.076 GB, free: 5.785 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.361, allocations: 8.031 kB / 1.076 GB, free: 5.777 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.228e-05/0.361, allocations: 12.83 kB / 1.076 GB, free: 5.766 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001195/0.3611, allocations: 168.3 kB / 1.076 GB, free: 5.562 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.3612, allocations: 384 / 1.076 GB, free: 5.562 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.286e-05/0.3612, allocations: 4.375 kB / 1.076 GB, free: 5.559 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001951/0.3614, allocations: 54.23 kB / 1.076 GB, free: 5.5 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.3614, allocations: 192 / 1.076 GB, free: 5.5 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.3614, allocations: 7.938 kB / 1.076 GB, free: 5.492 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.814e-06/0.3614, allocations: 3.984 kB / 1.076 GB, free: 5.488 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001779/0.3616, allocations: 43.91 kB / 1.076 GB, free: 5.445 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003566/0.362, allocations: 249 kB / 1.076 GB, free: 5.152 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001341/0.3621, allocations: 46.44 kB / 1.076 GB, free: 5.098 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.63e-05/0.3622, allocations: 24.91 kB / 1.076 GB, free: 5.07 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.561e-05/0.3623, allocations: 7.984 kB / 1.076 GB, free: 5.062 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.443e-05/0.3623, allocations: 38.56 kB / 1.076 GB, free: 5.016 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.3623, allocations: 0 / 1.076 GB, free: 5.016 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0003672/0.3627, allocations: 93.69 kB / 1.076 GB, free: 4.918 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.781e-05/0.3627, allocations: 59.33 kB / 1.077 GB, free: 4.848 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.078e-05/0.3628, allocations: 97.86 kB / 1.077 GB, free: 4.742 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.559e-05/0.3628, allocations: 29.7 kB / 1.077 GB, free: 4.707 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.126e-05/0.3629, allocations: 84.05 kB / 1.077 GB, free: 4.621 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.043e-05/0.3629, allocations: 4 kB / 1.077 GB, free: 4.617 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.456e-05/0.3629, allocations: 13.7 kB / 1.077 GB, free: 4.598 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.3631, allocations: 314.9 kB / 1.077 GB, free: 4.281 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.653e-05/0.3632, allocations: 23.98 kB / 1.077 GB, free: 4.258 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.636e-05/0.3632, allocations: 19.98 kB / 1.077 GB, free: 4.238 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001759/0.3634, allocations: 56.81 kB / 1.077 GB, free: 4.18 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.3634, allocations: 0 / 1.077 GB, free: 4.18 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002123/0.3637, allocations: 81.52 kB / 1.077 GB, free: 4.094 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.3637, allocations: 5.094 kB / 1.077 GB, free: 4.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.3637, allocations: 0 / 1.077 GB, free: 4.09 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.3637, allocations: 3.984 kB / 1.077 GB, free: 4.086 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.395e-05/0.3638, allocations: 12 kB / 1.077 GB, free: 4.074 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.3638, allocations: 4 kB / 1.077 GB, free: 4.07 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.154e-05/0.3639, allocations: 11.98 kB / 1.077 GB, free: 4.059 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.519e-06/0.3639, allocations: 4.031 kB / 1.077 GB, free: 4.055 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 (2): * Single equations (assignments): 2 * 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.725e-05/0.364, allocations: 113.8 kB / 1.077 GB, free: 3.934 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.218e-05/0.364, allocations: 0 / 1.077 GB, free: 3.934 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.203e-05/0.364, allocations: 3.125 kB / 1.077 GB, free: 3.93 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.364, allocations: 0 / 1.077 GB, free: 3.93 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.364, allocations: 4 kB / 1.077 GB, free: 3.926 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.3641, allocations: 3.984 kB / 1.077 GB, free: 3.922 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001615/0.3642, allocations: 157.6 kB / 1.078 GB, free: 3.719 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3642, allocations: 3.938 kB / 1.078 GB, free: 3.715 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.414e-05/0.3643, allocations: 19.98 kB / 1.078 GB, free: 3.695 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.3643, allocations: 0 / 1.078 GB, free: 3.695 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.3643, allocations: 0 / 1.078 GB, free: 3.695 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.3643, allocations: 3.938 kB / 1.078 GB, free: 3.691 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3643, allocations: 0 / 1.078 GB, free: 3.691 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002609/0.3646, allocations: 175.5 kB / 1.078 GB, free: 3.504 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.543e-05/0.3647, allocations: 81.02 kB / 1.078 GB, free: 3.406 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.251e-05/0.3647, allocations: 0 / 1.078 GB, free: 3.406 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.225e-05/0.3648, allocations: 15.98 kB / 1.078 GB, free: 3.391 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.917e-05/0.3648, allocations: 0 / 1.078 GB, free: 3.391 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.795e-06/0.3648, allocations: 0 / 1.078 GB, free: 3.391 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.757e-05/0.3649, allocations: 83.31 kB / 1.078 GB, free: 3.309 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3649, allocations: 0 / 1.078 GB, free: 3.309 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002129/0.3651, allocations: 4 kB / 1.078 GB, free: 3.305 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 (2): * Single equations (assignments): 2 * 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.0001773/0.3653, allocations: 103.2 kB / 1.078 GB, free: 3.191 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002256/0.3655, allocations: 51.91 kB / 1.078 GB, free: 3.141 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3655, allocations: 0 / 1.078 GB, free: 3.141 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.301e-05/0.3656, allocations: 27.97 kB / 1.078 GB, free: 3.113 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002826/0.3659, allocations: 10.33 kB / 1.078 GB, free: 3.105 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002905/0.3662, allocations: 109 kB / 1.078 GB, free: 2.973 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000276/0.3665, allocations: 0.677 MB / 1.079 GB, free: 2.27 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.347e-05/0.3665, allocations: 0 / 1.079 GB, free: 2.27 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.18e-05/0.3665, allocations: 7.438 kB / 1.079 GB, free: 2.262 MB / 0.8262 GB Notification: Performance of SimCode: time 2.114e-06/0.3666, allocations: 0 / 1.079 GB, free: 2.262 MB / 0.8262 GB Notification: Performance of Templates: time 0.002402/0.369, allocations: 378.5 kB / 1.079 GB, free: 1.895 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe 2>&1)