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 2.917/2.917, allocations: 285.6 MB / 293.1 MB, free: 10.26 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.001653/0.001653, allocations: 176.9 kB / 361.4 MB, free: 6.852 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.203/3.203, allocations: 205.2 MB / 0.62 GB, free: 11.65 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001272/0.001272, allocations: 92.28 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.596e-05/3.624e-05, allocations: 8 kB / 0.8519 GB, free: 2.621 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.24/1.24, allocations: 115.3 MB / 0.9645 GB, free: 78.86 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.323/1.563, allocations: 136.3 MB / 1.098 GB, free: 3.395 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000369/1.564, allocations: 69.42 kB / 1.098 GB, free: 3.328 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.0008865/1.565, allocations: 378.9 kB / 1.098 GB, free: 2.961 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.824e-06/1.565, allocations: 0 / 1.098 GB, free: 2.961 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.012e-05/1.565, allocations: 0.8125 kB / 1.098 GB, free: 2.961 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.0003931/1.565, allocations: 303.2 kB / 1.098 GB, free: 2.621 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.958e-05/1.565, allocations: 8.031 kB / 1.098 GB, free: 2.613 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.498e-05/1.565, allocations: 1.875 kB / 1.098 GB, free: 2.613 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002001/1.565, allocations: 167 kB / 1.099 GB, free: 2.41 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.205e-05/1.565, allocations: 4 kB / 1.099 GB, free: 2.41 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.185e-05/1.565, allocations: 6.172 kB / 1.099 GB, free: 2.406 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.958e-05/1.565, allocations: 11.12 kB / 1.099 GB, free: 2.398 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.679e-05/1.566, allocations: 30.12 kB / 1.099 GB, free: 2.367 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.397e-06/1.566, allocations: 0 / 1.099 GB, free: 2.367 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/1.566, allocations: 1.344 kB / 1.099 GB, free: 2.367 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.231e-06/1.566, allocations: 0 / 1.099 GB, free: 2.367 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004493/1.566, allocations: 361.8 kB / 1.099 GB, free: 1.977 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001278/1.566, allocations: 173.7 kB / 1.099 GB, free: 1.797 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.976e-05/1.566, allocations: 84.8 kB / 1.099 GB, free: 1.711 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.198e-05/1.566, allocations: 76.69 kB / 1.099 GB, free: 1.637 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.249e-05/1.566, allocations: 105.8 kB / 1.099 GB, free: 1.523 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 1.643e-06/1.566, allocations: 0.75 kB / 1.099 GB, free: 1.523 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 0.0001096/1.567, allocations: 28.39 kB / 1.099 GB, free: 1.492 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.599e-05/1.567, allocations: 52 kB / 1.099 GB, free: 1.43 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.828e-05/1.567, allocations: 90.25 kB / 1.099 GB, free: 1.336 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.637e-05/1.567, allocations: 25.7 kB / 1.1 GB, free: 1.305 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.927e-05/1.567, allocations: 84.73 kB / 1.1 GB, free: 1.219 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.383e-06/1.567, allocations: 0.5 kB / 1.1 GB, free: 1.219 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.71e-07/1.567, allocations: 0.6562 kB / 1.1 GB, free: 1.219 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001638/1.567, allocations: 315.5 kB / 1.1 GB, free: 0.9023 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.757e-06/1.567, allocations: 4.656 kB / 1.1 GB, free: 0.8984 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.156e-06/1.567, allocations: 0 / 1.1 GB, free: 0.8984 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.089e-05/1.567, allocations: 79.95 kB / 1.1 GB, free: 0.8203 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.866e-05/1.567, allocations: 75.78 kB / 1.1 GB, free: 0.7461 MB / 0.698 GB Notification: Performance of matching and sorting (n=0) (initialization): time 8.711e-05/1.567, allocations: 29.7 kB / 1.1 GB, free: 0.7109 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.115e-05/1.567, allocations: 79.91 kB / 1.1 GB, free: 0.6328 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-05/1.567, allocations: 79.94 kB / 1.1 GB, free: 0.5547 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.983e-05/1.567, allocations: 155.8 kB / 1.1 GB, free: 412 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.67e-05/1.568, allocations: 75.28 kB / 1.1 GB, free: 336 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.386e-05/1.568, allocations: 155.5 kB / 1.101 GB, free: 180 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001024/1.568, allocations: 79.94 kB / 1.101 GB, free: 100 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.943e-05/1.568, allocations: 79.97 kB / 1.101 GB, free: 20 kB / 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 () * 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.0002075/1.568, allocations: 260.2 kB / 1.101 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001225/1.568, allocations: 139 kB / 1.101 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.614e-05/1.568, allocations: 107.7 kB / 1.101 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.432e-05/1.568, allocations: 110 kB / 1.101 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.473e-05/1.568, allocations: 184.2 kB / 1.102 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.513e-05/1.569, allocations: 180.3 kB / 1.102 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.088e-05/1.569, allocations: 179.3 kB / 1.102 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002781/1.569, allocations: 389.7 kB / 1.102 GB, free: 14.42 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.43e-05/1.569, allocations: 101 kB / 1.102 GB, free: 14.31 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.912e-05/1.569, allocations: 105 kB / 1.102 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.217e-05/1.569, allocations: 180.9 kB / 1.103 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.598e-05/1.569, allocations: 183.5 kB / 1.103 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.581e-05/1.569, allocations: 176.3 kB / 1.103 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001028/1.569, allocations: 184.1 kB / 1.103 GB, free: 13.47 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002851/1.57, allocations: 311.8 kB / 1.103 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001559/1.57, allocations: 190 kB / 1.104 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001132/1.57, allocations: 176.3 kB / 1.104 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001212/1.57, allocations: 101 kB / 1.104 GB, free: 12.65 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.531e-05/1.57, allocations: 180.2 kB / 1.104 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.183e-05/1.57, allocations: 109.5 kB / 1.104 GB, free: 12.35 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.172e-05/1.57, allocations: 83.28 kB / 1.104 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.01e-07/1.571, allocations: 0 / 1.104 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004725/1.571, allocations: 0 / 1.104 GB, free: 12.27 MB / 0.7136 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 () * 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.0005845/1.572, allocations: 0.8085 MB / 1.105 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.025e-05/1.572, allocations: 4.094 kB / 1.105 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/1.572, allocations: 0 / 1.105 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.612e-06/1.572, allocations: 4 kB / 1.105 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004553/1.572, allocations: 0.5185 MB / 1.106 GB, free: 10.9 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005633/1.573, allocations: 149 kB / 1.106 GB, free: 10.72 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003359/1.573, allocations: 0.6768 MB / 1.106 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.256e-06/1.573, allocations: 0 / 1.106 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.962e-05/1.573, allocations: 7.438 kB / 1.106 GB, free: 10.01 MB / 0.7136 GB Notification: Performance of SimCode: time 3.9e-07/1.573, allocations: 0 / 1.106 GB, free: 10.01 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08054/1.654, allocations: 421 kB / 1.107 GB, free: 9.629 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003347/1.654, allocations: 158.6 kB / 1.107 GB, free: 9.441 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.56/4.214, allocations: 0.7031 kB / 1.107 GB, free: 9.441 MB / 0.7136 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)