Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.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.Integers.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001274/0.001274, 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.001772/0.001772, allocations: 194.4 kB / 16.14 MB, free: 6.66 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.504/1.504, allocations: 222.9 MB / 239.8 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.04/3.04, allocations: 472.6 MB / 0.7447 GB, free: 4.914 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 63.03 kB / 0.9114 GB, free: 33.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4419/0.4432, allocations: 159.9 MB / 1.068 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.002131/0.4454, allocations: 0.6104 MB / 1.068 GB, free: 10.26 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 4.601e-05/0.4455, allocations: 3.938 kB / 1.068 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.834e-05/0.4455, allocations: 4 kB / 1.068 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.682e-05/0.4456, allocations: 0 / 1.068 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.289e-05/0.4456, allocations: 0 / 1.068 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 4.084e-05/0.4457, allocations: 0 / 1.068 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.681e-05/0.4457, allocations: 4 kB / 1.068 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 6.354e-05/0.4458, allocations: 4 kB / 1.068 GB, free: 10.24 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.543e-05/0.4458, allocations: 0 / 1.068 GB, free: 10.24 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 2.782e-05/0.4458, allocations: 7.984 kB / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.779e-05/0.4459, allocations: 0 / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 5.2e-06/0.4459, allocations: 3.938 kB / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.641e-05/0.4459, allocations: 0 / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.835e-05/0.4459, allocations: 3.984 kB / 1.068 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 6.66e-05/0.446, allocations: 3.938 kB / 1.068 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.575e-06/0.446, allocations: 4 kB / 1.068 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.362e-06/0.446, allocations: 0 / 1.068 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.069e-06/0.446, allocations: 0 / 1.068 GB, free: 10.22 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004002/0.4464, allocations: 315.5 kB / 1.068 GB, free: 9.859 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/0.4465, allocations: 16.09 kB / 1.068 GB, free: 9.844 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.183e-05/0.4465, allocations: 0.9375 kB / 1.068 GB, free: 9.844 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001462/0.4467, allocations: 160.4 kB / 1.069 GB, free: 9.648 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/0.4467, allocations: 384 / 1.069 GB, free: 9.648 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.185e-05/0.4467, allocations: 384 / 1.069 GB, free: 9.648 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.347e-05/0.4468, allocations: 34.25 kB / 1.069 GB, free: 9.609 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.4468, allocations: 192 / 1.069 GB, free: 9.609 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.4468, allocations: 3.938 kB / 1.069 GB, free: 9.605 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.4469, allocations: 0 / 1.069 GB, free: 9.605 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.886e-05/0.4469, allocations: 3.938 kB / 1.069 GB, free: 9.602 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003698/0.4473, allocations: 383.5 kB / 1.069 GB, free: 9.176 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001073/0.4474, allocations: 173.1 kB / 1.069 GB, free: 8.996 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.752e-05/0.4474, allocations: 80.14 kB / 1.069 GB, free: 8.914 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.632e-05/0.4475, allocations: 79.28 kB / 1.069 GB, free: 8.836 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.301e-05/0.4475, allocations: 113.8 kB / 1.069 GB, free: 8.715 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/0.4475, allocations: 0 / 1.069 GB, free: 8.715 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 8.061e-05/0.4476, allocations: 31.89 kB / 1.07 GB, free: 8.68 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.481e-05/0.4477, allocations: 130.7 kB / 1.07 GB, free: 8.539 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.131e-05/0.4478, allocations: 93.86 kB / 1.07 GB, free: 8.438 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.297e-05/0.4478, allocations: 25.7 kB / 1.07 GB, free: 8.406 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.435e-05/0.4479, allocations: 92.27 kB / 1.07 GB, free: 8.312 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.555e-06/0.4479, allocations: 0 / 1.07 GB, free: 8.312 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.131e-05/0.4479, allocations: 9.719 kB / 1.07 GB, free: 8.297 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001284/0.4481, allocations: 314.8 kB / 1.07 GB, free: 7.98 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.561e-06/0.4481, allocations: 0 / 1.07 GB, free: 7.98 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.304e-06/0.4481, allocations: 3.984 kB / 1.07 GB, free: 7.977 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.277e-05/0.4481, allocations: 79.22 kB / 1.07 GB, free: 7.898 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.779e-05/0.4482, allocations: 75.28 kB / 1.07 GB, free: 7.824 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.14e-05/0.4482, allocations: 45.48 kB / 1.07 GB, free: 7.773 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.349e-05/0.4483, allocations: 79.28 kB / 1.07 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.169e-05/0.4483, allocations: 79.28 kB / 1.07 GB, free: 7.617 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.958e-05/0.4484, allocations: 158.5 kB / 1.071 GB, free: 7.461 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.849e-05/0.4484, allocations: 79.28 kB / 1.071 GB, free: 7.383 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.601e-05/0.4485, allocations: 150.6 kB / 1.071 GB, free: 7.234 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.668e-05/0.4486, allocations: 87.2 kB / 1.071 GB, free: 7.148 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.722e-05/0.4486, allocations: 79.28 kB / 1.071 GB, free: 7.07 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 (0): * Single equations (assignments): 0 * 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.000134/0.4488, allocations: 260.3 kB / 1.071 GB, free: 6.805 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.371e-05/0.4488, allocations: 104.9 kB / 1.071 GB, free: 6.695 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.921e-05/0.4489, allocations: 115.9 kB / 1.071 GB, free: 6.574 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-05/0.449, allocations: 176.3 kB / 1.072 GB, free: 6.395 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.587e-05/0.4491, allocations: 188.2 kB / 1.072 GB, free: 6.203 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.962e-05/0.4492, allocations: 180.3 kB / 1.072 GB, free: 6.02 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002567/0.4494, allocations: 405.1 kB / 1.072 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.627e-05/0.4495, allocations: 105 kB / 1.072 GB, free: 5.457 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.312e-05/0.4495, allocations: 108.9 kB / 1.073 GB, free: 5.344 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.745e-05/0.4496, allocations: 184.6 kB / 1.073 GB, free: 5.156 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.205e-05/0.4497, allocations: 176.3 kB / 1.073 GB, free: 4.977 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.856e-05/0.4498, allocations: 180.2 kB / 1.073 GB, free: 4.793 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.654e-05/0.4499, allocations: 184.3 kB / 1.073 GB, free: 4.605 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001626/0.45, allocations: 311.7 kB / 1.074 GB, free: 4.277 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.987e-05/0.4501, allocations: 182.1 kB / 1.074 GB, free: 4.074 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.587e-05/0.4502, allocations: 184.2 kB / 1.074 GB, free: 3.887 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/0.4503, allocations: 105 kB / 1.074 GB, free: 3.777 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.541e-05/0.4504, allocations: 180.2 kB / 1.074 GB, free: 3.594 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-05/0.4505, allocations: 105 kB / 1.074 GB, free: 3.484 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.308e-05/0.4505, allocations: 79.28 kB / 1.074 GB, free: 3.406 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4505, allocations: 0 / 1.074 GB, free: 3.406 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002609/0.4508, allocations: 0 / 1.074 GB, free: 3.406 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 (0): * Single equations (assignments): 0 * 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.0001937/0.451, allocations: 178.5 kB / 1.075 GB, free: 3.219 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 5.009e-05/0.4511, allocations: 0 / 1.075 GB, free: 3.219 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.4511, allocations: 0 / 1.075 GB, free: 3.219 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.169e-06/0.4511, allocations: 3.938 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.0004735/0.4516, allocations: 0.5341 MB / 1.075 GB, free: 2.676 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002751/0.4518, allocations: 148.6 kB / 1.075 GB, free: 2.504 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003151/0.4522, allocations: 0.6731 MB / 1.076 GB, free: 1.805 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.32e-05/0.4522, allocations: 3.984 kB / 1.076 GB, free: 1.801 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.025e-05/0.4522, allocations: 7.438 kB / 1.076 GB, free: 1.793 MB / 0.8262 GB Notification: Performance of SimCode: time 5.81e-07/0.4522, allocations: 0 / 1.076 GB, free: 1.793 MB / 0.8262 GB Notification: Performance of Templates: time 0.002231/0.4545, allocations: 164.9 kB / 1.076 GB, free: 1.633 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1)