Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,fileNamePrefix="Buildings_8_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_8_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.1.4-maint.8.1.x/package.mo): time 1.924/1.924, allocations: 292.6 MB / 307.5 MB, free: 5.242 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.001542/0.001542, allocations: 185 kB / 377.1 MB, free: 1.547 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.855/1.855, allocations: 205.4 MB / 0.6366 GB, free: 9.57 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.0008919/0.0008919, allocations: 88.45 kB / 0.7509 GB, free: 62.71 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003558/0.0003563, allocations: 12 kB / 0.8749 GB, free: 11.23 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3211/0.3215, allocations: 116.3 MB / 0.9885 GB, free: 6.777 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7692/1.091, allocations: 138.1 MB / 1.123 GB, free: 36.37 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002406/1.091, allocations: 62.92 kB / 1.123 GB, free: 36.32 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.0005402/1.092, allocations: 379 kB / 1.124 GB, free: 35.96 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.404e-06/1.092, allocations: 0 / 1.124 GB, free: 35.96 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.274e-06/1.092, allocations: 0.875 kB / 1.124 GB, free: 35.96 MB / 0.7292 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.0002404/1.092, allocations: 316.3 kB / 1.124 GB, free: 35.61 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/1.092, allocations: 12.02 kB / 1.124 GB, free: 35.6 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.84e-05/1.092, allocations: 30.56 kB / 1.124 GB, free: 35.56 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.617e-05/1.092, allocations: 2.062 kB / 1.124 GB, free: 35.56 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.782e-05/1.092, allocations: 162.5 kB / 1.124 GB, free: 35.37 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/1.092, allocations: 1.375 kB / 1.124 GB, free: 35.37 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.122e-05/1.092, allocations: 6.609 kB / 1.124 GB, free: 35.36 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.351e-05/1.092, allocations: 26.2 kB / 1.124 GB, free: 35.33 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/1.092, allocations: 1.875 kB / 1.124 GB, free: 35.33 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.207e-06/1.092, allocations: 5.344 kB / 1.124 GB, free: 35.33 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/1.092, allocations: 1.719 kB / 1.124 GB, free: 35.33 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.827e-05/1.092, allocations: 4 kB / 1.124 GB, free: 35.32 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002541/1.093, allocations: 381.2 kB / 1.125 GB, free: 34.91 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 5.138e-05/1.093, allocations: 172.2 kB / 1.125 GB, free: 34.73 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.064e-05/1.093, allocations: 80.7 kB / 1.125 GB, free: 34.65 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.644e-05/1.093, allocations: 110.4 kB / 1.125 GB, free: 34.54 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=0): time 1.353e-06/1.093, allocations: 0 / 1.125 GB, free: 34.54 MB / 0.7292 GB Notification: Performance of matching and sorting (n=0): time 8.021e-05/1.093, allocations: 32.28 kB / 1.125 GB, free: 34.5 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.393e-05/1.093, allocations: 133.9 kB / 1.125 GB, free: 34.36 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.386e-05/1.093, allocations: 85 kB / 1.125 GB, free: 34.27 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.821e-06/1.093, allocations: 25.7 kB / 1.125 GB, free: 34.24 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 1.684e-05/1.093, allocations: 84.14 kB / 1.125 GB, free: 34.16 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.874e-06/1.093, allocations: 4 kB / 1.125 GB, free: 34.15 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.21e-07/1.093, allocations: 1 kB / 1.125 GB, free: 34.15 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 4.953e-05/1.093, allocations: 315.5 kB / 1.126 GB, free: 33.84 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.387e-06/1.093, allocations: 3.188 kB / 1.126 GB, free: 33.84 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.451e-06/1.093, allocations: 3.469 kB / 1.126 GB, free: 33.84 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.212e-05/1.093, allocations: 83.05 kB / 1.126 GB, free: 33.76 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.003e-05/1.093, allocations: 75.28 kB / 1.126 GB, free: 33.68 MB / 0.7292 GB Notification: Performance of matching and sorting (n=0) (initialization): time 7.302e-05/1.093, allocations: 33.45 kB / 1.126 GB, free: 33.65 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.227e-05/1.093, allocations: 79.28 kB / 1.126 GB, free: 33.57 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.489e-05/1.093, allocations: 79.97 kB / 1.126 GB, free: 33.49 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.246e-05/1.093, allocations: 158.5 kB / 1.126 GB, free: 33.34 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.215e-05/1.093, allocations: 75.28 kB / 1.126 GB, free: 33.26 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.543e-05/1.093, allocations: 162.6 kB / 1.126 GB, free: 33.11 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.105e-05/1.094, allocations: 75.28 kB / 1.126 GB, free: 33.03 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.325e-05/1.094, allocations: 76.14 kB / 1.126 GB, free: 32.96 MB / 0.7292 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 6.829e-05/1.094, allocations: 269.1 kB / 1.127 GB, free: 32.68 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.335e-05/1.094, allocations: 106.2 kB / 1.127 GB, free: 32.57 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.05e-05/1.094, allocations: 107.6 kB / 1.127 GB, free: 32.47 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.93e-05/1.094, allocations: 188.5 kB / 1.127 GB, free: 32.28 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.402e-05/1.094, allocations: 176.9 kB / 1.127 GB, free: 32.1 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-05/1.094, allocations: 184.3 kB / 1.127 GB, free: 31.91 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001817/1.094, allocations: 408.6 kB / 1.128 GB, free: 31.46 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-05/1.094, allocations: 105 kB / 1.128 GB, free: 31.35 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.646e-05/1.094, allocations: 106.3 kB / 1.128 GB, free: 31.24 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-05/1.094, allocations: 179.6 kB / 1.128 GB, free: 31.06 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.218e-05/1.094, allocations: 180.3 kB / 1.128 GB, free: 30.88 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.646e-05/1.094, allocations: 184.2 kB / 1.129 GB, free: 30.69 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-05/1.094, allocations: 176.3 kB / 1.129 GB, free: 30.51 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.809e-05/1.094, allocations: 312.3 kB / 1.129 GB, free: 30.18 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.851e-05/1.094, allocations: 182.6 kB / 1.129 GB, free: 29.98 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.796e-05/1.094, allocations: 184.8 kB / 1.129 GB, free: 29.79 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.512e-05/1.095, allocations: 104.6 kB / 1.129 GB, free: 29.69 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.899e-05/1.095, allocations: 184.8 kB / 1.13 GB, free: 29.5 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-05/1.095, allocations: 101.5 kB / 1.13 GB, free: 29.39 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.122e-05/1.095, allocations: 79.28 kB / 1.13 GB, free: 29.32 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.11e-07/1.095, allocations: 0 / 1.13 GB, free: 29.32 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000422/1.095, allocations: 0.5625 kB / 1.13 GB, free: 29.32 MB / 0.7292 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.0002425/1.095, allocations: 0.8164 MB / 1.131 GB, free: 28.48 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 3.62e-05/1.095, allocations: 4 kB / 1.131 GB, free: 28.47 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/1.095, allocations: 0 / 1.131 GB, free: 28.47 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.695e-06/1.095, allocations: 1.312 kB / 1.131 GB, free: 28.47 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002487/1.096, allocations: 0.5185 MB / 1.131 GB, free: 27.95 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005812/1.096, allocations: 0.5051 MB / 1.132 GB, free: 27.41 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001001/1.096, allocations: 0.6716 MB / 1.132 GB, free: 26.71 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 9.808e-06/1.096, allocations: 7.422 kB / 1.132 GB, free: 26.71 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.01e-05/1.096, allocations: 7.438 kB / 1.132 GB, free: 26.7 MB / 0.7292 GB Notification: Performance of SimCode: time 3.2e-07/1.096, allocations: 0.9375 kB / 1.132 GB, free: 26.7 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01334/1.11, allocations: 0.7188 MB / 1.133 GB, free: 26.33 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001787/1.11, allocations: 187.6 kB / 1.133 GB, free: 26.09 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.456/2.566, allocations: 4.625 kB / 1.133 GB, free: 26.09 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1)