Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.598/1.598, allocations: 249.3 MB / 261.9 MB, free: 5.863 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001048/0.001048, allocations: 173 kB / 321.3 MB, free: 14.66 MB / 266.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.572 GB, free: 10.68 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007818/0.0007819, allocations: 82.48 kB / 0.6764 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.572e-05/3.574e-05, allocations: 4 kB / 0.7881 GB, free: 96.98 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.218/0.218, allocations: 106.3 MB / 0.8919 GB, free: 6.543 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7199/0.938, allocations: 130.8 MB / 1.02 GB, free: 3.926 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002148/0.9383, allocations: 74.25 kB / 1.02 GB, free: 3.883 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.0004891/0.9388, allocations: 368.4 kB / 1.02 GB, free: 3.527 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.362e-06/0.9388, allocations: 4.062 kB / 1.02 GB, free: 3.523 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.251e-06/0.9388, allocations: 4 kB / 1.02 GB, free: 3.52 MB / 0.6355 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.0002186/0.939, allocations: 302.2 kB / 1.02 GB, free: 3.184 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.899e-05/0.9391, allocations: 12.09 kB / 1.02 GB, free: 3.172 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.239e-05/0.9391, allocations: 34.5 kB / 1.02 GB, free: 3.129 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.033e-05/0.9392, allocations: 0 / 1.02 GB, free: 3.129 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001138/0.9393, allocations: 167 kB / 1.021 GB, free: 2.926 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.072e-05/0.9393, allocations: 0 / 1.021 GB, free: 2.926 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.765e-06/0.9393, allocations: 0 / 1.021 GB, free: 2.926 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.932e-05/0.9394, allocations: 33.7 kB / 1.021 GB, free: 2.887 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.39e-06/0.9394, allocations: 0 / 1.021 GB, free: 2.887 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.282e-06/0.9394, allocations: 0 / 1.021 GB, free: 2.887 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.9394, allocations: 3.938 kB / 1.021 GB, free: 2.883 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.457e-05/0.9394, allocations: 0 / 1.021 GB, free: 2.883 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002803/0.9397, allocations: 387.1 kB / 1.021 GB, free: 2.457 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.779e-05/0.9398, allocations: 172.5 kB / 1.021 GB, free: 2.281 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.035e-05/0.9399, allocations: 84.17 kB / 1.021 GB, free: 2.195 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.686e-05/0.9399, allocations: 75.28 kB / 1.021 GB, free: 2.121 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.527e-05/0.9399, allocations: 105.8 kB / 1.021 GB, free: 2.008 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 2.184e-06/0.94, allocations: 0 / 1.021 GB, free: 2.008 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 6.246e-05/0.94, allocations: 35.09 kB / 1.021 GB, free: 1.973 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.286e-05/0.9401, allocations: 130.7 kB / 1.022 GB, free: 1.832 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.855e-05/0.9402, allocations: 96.42 kB / 1.022 GB, free: 1.734 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.138e-05/0.9402, allocations: 25.7 kB / 1.022 GB, free: 1.703 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.724e-05/0.9402, allocations: 80.14 kB / 1.022 GB, free: 1.621 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.733e-06/0.9402, allocations: 0 / 1.022 GB, free: 1.621 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.2e-07/0.9402, allocations: 0 / 1.022 GB, free: 1.621 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000109/0.9403, allocations: 318.8 kB / 1.022 GB, free: 1.301 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.216e-06/0.9403, allocations: 0 / 1.022 GB, free: 1.301 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.515e-06/0.9404, allocations: 4.125 kB / 1.022 GB, free: 1.297 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.607e-05/0.9404, allocations: 75.28 kB / 1.022 GB, free: 1.223 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.19e-05/0.9404, allocations: 75.28 kB / 1.022 GB, free: 1.148 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.482e-05/0.9405, allocations: 36.95 kB / 1.022 GB, free: 1.109 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.953e-05/0.9405, allocations: 79.28 kB / 1.022 GB, free: 1.031 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.707e-05/0.9405, allocations: 75.28 kB / 1.022 GB, free: 0.957 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.584e-05/0.9406, allocations: 154.5 kB / 1.022 GB, free: 0.8047 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.465e-05/0.9406, allocations: 87.22 kB / 1.023 GB, free: 0.7188 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.5e-05/0.9407, allocations: 150.6 kB / 1.023 GB, free: 0.5703 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.991e-05/0.9408, allocations: 79.22 kB / 1.023 GB, free: 0.4922 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.32e-05/0.9408, allocations: 79.22 kB / 1.023 GB, free: 428 kB / 0.6355 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 8.982e-05/0.9409, allocations: 259.5 kB / 1.023 GB, free: 160 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.584e-05/0.941, allocations: 104.9 kB / 1.023 GB, free: 48 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.03e-05/0.941, allocations: 112.1 kB / 1.023 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.172e-05/0.9411, allocations: 180.6 kB / 1.023 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.856e-05/0.9412, allocations: 184.2 kB / 1.024 GB, free: 15.56 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.132e-05/0.9412, allocations: 183.9 kB / 1.024 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002122/0.9414, allocations: 405.1 kB / 1.024 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.42e-05/0.9415, allocations: 109 kB / 1.024 GB, free: 14.81 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.95e-05/0.9415, allocations: 101 kB / 1.024 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.247e-05/0.9416, allocations: 183.1 kB / 1.025 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.433e-05/0.9416, allocations: 182.3 kB / 1.025 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.038e-05/0.9417, allocations: 184.2 kB / 1.025 GB, free: 14.15 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.547e-05/0.9418, allocations: 176.3 kB / 1.025 GB, free: 13.97 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001316/0.9419, allocations: 312.6 kB / 1.025 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 8.899e-05/0.942, allocations: 186 kB / 1.026 GB, free: 13.44 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.205e-05/0.9421, allocations: 180.2 kB / 1.026 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.01e-05/0.9422, allocations: 105 kB / 1.026 GB, free: 13.14 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.299e-05/0.9422, allocations: 188.2 kB / 1.026 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.932e-05/0.9423, allocations: 104.9 kB / 1.026 GB, free: 12.85 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 3.558e-05/0.9423, allocations: 83.27 kB / 1.026 GB, free: 12.77 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9423, allocations: 0 / 1.026 GB, free: 12.77 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002421/0.9426, allocations: 0 / 1.026 GB, free: 12.77 MB / 0.6511 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.0003746/0.9429, allocations: 0.808 MB / 1.027 GB, free: 11.93 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 3.149e-05/0.943, allocations: 3.938 kB / 1.027 GB, free: 11.93 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.943, allocations: 0 / 1.027 GB, free: 11.93 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 2.736e-06/0.943, allocations: 4 kB / 1.027 GB, free: 11.93 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002755/0.9433, allocations: 0.526 MB / 1.028 GB, free: 11.4 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003033/0.9436, allocations: 146.4 kB / 1.028 GB, free: 11.22 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002303/0.9438, allocations: 0.6755 MB / 1.028 GB, free: 10.52 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 1.149e-05/0.9438, allocations: 4 kB / 1.028 GB, free: 10.52 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.062e-05/0.9439, allocations: 11.38 kB / 1.028 GB, free: 10.5 MB / 0.6511 GB Notification: Performance of SimCode: time 3.31e-07/0.9439, allocations: 0 / 1.028 GB, free: 10.5 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0109/0.9548, allocations: 0.7395 MB / 1.029 GB, free: 9.895 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002237/0.9551, allocations: 187 kB / 1.029 GB, free: 9.66 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.434/2.389, allocations: 2.031 kB / 1.029 GB, free: 9.66 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1)