Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.681/1.681, allocations: 288.2 MB / 303.2 MB, free: 8.105 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.001127/0.001128, allocations: 189 kB / 371.8 MB, free: 10.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.91/1.91, allocations: 205.4 MB / 0.6305 GB, free: 9.926 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.001149/0.001149, allocations: 81.16 kB / 0.7439 GB, free: 5.867 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004027/0.0004027, allocations: 13.16 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2186/0.219, allocations: 115.3 MB / 0.9795 GB, free: 27.58 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7452/0.9642, allocations: 137.1 MB / 1.113 GB, free: 16.43 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001993/0.9645, allocations: 69.16 kB / 1.113 GB, free: 16.43 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0009649/0.9655, allocations: 367 kB / 1.114 GB, free: 32.12 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.104e-06/0.9655, allocations: 3.875 kB / 1.114 GB, free: 32.12 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.404e-06/0.9655, allocations: 0 / 1.114 GB, free: 32.12 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.0002614/0.9658, allocations: 316.3 kB / 1.114 GB, free: 31.78 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.9658, allocations: 15.61 kB / 1.114 GB, free: 31.77 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.277e-05/0.9658, allocations: 33.75 kB / 1.114 GB, free: 31.73 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.17e-05/0.9659, allocations: 1.5 kB / 1.114 GB, free: 31.73 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001048/0.966, allocations: 163 kB / 1.114 GB, free: 31.54 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.011e-05/0.966, allocations: 0 / 1.114 GB, free: 31.54 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.057e-06/0.966, allocations: 0 / 1.114 GB, free: 31.54 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.26e-05/0.9661, allocations: 40.27 kB / 1.114 GB, free: 31.5 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.9661, allocations: 0 / 1.114 GB, free: 31.5 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.744e-06/0.9661, allocations: 0 / 1.114 GB, free: 31.5 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.9661, allocations: 0 / 1.114 GB, free: 31.5 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.453e-05/0.9662, allocations: 3.875 kB / 1.114 GB, free: 31.5 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002864/0.9665, allocations: 378 kB / 1.115 GB, free: 31.08 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.565e-05/0.9665, allocations: 184.2 kB / 1.115 GB, free: 30.9 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.643e-05/0.9666, allocations: 75.28 kB / 1.115 GB, free: 30.82 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.165e-05/0.9666, allocations: 105.8 kB / 1.115 GB, free: 30.71 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 8.11e-07/0.9666, allocations: 0 / 1.115 GB, free: 30.71 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 7.038e-05/0.9667, allocations: 28.42 kB / 1.115 GB, free: 30.68 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.675e-05/0.9668, allocations: 129.4 kB / 1.115 GB, free: 30.54 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.455e-05/0.9669, allocations: 96.34 kB / 1.115 GB, free: 30.45 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.093e-05/0.9669, allocations: 25.7 kB / 1.115 GB, free: 30.42 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.085e-05/0.9669, allocations: 80.14 kB / 1.115 GB, free: 30.34 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.094e-06/0.9669, allocations: 3.844 kB / 1.115 GB, free: 30.34 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.032e-06/0.9669, allocations: 0 / 1.115 GB, free: 30.34 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.9671, allocations: 321.7 kB / 1.116 GB, free: 30.02 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.589e-06/0.9671, allocations: 0 / 1.116 GB, free: 30.02 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.224e-06/0.9671, allocations: 2.406 kB / 1.116 GB, free: 30.02 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.059e-05/0.9671, allocations: 75.28 kB / 1.116 GB, free: 29.94 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.329e-05/0.9671, allocations: 79.41 kB / 1.116 GB, free: 29.86 MB / 0.698 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.188e-05/0.9672, allocations: 30.33 kB / 1.116 GB, free: 29.83 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.525e-05/0.9672, allocations: 83.12 kB / 1.116 GB, free: 29.75 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.16e-05/0.9673, allocations: 82.66 kB / 1.116 GB, free: 29.68 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.108e-05/0.9673, allocations: 157.6 kB / 1.116 GB, free: 29.53 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.474e-05/0.9674, allocations: 76.53 kB / 1.116 GB, free: 29.45 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.193e-05/0.9674, allocations: 154.5 kB / 1.116 GB, free: 29.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.89e-05/0.9675, allocations: 79.28 kB / 1.117 GB, free: 29.22 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.788e-05/0.9675, allocations: 83.06 kB / 1.117 GB, free: 29.14 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 9.447e-05/0.9676, allocations: 263.2 kB / 1.117 GB, free: 28.88 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.815e-05/0.9677, allocations: 104.1 kB / 1.117 GB, free: 28.77 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.891e-05/0.9677, allocations: 108 kB / 1.117 GB, free: 28.67 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.294e-05/0.9678, allocations: 184.5 kB / 1.117 GB, free: 28.48 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.441e-05/0.9678, allocations: 179.9 kB / 1.117 GB, free: 28.3 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.683e-05/0.9679, allocations: 187.3 kB / 1.118 GB, free: 28.11 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001854/0.9681, allocations: 403.9 kB / 1.118 GB, free: 27.67 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.449e-05/0.9681, allocations: 103.8 kB / 1.118 GB, free: 27.56 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.373e-05/0.9682, allocations: 107.5 kB / 1.118 GB, free: 27.45 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.112e-05/0.9682, allocations: 184.1 kB / 1.118 GB, free: 27.27 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.732e-05/0.9683, allocations: 180.2 kB / 1.118 GB, free: 27.09 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.715e-05/0.9683, allocations: 181.2 kB / 1.119 GB, free: 26.91 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-05/0.9684, allocations: 183.7 kB / 1.119 GB, free: 26.72 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001098/0.9685, allocations: 310.3 kB / 1.119 GB, free: 26.4 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.392e-05/0.9686, allocations: 189 kB / 1.119 GB, free: 26.2 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.337e-05/0.9687, allocations: 183.1 kB / 1.119 GB, free: 26.02 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.348e-05/0.9688, allocations: 101 kB / 1.12 GB, free: 25.91 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.444e-05/0.9688, allocations: 180.2 kB / 1.12 GB, free: 25.73 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.366e-05/0.9689, allocations: 108.9 kB / 1.12 GB, free: 25.62 MB / 0.698 GB Notification: Performance of sorting global known variables: time 2.967e-05/0.9689, allocations: 78.53 kB / 1.12 GB, free: 25.54 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9689, allocations: 0 / 1.12 GB, free: 25.54 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002503/0.9692, allocations: 0 / 1.12 GB, free: 25.54 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.0003946/0.9696, allocations: 0.82 MB / 1.121 GB, free: 24.73 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 3.446e-05/0.9696, allocations: 0 / 1.121 GB, free: 24.73 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.9696, allocations: 0 / 1.121 GB, free: 24.73 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.142e-06/0.9696, allocations: 0 / 1.121 GB, free: 24.73 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002863/0.9699, allocations: 0.5252 MB / 1.121 GB, free: 24.2 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005426/0.9705, allocations: 0.4976 MB / 1.122 GB, free: 23.68 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002517/0.9707, allocations: 0.6743 MB / 1.122 GB, free: 22.99 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 9.448e-06/0.9707, allocations: 0 / 1.122 GB, free: 22.99 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.028e-05/0.9708, allocations: 7.438 kB / 1.122 GB, free: 22.98 MB / 0.698 GB Notification: Performance of SimCode: time 2.81e-07/0.9708, allocations: 0 / 1.122 GB, free: 22.98 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01048/0.9813, allocations: 0.7354 MB / 1.123 GB, free: 22.86 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001425/0.9814, allocations: 207.1 kB / 1.123 GB, free: 22.62 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.485/2.466, allocations: 0 / 1.123 GB, free: 22.62 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1)