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.705/1.705, allocations: 289.7 MB / 302.3 MB, free: 2.172 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.001167/0.001167, allocations: 178.9 kB / 371.6 MB, free: 3.371 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.518/1.518, allocations: 205.2 MB / 0.6309 GB, free: 11.76 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.0009053/0.0009053, allocations: 95.25 kB / 0.745 GB, free: 54.62 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.481e-05/3.485e-05, allocations: 4 kB / 0.8664 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2703/0.2703, allocations: 116.3 MB / 0.9799 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8857/1.156, allocations: 138 MB / 1.115 GB, free: 45.28 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002649/1.156, allocations: 72.28 kB / 1.115 GB, free: 45.25 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.0005661/1.157, allocations: 366 kB / 1.115 GB, free: 44.92 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.354e-06/1.157, allocations: 0.6875 kB / 1.115 GB, free: 44.92 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.256e-06/1.157, allocations: 64 / 1.115 GB, free: 44.92 MB / 0.7448 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.0002486/1.157, allocations: 309.9 kB / 1.115 GB, free: 44.58 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 8.596e-05/1.157, allocations: 8.938 kB / 1.115 GB, free: 44.57 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.836e-05/1.157, allocations: 34.56 kB / 1.115 GB, free: 44.53 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.689e-05/1.157, allocations: 2.219 kB / 1.115 GB, free: 44.53 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001096/1.158, allocations: 168 kB / 1.116 GB, free: 44.33 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.396e-05/1.158, allocations: 4.047 kB / 1.116 GB, free: 44.33 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.127e-05/1.158, allocations: 3.938 kB / 1.116 GB, free: 44.33 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.729e-05/1.158, allocations: 30.36 kB / 1.116 GB, free: 44.29 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/1.158, allocations: 2.25 kB / 1.116 GB, free: 44.29 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/1.158, allocations: 0.5 kB / 1.116 GB, free: 44.29 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/1.158, allocations: 0.5938 kB / 1.116 GB, free: 44.29 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.938e-05/1.158, allocations: 0 / 1.116 GB, free: 44.29 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002821/1.158, allocations: 384.5 kB / 1.116 GB, free: 43.88 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.987e-05/1.158, allocations: 171.1 kB / 1.116 GB, free: 43.7 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.17e-05/1.158, allocations: 80.14 kB / 1.116 GB, free: 43.62 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.245e-05/1.158, allocations: 80 kB / 1.116 GB, free: 43.54 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.54e-05/1.158, allocations: 110.8 kB / 1.116 GB, free: 43.43 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 1.532e-06/1.158, allocations: 0.625 kB / 1.116 GB, free: 43.43 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 0.000103/1.158, allocations: 34.48 kB / 1.116 GB, free: 43.39 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.467e-05/1.159, allocations: 131.2 kB / 1.117 GB, free: 43.25 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001042/1.159, allocations: 93.39 kB / 1.117 GB, free: 43.16 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.814e-05/1.159, allocations: 29.14 kB / 1.117 GB, free: 43.13 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.968e-05/1.159, allocations: 80.14 kB / 1.117 GB, free: 43.05 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.785e-06/1.159, allocations: 0 / 1.117 GB, free: 43.05 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.2e-07/1.159, allocations: 0 / 1.117 GB, free: 43.05 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001647/1.159, allocations: 322.6 kB / 1.117 GB, free: 42.73 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.462e-06/1.159, allocations: 0 / 1.117 GB, free: 42.73 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.987e-06/1.159, allocations: 0 / 1.117 GB, free: 42.73 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.022e-05/1.159, allocations: 75.28 kB / 1.117 GB, free: 42.65 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.519e-05/1.159, allocations: 77.78 kB / 1.117 GB, free: 42.58 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.522e-05/1.159, allocations: 33.73 kB / 1.117 GB, free: 42.54 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.461e-05/1.159, allocations: 79.28 kB / 1.117 GB, free: 42.46 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.233e-05/1.159, allocations: 79.97 kB / 1.117 GB, free: 42.39 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.669e-05/1.159, allocations: 151.7 kB / 1.118 GB, free: 42.24 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.276e-05/1.159, allocations: 83.22 kB / 1.118 GB, free: 42.16 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.959e-05/1.159, allocations: 158.2 kB / 1.118 GB, free: 42 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.356e-05/1.16, allocations: 75.28 kB / 1.118 GB, free: 41.93 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.264e-05/1.16, allocations: 82.59 kB / 1.118 GB, free: 41.85 MB / 0.7448 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.0001625/1.16, allocations: 259.5 kB / 1.118 GB, free: 41.59 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.615e-05/1.16, allocations: 101 kB / 1.118 GB, free: 41.48 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.652e-05/1.16, allocations: 108.6 kB / 1.118 GB, free: 41.37 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.289e-05/1.16, allocations: 185.4 kB / 1.119 GB, free: 41.19 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.691e-05/1.16, allocations: 188.6 kB / 1.119 GB, free: 41 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.733e-05/1.16, allocations: 180.2 kB / 1.119 GB, free: 40.82 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003016/1.161, allocations: 400.8 kB / 1.119 GB, free: 40.37 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.703e-05/1.161, allocations: 112.7 kB / 1.119 GB, free: 40.26 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.131e-05/1.161, allocations: 105.8 kB / 1.119 GB, free: 40.15 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.848e-05/1.161, allocations: 176.8 kB / 1.12 GB, free: 39.97 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.531e-05/1.161, allocations: 180.2 kB / 1.12 GB, free: 39.79 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001018/1.161, allocations: 183.8 kB / 1.12 GB, free: 39.6 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.673e-05/1.161, allocations: 180.2 kB / 1.12 GB, free: 39.42 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002135/1.161, allocations: 315.5 kB / 1.12 GB, free: 39.09 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001459/1.161, allocations: 182.6 kB / 1.121 GB, free: 38.89 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000115/1.162, allocations: 180.1 kB / 1.121 GB, free: 38.71 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.919e-05/1.162, allocations: 108.9 kB / 1.121 GB, free: 38.6 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.755e-05/1.162, allocations: 177.2 kB / 1.121 GB, free: 38.42 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.495e-05/1.162, allocations: 113 kB / 1.121 GB, free: 38.31 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.039e-05/1.162, allocations: 79.28 kB / 1.121 GB, free: 38.23 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.11e-07/1.162, allocations: 0 / 1.121 GB, free: 38.23 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002898/1.162, allocations: 0 / 1.121 GB, free: 38.23 MB / 0.7448 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.0005977/1.163, allocations: 0.8123 MB / 1.122 GB, free: 37.4 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 5.843e-05/1.163, allocations: 0 / 1.122 GB, free: 37.4 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/1.163, allocations: 0 / 1.122 GB, free: 37.4 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.639e-06/1.163, allocations: 3.938 kB / 1.122 GB, free: 37.39 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004238/1.163, allocations: 0.5224 MB / 1.123 GB, free: 36.87 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004259/1.164, allocations: 146 kB / 1.123 GB, free: 36.69 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002887/1.164, allocations: 0.675 MB / 1.123 GB, free: 36 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.494e-05/1.164, allocations: 0 / 1.123 GB, free: 36 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.393e-05/1.164, allocations: 14.83 kB / 1.123 GB, free: 35.99 MB / 0.7448 GB Notification: Performance of SimCode: time 3.2e-07/1.164, allocations: 0 / 1.123 GB, free: 35.99 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01285/1.177, allocations: 0.735 MB / 1.124 GB, free: 35.61 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001574/1.177, allocations: 165 kB / 1.124 GB, free: 35.39 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.596/2.773, allocations: 3.094 kB / 1.124 GB, free: 35.39 MB / 0.7448 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)