Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_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_1.6_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.001692/0.001692, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001781/0.001781, allocations: 199.8 kB / 16.14 MB, free: 6.793 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.544/1.544, allocations: 222.9 MB / 239.8 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.219/3.219, allocations: 472.6 MB / 0.7447 GB, free: 4.93 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 64.72 kB / 0.9114 GB, free: 33.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4938/0.4951, allocations: 159.9 MB / 1.068 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.0023/0.4975, allocations: 0.591 MB / 1.068 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 5.052e-05/0.4976, allocations: 4 kB / 1.068 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.873e-05/0.4976, allocations: 7.938 kB / 1.068 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.249e-05/0.4977, allocations: 7.938 kB / 1.068 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.106e-05/0.4977, allocations: 0 / 1.068 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 3.947e-05/0.4978, allocations: 0 / 1.068 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.445e-05/0.4978, allocations: 3.938 kB / 1.068 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 6.605e-05/0.4979, allocations: 0 / 1.068 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.782e-05/0.4979, allocations: 4 kB / 1.068 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 2.188e-05/0.498, allocations: 0 / 1.068 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.364e-05/0.498, allocations: 0 / 1.068 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 4.839e-06/0.498, allocations: 0 / 1.068 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.83e-05/0.498, allocations: 3.984 kB / 1.068 GB, free: 10.26 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.598e-05/0.498, allocations: 0 / 1.068 GB, free: 10.26 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 7.343e-05/0.4981, allocations: 11.92 kB / 1.068 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 1.007e-05/0.4981, allocations: 4 kB / 1.068 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.153e-06/0.4981, allocations: 4 kB / 1.068 GB, free: 10.24 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.4982, allocations: 0 / 1.068 GB, free: 10.24 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.0003937/0.4986, allocations: 309.1 kB / 1.068 GB, free: 9.891 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.196e-05/0.4986, allocations: 12.09 kB / 1.068 GB, free: 9.879 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.431e-05/0.4987, allocations: 0.9375 kB / 1.068 GB, free: 9.879 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001477/0.4988, allocations: 164.4 kB / 1.069 GB, free: 9.68 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.277e-06/0.4988, allocations: 384 / 1.069 GB, free: 9.68 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.647e-05/0.4988, allocations: 8.359 kB / 1.069 GB, free: 9.672 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001153/0.499, allocations: 34.2 kB / 1.069 GB, free: 9.633 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.499, allocations: 192 / 1.069 GB, free: 9.633 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.499, allocations: 3.938 kB / 1.069 GB, free: 9.629 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.499, allocations: 0 / 1.069 GB, free: 9.629 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.907e-05/0.499, allocations: 4 kB / 1.069 GB, free: 9.625 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004147/0.4994, allocations: 375.5 kB / 1.069 GB, free: 9.207 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000108/0.4996, allocations: 185 kB / 1.069 GB, free: 9.016 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.514e-05/0.4996, allocations: 80.14 kB / 1.069 GB, free: 8.934 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.393e-05/0.4997, allocations: 75.28 kB / 1.069 GB, free: 8.859 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.332e-05/0.4997, allocations: 105.8 kB / 1.069 GB, free: 8.746 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 9.71e-07/0.4997, allocations: 0 / 1.069 GB, free: 8.746 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 8.242e-05/0.4998, allocations: 31.91 kB / 1.069 GB, free: 8.711 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.189e-05/0.4999, allocations: 134.7 kB / 1.07 GB, free: 8.566 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/0.5, allocations: 97.86 kB / 1.07 GB, free: 8.461 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.29e-05/0.5, allocations: 25.7 kB / 1.07 GB, free: 8.43 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.911e-05/0.5001, allocations: 80.14 kB / 1.07 GB, free: 8.348 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.176e-06/0.5001, allocations: 4 kB / 1.07 GB, free: 8.344 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.345e-05/0.5001, allocations: 9.719 kB / 1.07 GB, free: 8.328 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001447/0.5003, allocations: 318.9 kB / 1.07 GB, free: 8.008 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.919e-06/0.5003, allocations: 0 / 1.07 GB, free: 8.008 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.58e-06/0.5003, allocations: 4 kB / 1.07 GB, free: 8.004 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.461e-05/0.5003, allocations: 75.28 kB / 1.07 GB, free: 7.93 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-05/0.5003, allocations: 79.22 kB / 1.07 GB, free: 7.852 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.553e-05/0.5004, allocations: 45.53 kB / 1.07 GB, free: 7.801 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.645e-05/0.5005, allocations: 83.22 kB / 1.07 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.453e-05/0.5005, allocations: 83.22 kB / 1.07 GB, free: 7.637 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.971e-05/0.5006, allocations: 154.6 kB / 1.071 GB, free: 7.484 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.92e-05/0.5006, allocations: 75.28 kB / 1.071 GB, free: 7.41 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.627e-05/0.5007, allocations: 154.5 kB / 1.071 GB, free: 7.258 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.077e-05/0.5008, allocations: 79.28 kB / 1.071 GB, free: 7.18 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.842e-05/0.5008, allocations: 79.22 kB / 1.071 GB, free: 7.102 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.0001623/0.501, allocations: 272.3 kB / 1.071 GB, free: 6.824 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.404e-05/0.5011, allocations: 101 kB / 1.071 GB, free: 6.719 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.534e-05/0.5012, allocations: 111.9 kB / 1.071 GB, free: 6.602 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.904e-05/0.5013, allocations: 180.2 kB / 1.072 GB, free: 6.418 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000107/0.5014, allocations: 176.3 kB / 1.072 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.191e-05/0.5015, allocations: 184.2 kB / 1.072 GB, free: 6.051 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003154/0.5018, allocations: 409.2 kB / 1.072 GB, free: 5.594 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.426e-05/0.5019, allocations: 101 kB / 1.072 GB, free: 5.488 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.281e-05/0.5019, allocations: 112.9 kB / 1.073 GB, free: 5.371 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.071e-05/0.502, allocations: 180.6 kB / 1.073 GB, free: 5.188 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.91e-05/0.5021, allocations: 184.2 kB / 1.073 GB, free: 5 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.789e-05/0.5022, allocations: 180.3 kB / 1.073 GB, free: 4.816 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.475e-05/0.5023, allocations: 184.2 kB / 1.073 GB, free: 4.629 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002013/0.5025, allocations: 307.8 kB / 1.074 GB, free: 4.305 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001078/0.5027, allocations: 186 kB / 1.074 GB, free: 4.098 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.624e-05/0.5028, allocations: 176.3 kB / 1.074 GB, free: 3.918 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/0.5029, allocations: 109 kB / 1.074 GB, free: 3.805 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.833e-05/0.503, allocations: 180.2 kB / 1.074 GB, free: 3.621 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.3e-05/0.503, allocations: 105 kB / 1.074 GB, free: 3.512 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.509e-05/0.5031, allocations: 79.28 kB / 1.074 GB, free: 3.434 MB / 0.8262 GB Notification: Performance of sort global known variables: time 4.31e-07/0.5031, allocations: 0 / 1.074 GB, free: 3.434 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002919/0.5034, allocations: 0 / 1.074 GB, free: 3.434 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.0002237/0.5036, allocations: 178.6 kB / 1.075 GB, free: 3.246 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 5.064e-05/0.5037, allocations: 3.938 kB / 1.075 GB, free: 3.242 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.5037, allocations: 0 / 1.075 GB, free: 3.242 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.072e-06/0.5037, allocations: 0 / 1.075 GB, free: 3.242 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004926/0.5042, allocations: 0.5263 MB / 1.075 GB, free: 2.711 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003089/0.5045, allocations: 158 kB / 1.075 GB, free: 2.527 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003717/0.5049, allocations: 0.6692 MB / 1.076 GB, free: 1.832 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.555e-05/0.5049, allocations: 0 / 1.076 GB, free: 1.832 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.272e-05/0.5049, allocations: 7.438 kB / 1.076 GB, free: 1.824 MB / 0.8262 GB Notification: Performance of SimCode: time 6.91e-07/0.5049, allocations: 0 / 1.076 GB, free: 1.824 MB / 0.8262 GB Notification: Performance of Templates: time 0.002752/0.5077, allocations: 168.9 kB / 1.076 GB, free: 1.66 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1)