Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.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.Reals.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001286/0.001286, allocations: 108 kB / 15.6 MB, free: 132 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.001357/0.001357, allocations: 193.1 kB / 16.53 MB, free: 6.391 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.506/1.506, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.909/2.909, allocations: 472.6 MB / 0.7451 GB, free: 4.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001491/0.001491, allocations: 64.69 kB / 0.912 GB, free: 33.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4086/0.4101, allocations: 159.9 MB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.003084/0.4132, allocations: 0.5833 MB / 1.069 GB, free: 9.824 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 6.459e-05/0.4133, allocations: 4 kB / 1.069 GB, free: 9.82 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.516e-05/0.4134, allocations: 0 / 1.069 GB, free: 9.82 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.429e-05/0.4135, allocations: 0 / 1.069 GB, free: 9.82 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.358e-05/0.4135, allocations: 3.938 kB / 1.069 GB, free: 9.816 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 3.712e-05/0.4136, allocations: 4 kB / 1.069 GB, free: 9.812 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.376e-05/0.4136, allocations: 4 kB / 1.069 GB, free: 9.809 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.136e-05/0.4137, allocations: 0 / 1.069 GB, free: 9.809 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.959e-05/0.4137, allocations: 0 / 1.069 GB, free: 9.809 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.353e-05/0.4138, allocations: 3.984 kB / 1.069 GB, free: 9.805 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.675e-05/0.4138, allocations: 0 / 1.069 GB, free: 9.805 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 5.27e-06/0.4138, allocations: 4 kB / 1.069 GB, free: 9.801 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.682e-05/0.4138, allocations: 0 / 1.069 GB, free: 9.801 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.208e-05/0.4138, allocations: 7.938 kB / 1.069 GB, free: 9.793 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 7.439e-05/0.4139, allocations: 3.984 kB / 1.069 GB, free: 9.789 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.4139, allocations: 0 / 1.069 GB, free: 9.789 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.884e-06/0.414, allocations: 4 kB / 1.069 GB, free: 9.785 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.414, allocations: 0 / 1.069 GB, free: 9.785 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.0003608/0.4143, allocations: 315.6 kB / 1.069 GB, free: 9.426 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.282e-05/0.4144, allocations: 8.031 kB / 1.069 GB, free: 9.418 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.957e-05/0.4144, allocations: 4.938 kB / 1.069 GB, free: 9.414 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001504/0.4146, allocations: 160.4 kB / 1.069 GB, free: 9.219 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.493e-05/0.4146, allocations: 4.375 kB / 1.069 GB, free: 9.215 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.767e-06/0.4146, allocations: 384 / 1.069 GB, free: 9.215 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001015/0.4147, allocations: 34.27 kB / 1.069 GB, free: 9.176 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.4148, allocations: 4.125 kB / 1.069 GB, free: 9.172 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.397e-05/0.4148, allocations: 3.938 kB / 1.069 GB, free: 9.168 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.4148, allocations: 0 / 1.069 GB, free: 9.168 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.044e-05/0.4148, allocations: 0 / 1.069 GB, free: 9.168 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003754/0.4152, allocations: 379.5 kB / 1.07 GB, free: 8.746 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 9.213e-05/0.4153, allocations: 173.1 kB / 1.07 GB, free: 8.566 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.913e-05/0.4153, allocations: 84.08 kB / 1.07 GB, free: 8.48 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.19e-05/0.4154, allocations: 75.28 kB / 1.07 GB, free: 8.406 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.967e-05/0.4154, allocations: 117.9 kB / 1.07 GB, free: 8.281 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 1.102e-06/0.4154, allocations: 3.938 kB / 1.07 GB, free: 8.277 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 9.843e-05/0.4155, allocations: 29.7 kB / 1.07 GB, free: 8.242 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.838e-05/0.4156, allocations: 130.7 kB / 1.07 GB, free: 8.102 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001098/0.4158, allocations: 93.86 kB / 1.07 GB, free: 8 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.767e-05/0.4158, allocations: 25.7 kB / 1.07 GB, free: 7.969 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.826e-05/0.4158, allocations: 80.14 kB / 1.07 GB, free: 7.887 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.979e-06/0.4159, allocations: 0 / 1.07 GB, free: 7.887 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.89e-05/0.4159, allocations: 13.72 kB / 1.07 GB, free: 7.867 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001852/0.4161, allocations: 318.8 kB / 1.071 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.087e-05/0.4161, allocations: 8 kB / 1.071 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.026e-05/0.4161, allocations: 6.172 kB / 1.071 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.726e-05/0.4162, allocations: 75.28 kB / 1.071 GB, free: 7.461 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.964e-05/0.4162, allocations: 75.28 kB / 1.071 GB, free: 7.387 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0) (initialization): time 8.576e-05/0.4163, allocations: 37.55 kB / 1.071 GB, free: 7.344 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 6.312e-05/0.4164, allocations: 79.28 kB / 1.071 GB, free: 7.266 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.957e-05/0.4165, allocations: 75.28 kB / 1.071 GB, free: 7.191 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000123/0.4166, allocations: 158.5 kB / 1.071 GB, free: 7.035 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.508e-05/0.4166, allocations: 79.28 kB / 1.071 GB, free: 6.957 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.584e-05/0.4167, allocations: 154.5 kB / 1.071 GB, free: 6.805 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001221/0.4169, allocations: 83.27 kB / 1.072 GB, free: 6.723 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.614e-05/0.4169, allocations: 79.27 kB / 1.072 GB, free: 6.645 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.0002034/0.4171, allocations: 268.8 kB / 1.072 GB, free: 6.371 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001022/0.4173, allocations: 105 kB / 1.072 GB, free: 6.262 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001015/0.4174, allocations: 107.9 kB / 1.072 GB, free: 6.148 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001383/0.4175, allocations: 192.2 kB / 1.072 GB, free: 5.953 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001344/0.4177, allocations: 176.3 kB / 1.072 GB, free: 5.773 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001565/0.4178, allocations: 180.2 kB / 1.073 GB, free: 5.59 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004393/0.4183, allocations: 413.2 kB / 1.073 GB, free: 5.129 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.144e-05/0.4184, allocations: 105 kB / 1.073 GB, free: 5.02 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001053/0.4185, allocations: 108.9 kB / 1.073 GB, free: 4.906 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001362/0.4186, allocations: 176.3 kB / 1.073 GB, free: 4.727 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001567/0.4188, allocations: 184.2 kB / 1.074 GB, free: 4.539 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001498/0.4189, allocations: 176.6 kB / 1.074 GB, free: 4.359 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001468/0.4191, allocations: 184.2 kB / 1.074 GB, free: 4.172 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002764/0.4194, allocations: 311.7 kB / 1.074 GB, free: 3.844 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001887/0.4196, allocations: 182 kB / 1.074 GB, free: 3.641 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001328/0.4197, allocations: 184.2 kB / 1.075 GB, free: 3.453 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001223/0.4198, allocations: 101 kB / 1.075 GB, free: 3.348 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001391/0.42, allocations: 188.2 kB / 1.075 GB, free: 3.156 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.71e-05/0.4201, allocations: 101 kB / 1.075 GB, free: 3.051 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.506e-05/0.4201, allocations: 79.28 kB / 1.075 GB, free: 2.973 MB / 0.8262 GB Notification: Performance of sort global known variables: time 4.21e-07/0.4202, allocations: 0 / 1.075 GB, free: 2.973 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003465/0.4205, allocations: 3.938 kB / 1.075 GB, free: 2.969 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.0003573/0.4209, allocations: 182.6 kB / 1.075 GB, free: 2.777 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 9.022e-05/0.421, allocations: 3.938 kB / 1.075 GB, free: 2.773 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.421, allocations: 3.938 kB / 1.075 GB, free: 2.77 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.613e-06/0.421, allocations: 0 / 1.075 GB, free: 2.77 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006181/0.4216, allocations: 461.2 kB / 1.076 GB, free: 2.316 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005326/0.4222, allocations: 160.2 kB / 1.076 GB, free: 2.133 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005384/0.4227, allocations: 0.6729 MB / 1.076 GB, free: 1.434 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.548e-05/0.4227, allocations: 0 / 1.076 GB, free: 1.434 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.772e-05/0.4228, allocations: 7.438 kB / 1.076 GB, free: 1.426 MB / 0.8262 GB Notification: Performance of SimCode: time 6.21e-07/0.4228, allocations: 0 / 1.076 GB, free: 1.426 MB / 0.8262 GB Notification: Performance of Templates: time 0.003382/0.4262, allocations: 168.9 kB / 1.077 GB, free: 1.262 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe 2>&1)