Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.246/2.246, allocations: 251.1 MB / 266.7 MB, free: 11.55 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00132/0.001321, allocations: 182.1 kB / 326.2 MB, free: 2.863 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.4/2.4, allocations: 205.4 MB / 0.5772 GB, free: 20.79 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009272/0.0009268, allocations: 85.3 kB / 0.6817 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004807/0.0004809, allocations: 18.03 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2279/0.2284, allocations: 106.3 MB / 0.8995 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2262/0.4547, allocations: 130.7 MB / 1.027 GB, free: 14.69 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003348/0.4551, allocations: 75.95 kB / 1.027 GB, free: 14.61 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0005736/0.4557, allocations: 368.8 kB / 1.028 GB, free: 14.25 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.144e-06/0.4557, allocations: 0 / 1.028 GB, free: 14.25 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.111e-05/0.4557, allocations: 0 / 1.028 GB, free: 14.25 MB / 0.6823 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.0002739/0.456, allocations: 311.7 kB / 1.028 GB, free: 13.89 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.4561, allocations: 8.031 kB / 1.028 GB, free: 13.89 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.248e-05/0.4561, allocations: 0.9375 kB / 1.028 GB, free: 13.89 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000132/0.4563, allocations: 176.2 kB / 1.028 GB, free: 13.68 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.67e-05/0.4563, allocations: 4.375 kB / 1.028 GB, free: 13.67 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.08e-05/0.4563, allocations: 384 / 1.028 GB, free: 13.67 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.722e-05/0.4564, allocations: 38.12 kB / 1.028 GB, free: 13.63 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.058e-06/0.4564, allocations: 192 / 1.028 GB, free: 13.63 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.4565, allocations: 3.938 kB / 1.028 GB, free: 13.62 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.4565, allocations: 0 / 1.028 GB, free: 13.62 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.303e-05/0.4565, allocations: 4 kB / 1.028 GB, free: 13.62 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003479/0.4569, allocations: 384.8 kB / 1.028 GB, free: 13.2 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 9.952e-05/0.457, allocations: 181 kB / 1.029 GB, free: 13.01 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.802e-05/0.457, allocations: 80.14 kB / 1.029 GB, free: 12.93 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.194e-05/0.4571, allocations: 75.28 kB / 1.029 GB, free: 12.85 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.252e-05/0.4571, allocations: 109.8 kB / 1.029 GB, free: 12.73 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=0): time 1.333e-06/0.4571, allocations: 0 / 1.029 GB, free: 12.73 MB / 0.6823 GB Notification: Performance of matching and sorting (n=0): time 8.097e-05/0.4572, allocations: 29.7 kB / 1.029 GB, free: 12.7 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.42e-05/0.4573, allocations: 126.7 kB / 1.029 GB, free: 12.56 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.274e-05/0.4574, allocations: 97.84 kB / 1.029 GB, free: 12.46 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.72e-05/0.4574, allocations: 33.64 kB / 1.029 GB, free: 12.42 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.559e-05/0.4575, allocations: 80.14 kB / 1.029 GB, free: 12.34 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.464e-06/0.4575, allocations: 128 / 1.029 GB, free: 12.34 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.11e-07/0.4575, allocations: 4 kB / 1.029 GB, free: 12.33 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.4576, allocations: 310.8 kB / 1.03 GB, free: 12.02 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.937e-06/0.4576, allocations: 0 / 1.03 GB, free: 12.02 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.459e-06/0.4577, allocations: 0 / 1.03 GB, free: 12.02 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.309e-05/0.4577, allocations: 75.28 kB / 1.03 GB, free: 11.95 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.669e-05/0.4577, allocations: 75.28 kB / 1.03 GB, free: 11.87 MB / 0.6823 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.705e-05/0.4578, allocations: 35.11 kB / 1.03 GB, free: 11.83 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.312e-05/0.4579, allocations: 79.28 kB / 1.03 GB, free: 11.75 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.601e-05/0.4579, allocations: 87.22 kB / 1.03 GB, free: 11.67 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.335e-05/0.458, allocations: 158.5 kB / 1.03 GB, free: 11.51 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.947e-05/0.458, allocations: 75.28 kB / 1.03 GB, free: 11.44 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.782e-05/0.4581, allocations: 154.5 kB / 1.03 GB, free: 11.29 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.227e-05/0.4582, allocations: 75.28 kB / 1.03 GB, free: 11.21 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.204e-05/0.4582, allocations: 87.22 kB / 1.03 GB, free: 11.12 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001346/0.4584, allocations: 264.3 kB / 1.031 GB, free: 10.86 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.046e-05/0.4585, allocations: 105 kB / 1.031 GB, free: 10.75 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.253e-05/0.4585, allocations: 116 kB / 1.031 GB, free: 10.62 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.952e-05/0.4586, allocations: 176.3 kB / 1.031 GB, free: 10.45 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.313e-05/0.4587, allocations: 176.3 kB / 1.031 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.966e-05/0.4588, allocations: 188.1 kB / 1.031 GB, free: 10.07 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002837/0.4591, allocations: 409.2 kB / 1.032 GB, free: 9.617 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.326e-05/0.4591, allocations: 104.9 kB / 1.032 GB, free: 9.508 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.147e-05/0.4592, allocations: 104.9 kB / 1.032 GB, free: 9.398 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.202e-05/0.4593, allocations: 180.3 kB / 1.032 GB, free: 9.215 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.036e-05/0.4594, allocations: 188.2 kB / 1.032 GB, free: 9.023 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.469e-05/0.4594, allocations: 176.3 kB / 1.032 GB, free: 8.844 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.421e-05/0.4595, allocations: 184.2 kB / 1.033 GB, free: 8.656 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001646/0.4597, allocations: 299.8 kB / 1.033 GB, free: 8.34 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 9.765e-05/0.4598, allocations: 194 kB / 1.033 GB, free: 8.125 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.038e-05/0.4599, allocations: 184.7 kB / 1.033 GB, free: 7.938 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.287e-05/0.46, allocations: 104.9 kB / 1.033 GB, free: 7.828 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.808e-05/0.4601, allocations: 176.3 kB / 1.034 GB, free: 7.648 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.428e-05/0.4601, allocations: 105 kB / 1.034 GB, free: 7.539 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.723e-05/0.4602, allocations: 79.27 kB / 1.034 GB, free: 7.461 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.204e-06/0.4602, allocations: 0 / 1.034 GB, free: 7.461 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002951/0.4605, allocations: 8.031 kB / 1.034 GB, free: 7.453 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001693/0.4607, allocations: 170.5 kB / 1.034 GB, free: 7.273 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 5.172e-05/0.4608, allocations: 12.06 kB / 1.034 GB, free: 7.262 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.4608, allocations: 0 / 1.034 GB, free: 7.262 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 2.204e-06/0.4608, allocations: 0 / 1.034 GB, free: 7.262 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004395/0.4612, allocations: 0.5246 MB / 1.034 GB, free: 6.734 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002321/0.4615, allocations: 150 kB / 1.035 GB, free: 6.559 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002634/0.4618, allocations: 0.677 MB / 1.035 GB, free: 5.855 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 1.183e-05/0.4618, allocations: 0 / 1.035 GB, free: 5.855 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.984e-05/0.4618, allocations: 11.38 kB / 1.035 GB, free: 5.844 MB / 0.6823 GB Notification: Performance of SimCode: time 9.42e-07/0.4618, allocations: 3.938 kB / 1.035 GB, free: 5.84 MB / 0.6823 GB Notification: Performance of Templates: time 0.00228/0.4641, allocations: 156.3 kB / 1.035 GB, free: 5.688 MB / 0.6823 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1)