Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0/package.mo): time 2.395/2.395, allocations: 284.9 MB / 292.4 MB, free: 10.53 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.001551/0.001551, allocations: 188.8 kB / 360.6 MB, free: 7.273 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.16/2.16, allocations: 205.3 MB / 0.6191 GB, free: 12.2 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.001099/0.001099, allocations: 93.61 kB / 0.7321 GB, free: 44.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.233e-05/2.228e-05, allocations: 4 kB / 0.8509 GB, free: 3.324 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8195/0.8196, allocations: 115.3 MB / 0.9634 GB, free: 78.6 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2299/1.05, allocations: 136.2 MB / 1.096 GB, free: 4.254 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002577/1.05, allocations: 68.48 kB / 1.096 GB, free: 4.188 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.0005485/1.05, allocations: 380.3 kB / 1.097 GB, free: 3.82 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.653e-06/1.05, allocations: 0 / 1.097 GB, free: 3.82 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.913e-06/1.051, allocations: 0 / 1.097 GB, free: 3.82 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.000271/1.051, allocations: 307.2 kB / 1.097 GB, free: 3.477 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/1.051, allocations: 10.59 kB / 1.097 GB, free: 3.469 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.747e-05/1.051, allocations: 1.203 kB / 1.097 GB, free: 3.469 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001307/1.051, allocations: 163 kB / 1.097 GB, free: 3.27 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/1.051, allocations: 0 / 1.097 GB, free: 3.27 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.959e-06/1.051, allocations: 0 / 1.097 GB, free: 3.27 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.804e-05/1.051, allocations: 10.19 kB / 1.097 GB, free: 3.262 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.598e-05/1.051, allocations: 27.11 kB / 1.097 GB, free: 3.23 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/1.051, allocations: 0 / 1.097 GB, free: 3.23 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.857e-06/1.051, allocations: 0 / 1.097 GB, free: 3.23 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/1.051, allocations: 0.625 kB / 1.097 GB, free: 3.23 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003019/1.052, allocations: 368 kB / 1.098 GB, free: 2.836 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 9.03e-05/1.052, allocations: 165.9 kB / 1.098 GB, free: 2.664 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.196e-05/1.052, allocations: 81.39 kB / 1.098 GB, free: 2.582 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.536e-05/1.052, allocations: 82.12 kB / 1.098 GB, free: 2.504 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.628e-05/1.052, allocations: 115.1 kB / 1.098 GB, free: 2.383 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 1.743e-06/1.052, allocations: 0.75 kB / 1.098 GB, free: 2.383 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 8.087e-05/1.052, allocations: 32.39 kB / 1.098 GB, free: 2.348 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.731e-05/1.052, allocations: 52.28 kB / 1.098 GB, free: 2.285 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.552e-05/1.052, allocations: 85.5 kB / 1.098 GB, free: 2.195 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.817e-05/1.052, allocations: 31.7 kB / 1.098 GB, free: 2.16 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.494e-05/1.052, allocations: 81.02 kB / 1.098 GB, free: 2.078 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.424e-06/1.052, allocations: 0 / 1.098 GB, free: 2.078 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.71e-07/1.052, allocations: 0 / 1.098 GB, free: 2.078 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001339/1.052, allocations: 315.5 kB / 1.099 GB, free: 1.762 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.509e-06/1.052, allocations: 0.7188 kB / 1.099 GB, free: 1.762 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.218e-06/1.052, allocations: 0 / 1.099 GB, free: 1.762 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.618e-05/1.052, allocations: 75.97 kB / 1.099 GB, free: 1.688 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.095e-05/1.052, allocations: 79.81 kB / 1.099 GB, free: 1.609 MB / 0.698 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.929e-05/1.053, allocations: 34.28 kB / 1.099 GB, free: 1.57 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.493e-05/1.053, allocations: 79.94 kB / 1.099 GB, free: 1.492 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.869e-05/1.053, allocations: 79.97 kB / 1.099 GB, free: 1.414 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.435e-05/1.053, allocations: 155.4 kB / 1.099 GB, free: 1.262 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.571e-05/1.053, allocations: 79.22 kB / 1.099 GB, free: 1.184 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.898e-05/1.053, allocations: 158 kB / 1.099 GB, free: 1.031 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.575e-05/1.053, allocations: 75.28 kB / 1.099 GB, free: 0.957 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.934e-05/1.053, allocations: 79.72 kB / 1.1 GB, free: 0.8789 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 () * 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.0001353/1.053, allocations: 268.4 kB / 1.1 GB, free: 0.6094 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.738e-05/1.053, allocations: 131.3 kB / 1.1 GB, free: 480 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.613e-05/1.053, allocations: 106.1 kB / 1.1 GB, free: 368 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.404e-05/1.053, allocations: 104.7 kB / 1.1 GB, free: 256 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-05/1.053, allocations: 191.1 kB / 1.1 GB, free: 60 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.249e-05/1.054, allocations: 180.2 kB / 1.1 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.91e-05/1.054, allocations: 180.3 kB / 1.101 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002407/1.054, allocations: 387.5 kB / 1.101 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.255e-05/1.054, allocations: 105 kB / 1.101 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.392e-05/1.054, allocations: 101 kB / 1.101 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.076e-05/1.054, allocations: 180.3 kB / 1.101 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.992e-05/1.054, allocations: 184.2 kB / 1.102 GB, free: 14.69 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.691e-05/1.054, allocations: 180 kB / 1.102 GB, free: 14.51 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.098e-05/1.054, allocations: 181.1 kB / 1.102 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001498/1.055, allocations: 307.7 kB / 1.102 GB, free: 14 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.752e-05/1.055, allocations: 183.4 kB / 1.102 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.253e-05/1.055, allocations: 192.4 kB / 1.103 GB, free: 13.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.114e-05/1.055, allocations: 101 kB / 1.103 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.281e-05/1.055, allocations: 180.2 kB / 1.103 GB, free: 13.31 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.493e-05/1.055, allocations: 105.5 kB / 1.103 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.291e-05/1.055, allocations: 79.28 kB / 1.103 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.01e-07/1.055, allocations: 0 / 1.103 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003176/1.055, allocations: 4.094 kB / 1.103 GB, free: 13.12 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.0004709/1.056, allocations: 0.8048 MB / 1.104 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 4.529e-05/1.056, allocations: 3.938 kB / 1.104 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/1.056, allocations: 0 / 1.104 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.305e-06/1.056, allocations: 4 kB / 1.104 GB, free: 12.28 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003532/1.056, allocations: 0.5165 MB / 1.104 GB, free: 11.76 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004051/1.057, allocations: 155.8 kB / 1.104 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002658/1.057, allocations: 0.6729 MB / 1.105 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.795e-06/1.057, allocations: 0 / 1.105 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.693e-05/1.057, allocations: 11.44 kB / 1.105 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of SimCode: time 6.71e-07/1.057, allocations: 0 / 1.105 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03602/1.093, allocations: 420.5 kB / 1.106 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002786/1.093, allocations: 154.7 kB / 1.106 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.246/3.34, allocations: 0 / 1.106 GB, free: 10.29 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Constant.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1)