Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.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.Validation.Xor,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_Xor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Xor,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_Xor",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.831/2.831, allocations: 287.3 MB / 302.3 MB, free: 8.344 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.002169/0.002169, allocations: 179.2 kB / 370.8 MB, free: 10.85 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.092/2.092, allocations: 205.4 MB / 0.6295 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001165/0.001165, allocations: 101.8 kB / 0.7428 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006514/0.0006516, allocations: 17.8 kB / 0.8657 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2297/0.2304, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9886/1.219, allocations: 137.9 MB / 1.113 GB, free: 15.8 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002128/1.219, allocations: 74.14 kB / 1.113 GB, free: 15.79 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01521/1.235, allocations: 2.923 MB / 1.116 GB, free: 31.36 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.404e-06/1.235, allocations: 4 kB / 1.116 GB, free: 31.35 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.368e-06/1.235, allocations: 0 / 1.116 GB, free: 31.35 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000541/1.235, allocations: 423.5 kB / 1.116 GB, free: 30.93 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/1.235, allocations: 11.77 kB / 1.116 GB, free: 30.92 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.9e-05/1.235, allocations: 34.47 kB / 1.116 GB, free: 30.88 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.474e-05/1.235, allocations: 11.53 kB / 1.116 GB, free: 30.88 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001214/1.236, allocations: 173.7 kB / 1.117 GB, free: 30.67 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.267e-05/1.236, allocations: 10.97 kB / 1.117 GB, free: 30.67 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.593e-05/1.236, allocations: 7.781 kB / 1.117 GB, free: 30.67 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001404/1.236, allocations: 50.16 kB / 1.117 GB, free: 30.64 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/1.236, allocations: 0 / 1.117 GB, free: 30.64 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/1.236, allocations: 0 / 1.117 GB, free: 30.64 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/1.236, allocations: 6.469 kB / 1.117 GB, free: 30.64 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.71e-05/1.236, allocations: 13.78 kB / 1.117 GB, free: 30.64 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005813/1.236, allocations: 354.4 kB / 1.117 GB, free: 30.37 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 9.433e-05/1.237, allocations: 40.14 kB / 1.117 GB, free: 30.34 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.484e-05/1.237, allocations: 7.875 kB / 1.117 GB, free: 30.33 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002097/1.237, allocations: 83.78 kB / 1.117 GB, free: 30.28 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.763e-06/1.237, allocations: 0 / 1.117 GB, free: 30.28 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0003258/1.237, allocations: 102.6 kB / 1.117 GB, free: 30.25 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.157e-05/1.237, allocations: 58.25 kB / 1.117 GB, free: 30.18 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001089/1.237, allocations: 114.2 kB / 1.117 GB, free: 30.08 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.57e-05/1.237, allocations: 33.58 kB / 1.117 GB, free: 30.05 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.448e-05/1.238, allocations: 90.28 kB / 1.117 GB, free: 29.96 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.304e-05/1.238, allocations: 18.75 kB / 1.117 GB, free: 29.96 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.361e-05/1.238, allocations: 0 / 1.117 GB, free: 29.96 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001474/1.238, allocations: 321.2 kB / 1.118 GB, free: 29.64 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001996/1.238, allocations: 62.22 kB / 1.118 GB, free: 29.64 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002364/1.238, allocations: 92.78 kB / 1.118 GB, free: 29.61 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002174/1.238, allocations: 116.1 kB / 1.118 GB, free: 29.54 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/1.238, allocations: 0 / 1.118 GB, free: 29.54 MB / 0.698 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006455/1.239, allocations: 260 kB / 1.118 GB, free: 29.43 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.002e-05/1.239, allocations: 67.66 kB / 1.118 GB, free: 29.36 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.657e-06/1.239, allocations: 3.875 kB / 1.118 GB, free: 29.36 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.834e-05/1.239, allocations: 5.312 kB / 1.118 GB, free: 29.36 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.953e-05/1.239, allocations: 6.844 kB / 1.118 GB, free: 29.36 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/1.239, allocations: 3.359 kB / 1.118 GB, free: 29.36 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005895/1.24, allocations: 74.17 kB / 1.118 GB, free: 29.36 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.777e-05/1.24, allocations: 17.92 kB / 1.118 GB, free: 29.35 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,xor1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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.0001539/1.24, allocations: 121.9 kB / 1.119 GB, free: 29.23 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.166e-05/1.24, allocations: 11.62 kB / 1.119 GB, free: 29.23 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.054e-05/1.24, allocations: 9.828 kB / 1.119 GB, free: 29.22 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/1.24, allocations: 3.875 kB / 1.119 GB, free: 29.22 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/1.24, allocations: 4 kB / 1.119 GB, free: 29.22 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/1.24, allocations: 64 / 1.119 GB, free: 29.22 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001727/1.24, allocations: 179.6 kB / 1.119 GB, free: 29.02 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/1.24, allocations: 3.234 kB / 1.119 GB, free: 29.02 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.335e-05/1.24, allocations: 0 / 1.119 GB, free: 29.02 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/1.241, allocations: 0 / 1.119 GB, free: 29.02 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.336e-05/1.241, allocations: 3.875 kB / 1.119 GB, free: 29.02 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/1.241, allocations: 3.938 kB / 1.119 GB, free: 29.02 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/1.241, allocations: 0 / 1.119 GB, free: 29.02 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002066/1.241, allocations: 120.9 kB / 1.119 GB, free: 28.95 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.64e-05/1.241, allocations: 84.83 kB / 1.119 GB, free: 28.85 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.186e-05/1.241, allocations: 0 / 1.119 GB, free: 28.85 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.593e-05/1.241, allocations: 3.312 kB / 1.119 GB, free: 28.85 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.612e-05/1.241, allocations: 9.312 kB / 1.119 GB, free: 28.85 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.025e-05/1.241, allocations: 3.875 kB / 1.119 GB, free: 28.85 MB / 0.698 GB Notification: Performance of sorting global known variables: time 6.46e-05/1.241, allocations: 89.05 kB / 1.119 GB, free: 28.77 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.61e-07/1.241, allocations: 0 / 1.119 GB, free: 28.77 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003376/1.241, allocations: 41.44 kB / 1.119 GB, free: 28.77 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,xor1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0006054/1.242, allocations: 0.6603 MB / 1.12 GB, free: 28.16 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005322/1.243, allocations: 248 kB / 1.12 GB, free: 28.03 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/1.243, allocations: 0 / 1.12 GB, free: 28.03 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 7.059e-05/1.243, allocations: 28.91 kB / 1.12 GB, free: 28.03 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002758/1.243, allocations: 17.2 kB / 1.12 GB, free: 28.03 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001007/1.244, allocations: 1.002 MB / 1.121 GB, free: 27.05 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003177/1.244, allocations: 0.695 MB / 1.122 GB, free: 26.34 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 5.632e-05/1.244, allocations: 10.25 kB / 1.122 GB, free: 26.34 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.699e-05/1.244, allocations: 17.62 kB / 1.122 GB, free: 26.34 MB / 0.698 GB Notification: Performance of SimCode: time 1.403e-06/1.245, allocations: 0 / 1.122 GB, free: 26.34 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02303/1.268, allocations: 2.537 MB / 1.124 GB, free: 26.07 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002452/1.268, allocations: 186.3 kB / 1.124 GB, free: 25.83 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.454/3.722, allocations: 0 / 1.124 GB, free: 25.83 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_Xor_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_Xor.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1)