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.001216/0.001216, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001359/0.001359, allocations: 193.3 kB / 16.14 MB, free: 6.688 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.403/1.403, allocations: 222.9 MB / 239.8 MB, free: 4.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.943/2.943, allocations: 472.6 MB / 0.7447 GB, free: 4.926 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001359/0.00136, allocations: 67.28 kB / 0.9114 GB, free: 33.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3614/0.3628, allocations: 159.9 MB / 1.068 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sqrt): time 0.002371/0.3652, allocations: 0.7245 MB / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001077/0.3663, allocations: 0.8001 MB / 1.069 GB, free: 9.348 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.995e-05/0.3663, allocations: 0 / 1.069 GB, free: 9.348 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.039e-05/0.3664, allocations: 3.938 kB / 1.069 GB, free: 9.344 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.494e-05/0.3665, allocations: 0 / 1.069 GB, free: 9.344 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001647/0.3666, allocations: 11.98 kB / 1.069 GB, free: 9.332 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.783e-05/0.3667, allocations: 27.88 kB / 1.069 GB, free: 9.305 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001352/0.3669, allocations: 11.98 kB / 1.069 GB, free: 9.293 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.35e-05/0.367, allocations: 8 kB / 1.069 GB, free: 9.285 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.183e-05/0.367, allocations: 11.92 kB / 1.069 GB, free: 9.273 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.334e-05/0.3671, allocations: 3.938 kB / 1.069 GB, free: 9.27 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.587e-05/0.3671, allocations: 4 kB / 1.069 GB, free: 9.266 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.307e-05/0.3671, allocations: 7.984 kB / 1.069 GB, free: 9.258 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.197e-05/0.3671, allocations: 3.938 kB / 1.069 GB, free: 9.254 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 9.088e-05/0.3672, allocations: 15.97 kB / 1.069 GB, free: 9.238 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.3672, allocations: 0 / 1.069 GB, free: 9.238 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.262e-06/0.3672, allocations: 4 kB / 1.069 GB, free: 9.234 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.232e-06/0.3673, allocations: 0 / 1.069 GB, free: 9.234 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.000548/0.3678, allocations: 335.8 kB / 1.069 GB, free: 8.855 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/0.3679, allocations: 11.97 kB / 1.069 GB, free: 8.844 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.851e-05/0.3679, allocations: 4.938 kB / 1.069 GB, free: 8.84 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000193/0.3681, allocations: 168.3 kB / 1.07 GB, free: 8.637 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.3681, allocations: 384 / 1.07 GB, free: 8.637 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.195e-05/0.3682, allocations: 4.312 kB / 1.07 GB, free: 8.633 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002941/0.3685, allocations: 50.23 kB / 1.07 GB, free: 8.578 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.3685, allocations: 4.188 kB / 1.07 GB, free: 8.574 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.453e-05/0.3685, allocations: 3.938 kB / 1.07 GB, free: 8.57 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.3685, allocations: 4 kB / 1.07 GB, free: 8.566 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001695/0.3687, allocations: 27.97 kB / 1.07 GB, free: 8.539 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004901/0.3692, allocations: 249 kB / 1.07 GB, free: 8.246 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000132/0.3693, allocations: 42.44 kB / 1.07 GB, free: 8.195 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.758e-05/0.3694, allocations: 24.91 kB / 1.07 GB, free: 8.168 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.074e-05/0.3694, allocations: 0 / 1.07 GB, free: 8.168 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.068e-05/0.3695, allocations: 34.55 kB / 1.07 GB, free: 8.125 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.3695, allocations: 0 / 1.07 GB, free: 8.125 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0003548/0.3698, allocations: 85.56 kB / 1.07 GB, free: 8.035 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.135e-05/0.3699, allocations: 55.39 kB / 1.07 GB, free: 7.969 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.587e-05/0.37, allocations: 105.8 kB / 1.07 GB, free: 7.855 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.965e-05/0.37, allocations: 25.7 kB / 1.07 GB, free: 7.824 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.676e-05/0.3701, allocations: 84.14 kB / 1.07 GB, free: 7.738 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.953e-05/0.3701, allocations: 3.906 kB / 1.07 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.854e-05/0.3702, allocations: 21.7 kB / 1.07 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001159/0.3703, allocations: 315 kB / 1.071 GB, free: 7.391 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.048e-05/0.3704, allocations: 11.98 kB / 1.071 GB, free: 7.379 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.841e-05/0.3704, allocations: 15.98 kB / 1.071 GB, free: 7.363 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001444/0.3706, allocations: 40.81 kB / 1.071 GB, free: 7.32 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.3706, allocations: 4 kB / 1.071 GB, free: 7.316 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000182/0.3708, allocations: 69.67 kB / 1.071 GB, free: 7.242 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.3708, allocations: 7.984 kB / 1.071 GB, free: 7.234 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.3708, allocations: 3.938 kB / 1.071 GB, free: 7.23 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.3708, allocations: 0 / 1.071 GB, free: 7.23 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.905e-05/0.3709, allocations: 8 kB / 1.071 GB, free: 7.223 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.3709, allocations: 3.938 kB / 1.071 GB, free: 7.219 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.758e-05/0.371, allocations: 7.984 kB / 1.071 GB, free: 7.211 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.053e-06/0.371, allocations: 0 / 1.071 GB, free: 7.211 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 0.0001/0.3711, allocations: 126.4 kB / 1.071 GB, free: 7.078 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.149e-05/0.3711, allocations: 0 / 1.071 GB, free: 7.078 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.616e-05/0.3712, allocations: 3.125 kB / 1.071 GB, free: 7.074 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.686e-06/0.3712, allocations: 3.984 kB / 1.071 GB, free: 7.07 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.249e-06/0.3712, allocations: 0 / 1.071 GB, free: 7.07 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.3712, allocations: 0 / 1.071 GB, free: 7.07 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000157/0.3714, allocations: 165.6 kB / 1.071 GB, free: 6.859 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3714, allocations: 0 / 1.071 GB, free: 6.859 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.81e-05/0.3714, allocations: 7.984 kB / 1.071 GB, free: 6.852 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-06/0.3714, allocations: 4 kB / 1.071 GB, free: 6.848 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.204e-06/0.3715, allocations: 0 / 1.071 GB, free: 6.848 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.3715, allocations: 4 kB / 1.071 GB, free: 6.844 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.3715, allocations: 3.984 kB / 1.071 GB, free: 6.84 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000239/0.3717, allocations: 167.4 kB / 1.071 GB, free: 6.66 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.42e-05/0.3718, allocations: 81.02 kB / 1.071 GB, free: 6.562 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.241e-05/0.3718, allocations: 4.031 kB / 1.071 GB, free: 6.559 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.481e-05/0.3719, allocations: 7.984 kB / 1.071 GB, free: 6.551 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.978e-05/0.3719, allocations: 4 kB / 1.071 GB, free: 6.547 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.875e-06/0.3719, allocations: 0 / 1.071 GB, free: 6.547 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.195e-05/0.372, allocations: 83.27 kB / 1.072 GB, free: 6.465 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.372, allocations: 0 / 1.072 GB, free: 6.465 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002068/0.3722, allocations: 4 kB / 1.072 GB, free: 6.461 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.0001559/0.3723, allocations: 103.2 kB / 1.072 GB, free: 6.348 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001937/0.3725, allocations: 31.97 kB / 1.072 GB, free: 6.316 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.3725, allocations: 0 / 1.072 GB, free: 6.316 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.28e-05/0.3726, allocations: 27.91 kB / 1.072 GB, free: 6.289 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003047/0.3729, allocations: 9.906 kB / 1.072 GB, free: 6.281 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003445/0.3733, allocations: 107.6 kB / 1.072 GB, free: 6.148 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003309/0.3736, allocations: 0.6731 MB / 1.072 GB, free: 5.449 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.908e-05/0.3737, allocations: 7.984 kB / 1.072 GB, free: 5.441 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.694e-05/0.3737, allocations: 7.438 kB / 1.072 GB, free: 5.434 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.3737, allocations: 0 / 1.072 GB, free: 5.434 MB / 0.8262 GB Notification: Performance of Templates: time 0.002437/0.3761, allocations: 366.1 kB / 1.073 GB, free: 5.078 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)