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.001188/0.001188, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001365/0.001365, allocations: 191.9 kB / 16.25 MB, free: 6.629 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.519/1.519, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.948/2.948, allocations: 472.6 MB / 0.7448 GB, free: 4.902 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 72.48 kB / 0.9116 GB, free: 33.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4059/0.4072, allocations: 159.9 MB / 1.068 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.002172/0.4094, allocations: 0.611 MB / 1.068 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 4.469e-05/0.4095, allocations: 7.938 kB / 1.068 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.053e-05/0.4095, allocations: 0 / 1.068 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.435e-05/0.4096, allocations: 0 / 1.068 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.468e-05/0.4096, allocations: 0 / 1.068 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 4.278e-05/0.4097, allocations: 3.938 kB / 1.068 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.132e-05/0.4097, allocations: 4 kB / 1.068 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 6.666e-05/0.4098, allocations: 0 / 1.068 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001074/0.4099, allocations: 3.984 kB / 1.068 GB, free: 10.17 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 2.212e-05/0.4099, allocations: 0 / 1.068 GB, free: 10.17 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.59e-05/0.41, allocations: 4 kB / 1.068 GB, free: 10.17 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 4.509e-06/0.41, allocations: 0 / 1.068 GB, free: 10.17 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.525e-05/0.41, allocations: 4 kB / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.38e-05/0.41, allocations: 0 / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 6.331e-05/0.4101, allocations: 7.938 kB / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.4101, allocations: 0 / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.744e-06/0.4101, allocations: 0 / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.4101, allocations: 0 / 1.068 GB, free: 10.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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004023/0.4105, allocations: 315.6 kB / 1.069 GB, free: 9.797 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.4106, allocations: 8.031 kB / 1.069 GB, free: 9.789 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.438e-05/0.4106, allocations: 4.938 kB / 1.069 GB, free: 9.785 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001285/0.4108, allocations: 168.4 kB / 1.069 GB, free: 9.582 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.032e-05/0.4108, allocations: 384 / 1.069 GB, free: 9.582 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.095e-06/0.4108, allocations: 384 / 1.069 GB, free: 9.582 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.978e-05/0.4109, allocations: 34.25 kB / 1.069 GB, free: 9.543 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.102e-06/0.4109, allocations: 192 / 1.069 GB, free: 9.543 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.332e-05/0.4109, allocations: 7.938 kB / 1.069 GB, free: 9.535 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.4109, allocations: 3.938 kB / 1.069 GB, free: 9.531 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.531e-05/0.4109, allocations: 0 / 1.069 GB, free: 9.531 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003481/0.4113, allocations: 383.5 kB / 1.069 GB, free: 9.105 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 8.495e-05/0.4114, allocations: 169.1 kB / 1.069 GB, free: 8.93 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.25e-05/0.4114, allocations: 80.14 kB / 1.069 GB, free: 8.848 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.691e-05/0.4115, allocations: 79.22 kB / 1.07 GB, free: 8.77 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.402e-05/0.4115, allocations: 113.9 kB / 1.07 GB, free: 8.648 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.4115, allocations: 0 / 1.07 GB, free: 8.648 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 7.643e-05/0.4116, allocations: 27.91 kB / 1.07 GB, free: 8.617 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.429e-05/0.4117, allocations: 134.6 kB / 1.07 GB, free: 8.473 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.962e-05/0.4118, allocations: 101.8 kB / 1.07 GB, free: 8.363 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.433e-05/0.4118, allocations: 25.7 kB / 1.07 GB, free: 8.332 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.154e-05/0.4118, allocations: 80.27 kB / 1.07 GB, free: 8.25 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.923e-06/0.4119, allocations: 4 kB / 1.07 GB, free: 8.246 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.013e-05/0.4119, allocations: 9.719 kB / 1.07 GB, free: 8.23 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001525/0.412, allocations: 314.8 kB / 1.07 GB, free: 7.914 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.292e-06/0.4121, allocations: 0 / 1.07 GB, free: 7.914 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.807e-06/0.4121, allocations: 3.938 kB / 1.07 GB, free: 7.91 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.102e-05/0.4121, allocations: 83.22 kB / 1.07 GB, free: 7.828 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.512e-05/0.4122, allocations: 75.28 kB / 1.07 GB, free: 7.754 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.517e-05/0.4122, allocations: 37.55 kB / 1.071 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.964e-05/0.4123, allocations: 83.28 kB / 1.071 GB, free: 7.629 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.843e-05/0.4123, allocations: 75.28 kB / 1.071 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.203e-05/0.4124, allocations: 158.5 kB / 1.071 GB, free: 7.398 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.178e-05/0.4124, allocations: 79.28 kB / 1.071 GB, free: 7.32 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.287e-05/0.4125, allocations: 154.5 kB / 1.071 GB, free: 7.168 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.914e-05/0.4126, allocations: 79.28 kB / 1.071 GB, free: 7.09 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.738e-05/0.4126, allocations: 79.28 kB / 1.071 GB, free: 7.012 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.0001866/0.4128, allocations: 272.3 kB / 1.071 GB, free: 6.734 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.248e-05/0.4129, allocations: 105 kB / 1.072 GB, free: 6.625 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001304/0.413, allocations: 107.9 kB / 1.072 GB, free: 6.512 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.334e-05/0.4131, allocations: 184.2 kB / 1.072 GB, free: 6.324 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.3e-05/0.4132, allocations: 180.3 kB / 1.072 GB, free: 6.141 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001046/0.4133, allocations: 184.2 kB / 1.072 GB, free: 5.953 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003248/0.4136, allocations: 405.2 kB / 1.073 GB, free: 5.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.602e-05/0.4137, allocations: 101 kB / 1.073 GB, free: 5.395 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001492/0.4138, allocations: 108.9 kB / 1.073 GB, free: 5.281 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000142/0.414, allocations: 180.6 kB / 1.073 GB, free: 5.098 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.8e-05/0.4141, allocations: 188.2 kB / 1.073 GB, free: 4.906 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001471/0.4142, allocations: 180.3 kB / 1.073 GB, free: 4.723 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001516/0.4144, allocations: 180.3 kB / 1.073 GB, free: 4.539 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001445/0.4145, allocations: 311.7 kB / 1.074 GB, free: 4.211 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.148e-05/0.4146, allocations: 186 kB / 1.074 GB, free: 4.004 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.784e-05/0.4147, allocations: 180.3 kB / 1.074 GB, free: 3.82 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.802e-05/0.4148, allocations: 101 kB / 1.074 GB, free: 3.715 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.591e-05/0.4149, allocations: 180.2 kB / 1.074 GB, free: 3.531 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.952e-05/0.4149, allocations: 105 kB / 1.074 GB, free: 3.422 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.309e-05/0.4149, allocations: 87.28 kB / 1.075 GB, free: 3.336 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.415, allocations: 0 / 1.075 GB, free: 3.336 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002741/0.4152, allocations: 0 / 1.075 GB, free: 3.336 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.0002174/0.4155, allocations: 170.5 kB / 1.075 GB, free: 3.156 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 5.779e-05/0.4155, allocations: 11.88 kB / 1.075 GB, free: 3.145 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.4155, allocations: 0 / 1.075 GB, free: 3.145 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.296e-06/0.4155, allocations: 0 / 1.075 GB, free: 3.145 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004511/0.416, allocations: 465.7 kB / 1.075 GB, free: 2.688 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002268/0.4162, allocations: 157.6 kB / 1.075 GB, free: 2.508 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003017/0.4165, allocations: 0.6729 MB / 1.076 GB, free: 1.809 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.596e-06/0.4166, allocations: 0 / 1.076 GB, free: 1.809 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.011e-05/0.4166, allocations: 7.438 kB / 1.076 GB, free: 1.801 MB / 0.8262 GB Notification: Performance of SimCode: time 2.6e-07/0.4166, allocations: 0 / 1.076 GB, free: 1.801 MB / 0.8262 GB Notification: Performance of Templates: time 0.002112/0.4187, allocations: 170 kB / 1.076 GB, free: 1.637 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)