Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.828/2.828, allocations: 287.5 MB / 303.2 MB, free: 8.266 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001328/0.001328, allocations: 178.7 kB / 371.8 MB, free: 10.83 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.139/2.139, allocations: 205.4 MB / 0.6305 GB, free: 10.57 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009115/0.0009117, allocations: 92.22 kB / 0.7438 GB, free: 6.562 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006562/0.0006565, allocations: 13.14 kB / 0.8667 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2552/0.2559, allocations: 115.3 MB / 0.9793 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9478/1.204, allocations: 136.9 MB / 1.113 GB, free: 15.75 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002587/1.204, allocations: 71.7 kB / 1.113 GB, free: 15.75 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.00103/1.205, allocations: 372.7 kB / 1.113 GB, free: 31.44 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.275e-06/1.205, allocations: 1.062 kB / 1.113 GB, free: 31.44 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.993e-06/1.205, allocations: 0 / 1.113 GB, free: 31.44 MB / 0.698 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.0002628/1.205, allocations: 314.8 kB / 1.114 GB, free: 31.09 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/1.206, allocations: 7.656 kB / 1.114 GB, free: 31.09 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.788e-05/1.206, allocations: 1.781 kB / 1.114 GB, free: 31.09 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001324/1.206, allocations: 162.1 kB / 1.114 GB, free: 30.89 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/1.206, allocations: 4.375 kB / 1.114 GB, free: 30.89 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.238e-05/1.206, allocations: 4.25 kB / 1.114 GB, free: 30.89 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.39e-05/1.206, allocations: 26.27 kB / 1.114 GB, free: 30.86 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/1.206, allocations: 192 / 1.114 GB, free: 30.86 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/1.206, allocations: 3.938 kB / 1.114 GB, free: 30.86 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/1.206, allocations: 0 / 1.114 GB, free: 30.86 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.056e-05/1.206, allocations: 9.297 kB / 1.114 GB, free: 30.85 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003338/1.206, allocations: 382.1 kB / 1.114 GB, free: 30.44 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.691e-05/1.206, allocations: 180.3 kB / 1.115 GB, free: 30.26 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.288e-05/1.206, allocations: 80.14 kB / 1.115 GB, free: 30.18 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.397e-05/1.206, allocations: 75.28 kB / 1.115 GB, free: 30.1 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.027e-05/1.207, allocations: 109.8 kB / 1.115 GB, free: 29.98 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 1.342e-06/1.207, allocations: 0 / 1.115 GB, free: 29.98 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 7.854e-05/1.207, allocations: 35.42 kB / 1.115 GB, free: 29.95 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.224e-05/1.207, allocations: 126.7 kB / 1.115 GB, free: 29.81 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.399e-05/1.207, allocations: 95.22 kB / 1.115 GB, free: 29.71 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.184e-05/1.207, allocations: 29.48 kB / 1.115 GB, free: 29.68 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.591e-05/1.207, allocations: 83.97 kB / 1.115 GB, free: 29.6 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.833e-06/1.207, allocations: 0 / 1.115 GB, free: 29.6 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.71e-07/1.207, allocations: 0 / 1.115 GB, free: 29.6 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001127/1.207, allocations: 316 kB / 1.115 GB, free: 29.29 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.228e-06/1.207, allocations: 0 / 1.115 GB, free: 29.29 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.048e-06/1.207, allocations: 0 / 1.115 GB, free: 29.29 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.118e-05/1.207, allocations: 79.22 kB / 1.115 GB, free: 29.21 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.88e-05/1.207, allocations: 75.28 kB / 1.116 GB, free: 29.13 MB / 0.698 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.249e-05/1.207, allocations: 35.45 kB / 1.116 GB, free: 29.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.971e-05/1.207, allocations: 89.33 kB / 1.116 GB, free: 29.02 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.215e-05/1.207, allocations: 79.09 kB / 1.116 GB, free: 28.95 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.559e-05/1.207, allocations: 159.9 kB / 1.116 GB, free: 28.79 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.074e-05/1.207, allocations: 75.28 kB / 1.116 GB, free: 28.71 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.678e-05/1.207, allocations: 155.9 kB / 1.116 GB, free: 28.56 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.767e-05/1.208, allocations: 79.12 kB / 1.116 GB, free: 28.49 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.807e-05/1.208, allocations: 75.28 kB / 1.116 GB, free: 28.41 MB / 0.698 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.0001229/1.208, allocations: 269.5 kB / 1.117 GB, free: 28.14 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.588e-05/1.208, allocations: 108.8 kB / 1.117 GB, free: 28.04 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.287e-05/1.208, allocations: 105.2 kB / 1.117 GB, free: 27.93 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.832e-05/1.208, allocations: 181.7 kB / 1.117 GB, free: 27.75 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.805e-05/1.208, allocations: 181.4 kB / 1.117 GB, free: 27.56 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.525e-05/1.208, allocations: 180.1 kB / 1.117 GB, free: 27.38 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002433/1.208, allocations: 411.9 kB / 1.118 GB, free: 26.93 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.856e-05/1.208, allocations: 101 kB / 1.118 GB, free: 26.82 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.046e-05/1.208, allocations: 113.2 kB / 1.118 GB, free: 26.71 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.371e-05/1.209, allocations: 177.8 kB / 1.118 GB, free: 26.54 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.677e-05/1.209, allocations: 181 kB / 1.118 GB, free: 26.36 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.353e-05/1.209, allocations: 180.2 kB / 1.118 GB, free: 26.17 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.344e-05/1.209, allocations: 185.6 kB / 1.119 GB, free: 25.99 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000147/1.209, allocations: 312.3 kB / 1.119 GB, free: 25.67 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.191e-05/1.209, allocations: 181.5 kB / 1.119 GB, free: 25.47 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.005e-05/1.209, allocations: 182.2 kB / 1.119 GB, free: 25.29 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.415e-05/1.209, allocations: 108.2 kB / 1.119 GB, free: 25.18 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.575e-05/1.209, allocations: 184 kB / 1.119 GB, free: 24.99 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.245e-05/1.209, allocations: 102.7 kB / 1.12 GB, free: 24.89 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.699e-05/1.209, allocations: 79.12 kB / 1.12 GB, free: 24.81 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.7e-07/1.209, allocations: 0 / 1.12 GB, free: 24.81 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003298/1.21, allocations: 0 / 1.12 GB, free: 24.81 MB / 0.698 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.0001739/1.21, allocations: 175.2 kB / 1.12 GB, free: 24.65 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 5.614e-05/1.21, allocations: 11.61 kB / 1.12 GB, free: 24.64 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/1.21, allocations: 0 / 1.12 GB, free: 24.64 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 3.757e-06/1.21, allocations: 3.781 kB / 1.12 GB, free: 24.64 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004582/1.211, allocations: 0.5185 MB / 1.12 GB, free: 24.12 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002316/1.211, allocations: 159.2 kB / 1.12 GB, free: 23.94 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002516/1.211, allocations: 0.6706 MB / 1.121 GB, free: 23.25 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 9.749e-06/1.211, allocations: 3.75 kB / 1.121 GB, free: 23.25 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.907e-05/1.211, allocations: 7.438 kB / 1.121 GB, free: 23.24 MB / 0.698 GB Notification: Performance of SimCode: time 7.31e-07/1.211, allocations: 0 / 1.121 GB, free: 23.24 MB / 0.698 GB Notification: Performance of Templates: time 0.002161/1.213, allocations: 156.5 kB / 1.121 GB, free: 23.2 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1)