Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Xor,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Xor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Xor,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.739/1.739, allocations: 288.2 MB / 303.2 MB, free: 8.305 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.001699/0.001699, allocations: 188.9 kB / 371.8 MB, free: 10.23 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.667/1.667, allocations: 205.4 MB / 0.6305 GB, free: 9.969 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.0008238/0.0008238, allocations: 101.1 kB / 0.7439 GB, free: 5.871 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003778/0.0003778, allocations: 14.06 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2357/0.2361, allocations: 115.3 MB / 0.9795 GB, free: 27.54 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6537/0.8899, allocations: 138.1 MB / 1.114 GB, free: 16.3 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001954/0.8901, allocations: 67.98 kB / 1.114 GB, free: 16.3 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.007887/0.898, allocations: 2.932 MB / 1.117 GB, free: 31.86 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.973e-06/0.898, allocations: 0 / 1.117 GB, free: 31.86 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.993e-06/0.8981, allocations: 3.688 kB / 1.117 GB, free: 31.86 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.0004237/0.8985, allocations: 416.7 kB / 1.118 GB, free: 31.44 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.8985, allocations: 11.52 kB / 1.118 GB, free: 31.43 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.642e-05/0.8986, allocations: 37.12 kB / 1.118 GB, free: 31.39 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.009e-05/0.8986, allocations: 15.69 kB / 1.118 GB, free: 31.39 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001133/0.8988, allocations: 174.8 kB / 1.118 GB, free: 31.18 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.083e-05/0.8988, allocations: 10.7 kB / 1.118 GB, free: 31.18 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.3e-05/0.8988, allocations: 7.688 kB / 1.118 GB, free: 31.18 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000115/0.899, allocations: 49.91 kB / 1.118 GB, free: 31.15 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.899, allocations: 0 / 1.118 GB, free: 31.15 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.899, allocations: 0 / 1.118 GB, free: 31.15 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.899, allocations: 3.938 kB / 1.118 GB, free: 31.14 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.573e-05/0.899, allocations: 17.84 kB / 1.118 GB, free: 31.14 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005203/0.8996, allocations: 359.8 kB / 1.118 GB, free: 30.87 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.339e-05/0.8997, allocations: 37.03 kB / 1.118 GB, free: 30.84 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.161e-05/0.8997, allocations: 0 / 1.118 GB, free: 30.84 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000171/0.8999, allocations: 88.69 kB / 1.118 GB, free: 30.79 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.353e-06/0.8999, allocations: 0 / 1.118 GB, free: 30.79 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0002153/0.9001, allocations: 114.1 kB / 1.119 GB, free: 30.75 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.605e-05/0.9001, allocations: 51.41 kB / 1.119 GB, free: 30.68 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.98e-05/0.9002, allocations: 114.2 kB / 1.119 GB, free: 30.59 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.827e-05/0.9003, allocations: 29.64 kB / 1.119 GB, free: 30.55 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.235e-05/0.9003, allocations: 91.89 kB / 1.119 GB, free: 30.47 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.412e-05/0.9003, allocations: 17.2 kB / 1.119 GB, free: 30.46 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.672e-05/0.9004, allocations: 3.75 kB / 1.119 GB, free: 30.46 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.885e-05/0.9005, allocations: 325.5 kB / 1.119 GB, free: 30.15 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001057/0.9006, allocations: 62.8 kB / 1.119 GB, free: 30.14 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001094/0.9007, allocations: 90.67 kB / 1.119 GB, free: 30.11 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001124/0.9008, allocations: 114.9 kB / 1.119 GB, free: 30.04 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.9008, allocations: 0 / 1.119 GB, free: 30.04 MB / 0.698 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003294/0.9012, allocations: 262.3 kB / 1.12 GB, free: 29.93 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.054e-05/0.9012, allocations: 65.83 kB / 1.12 GB, free: 29.87 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.9012, allocations: 3.906 kB / 1.12 GB, free: 29.87 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/0.9012, allocations: 0 / 1.12 GB, free: 29.87 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.788e-05/0.9013, allocations: 3.844 kB / 1.12 GB, free: 29.87 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.9013, allocations: 2.438 kB / 1.12 GB, free: 29.87 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002976/0.9016, allocations: 68.78 kB / 1.12 GB, free: 29.86 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.004e-05/0.9016, allocations: 19.08 kB / 1.12 GB, free: 29.86 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.0001103/0.9017, allocations: 133.2 kB / 1.12 GB, free: 29.74 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.132e-05/0.9017, allocations: 3.906 kB / 1.12 GB, free: 29.73 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.047e-05/0.9018, allocations: 11.94 kB / 1.12 GB, free: 29.73 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.9018, allocations: 0 / 1.12 GB, free: 29.73 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.9018, allocations: 3.938 kB / 1.12 GB, free: 29.73 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.9018, allocations: 0 / 1.12 GB, free: 29.73 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001052/0.9019, allocations: 182.6 kB / 1.12 GB, free: 29.53 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.9019, allocations: 0 / 1.12 GB, free: 29.53 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.792e-05/0.9019, allocations: 3.938 kB / 1.12 GB, free: 29.53 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.9019, allocations: 2.672 kB / 1.12 GB, free: 29.53 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.427e-06/0.902, allocations: 3.875 kB / 1.12 GB, free: 29.53 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.902, allocations: 8 kB / 1.12 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.902, allocations: 0 / 1.12 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001098/0.9021, allocations: 110.6 kB / 1.12 GB, free: 29.45 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.854e-05/0.9021, allocations: 84.86 kB / 1.12 GB, free: 29.36 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.566e-05/0.9022, allocations: 2.625 kB / 1.12 GB, free: 29.36 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.984e-05/0.9022, allocations: 0 / 1.12 GB, free: 29.36 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.001e-05/0.9022, allocations: 10.3 kB / 1.12 GB, free: 29.36 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.532e-06/0.9022, allocations: 6.094 kB / 1.12 GB, free: 29.36 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.562e-05/0.9023, allocations: 93.48 kB / 1.12 GB, free: 29.28 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.01e-07/0.9023, allocations: 0 / 1.12 GB, free: 29.28 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000223/0.9025, allocations: 42.72 kB / 1.121 GB, free: 29.27 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.0003865/0.9029, allocations: 0.651 MB / 1.121 GB, free: 28.67 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002663/0.9032, allocations: 253.8 kB / 1.121 GB, free: 28.54 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.9032, allocations: 0 / 1.121 GB, free: 28.54 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 3.945e-05/0.9032, allocations: 21.91 kB / 1.121 GB, free: 28.54 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001593/0.9034, allocations: 16.77 kB / 1.121 GB, free: 28.54 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006476/0.9041, allocations: 1.003 MB / 1.122 GB, free: 27.55 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002274/0.9043, allocations: 0.6892 MB / 1.123 GB, free: 26.86 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.651e-05/0.9043, allocations: 6.781 kB / 1.123 GB, free: 26.86 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.008e-05/0.9044, allocations: 19.09 kB / 1.123 GB, free: 26.85 MB / 0.698 GB Notification: Performance of SimCode: time 3.01e-07/0.9044, allocations: 0 / 1.123 GB, free: 26.85 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01105/0.9154, allocations: 2.563 MB / 1.126 GB, free: 26.58 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000109/0.9156, allocations: 181.7 kB / 1.126 GB, free: 26.34 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.641/2.556, allocations: 3.938 kB / 1.126 GB, free: 26.34 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Xor_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Xor.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1)