Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.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.Validation.Xor,fileNamePrefix="Buildings_8_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_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.1.4-maint.8.1.x/package.mo): time 1.633/1.633, allocations: 289.7 MB / 302.2 MB, free: 2.133 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.001165/0.001164, allocations: 182.4 kB / 371.6 MB, free: 3.379 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.806/1.806, allocations: 205.1 MB / 0.6309 GB, free: 11.75 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.00088/0.0008797, allocations: 94.83 kB / 0.745 GB, free: 54.61 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.739e-05/3.742e-05, allocations: 4 kB / 0.8663 GB, free: 14.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2816/0.2816, allocations: 116.3 MB / 0.9799 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8877/1.169, allocations: 139 MB / 1.116 GB, free: 44.67 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002387/1.17, allocations: 73.42 kB / 1.116 GB, free: 44.64 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.007843/1.178, allocations: 2.921 MB / 1.119 GB, free: 42.93 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.994e-06/1.178, allocations: 0 / 1.119 GB, free: 42.93 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 9.298e-06/1.178, allocations: 4 kB / 1.119 GB, free: 42.93 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003939/1.178, allocations: 405.5 kB / 1.119 GB, free: 42.5 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.154e-05/1.178, allocations: 8.031 kB / 1.119 GB, free: 42.49 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.493e-05/1.178, allocations: 31.31 kB / 1.119 GB, free: 42.45 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.3e-05/1.178, allocations: 19.34 kB / 1.119 GB, free: 42.44 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.223e-05/1.178, allocations: 165.9 kB / 1.119 GB, free: 42.24 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.715e-05/1.178, allocations: 11.2 kB / 1.119 GB, free: 42.23 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.033e-05/1.178, allocations: 8 kB / 1.119 GB, free: 42.23 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001105/1.178, allocations: 53.91 kB / 1.119 GB, free: 42.18 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/1.178, allocations: 0 / 1.119 GB, free: 42.18 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/1.178, allocations: 3.75 kB / 1.119 GB, free: 42.18 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/1.178, allocations: 0 / 1.119 GB, free: 42.18 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.504e-05/1.179, allocations: 15.88 kB / 1.119 GB, free: 42.17 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000447/1.179, allocations: 353.8 kB / 1.12 GB, free: 41.86 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.042e-05/1.179, allocations: 41.45 kB / 1.12 GB, free: 41.82 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.566e-05/1.179, allocations: 17.33 kB / 1.12 GB, free: 41.81 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.112e-05/1.179, allocations: 0.9375 kB / 1.12 GB, free: 41.81 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001332/1.179, allocations: 86.23 kB / 1.12 GB, free: 41.73 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.282e-06/1.179, allocations: 4 kB / 1.12 GB, free: 41.73 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0001934/1.179, allocations: 84.39 kB / 1.12 GB, free: 41.66 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.498e-05/1.18, allocations: 62.86 kB / 1.12 GB, free: 41.59 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.153e-05/1.18, allocations: 110 kB / 1.12 GB, free: 41.48 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.543e-05/1.18, allocations: 29.7 kB / 1.12 GB, free: 41.44 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.474e-05/1.18, allocations: 91.67 kB / 1.12 GB, free: 41.36 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.411e-05/1.18, allocations: 15.05 kB / 1.12 GB, free: 41.34 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.679e-05/1.18, allocations: 4.562 kB / 1.12 GB, free: 41.34 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.521e-05/1.18, allocations: 330 kB / 1.12 GB, free: 41.02 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001112/1.18, allocations: 58.55 kB / 1.12 GB, free: 40.98 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001141/1.18, allocations: 86.25 kB / 1.121 GB, free: 40.91 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001238/1.18, allocations: 113.7 kB / 1.121 GB, free: 40.81 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/1.18, allocations: 4 kB / 1.121 GB, free: 40.8 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003594/1.181, allocations: 256.9 kB / 1.121 GB, free: 40.6 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.064e-05/1.181, allocations: 70.5 kB / 1.121 GB, free: 40.52 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/1.181, allocations: 0.8594 kB / 1.121 GB, free: 40.52 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/1.181, allocations: 0 / 1.121 GB, free: 40.52 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.144e-05/1.181, allocations: 4 kB / 1.121 GB, free: 40.52 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.086e-05/1.181, allocations: 3.422 kB / 1.121 GB, free: 40.52 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003148/1.181, allocations: 73.56 kB / 1.121 GB, free: 40.46 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.676e-05/1.181, allocations: 11.92 kB / 1.121 GB, free: 40.46 MB / 0.7448 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 () * 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 8.493e-05/1.181, allocations: 125.8 kB / 1.121 GB, free: 40.33 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.325e-05/1.181, allocations: 11.38 kB / 1.121 GB, free: 40.32 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.576e-05/1.181, allocations: 9.359 kB / 1.121 GB, free: 40.32 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/1.181, allocations: 0.6562 kB / 1.121 GB, free: 40.32 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/1.181, allocations: 0 / 1.121 GB, free: 40.32 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/1.181, allocations: 4 kB / 1.121 GB, free: 40.32 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001133/1.181, allocations: 172.5 kB / 1.121 GB, free: 40.12 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/1.181, allocations: 4 kB / 1.121 GB, free: 40.12 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.885e-06/1.181, allocations: 0 / 1.121 GB, free: 40.12 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/1.181, allocations: 4 kB / 1.121 GB, free: 40.11 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/1.181, allocations: 4.406 kB / 1.121 GB, free: 40.11 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/1.181, allocations: 4 kB / 1.121 GB, free: 40.11 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/1.181, allocations: 0 / 1.121 GB, free: 40.11 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001356/1.182, allocations: 116.3 kB / 1.122 GB, free: 40 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.172e-05/1.182, allocations: 81.05 kB / 1.122 GB, free: 39.9 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.791e-05/1.182, allocations: 4.75 kB / 1.122 GB, free: 39.9 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.265e-05/1.182, allocations: 8.406 kB / 1.122 GB, free: 39.89 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.097e-05/1.182, allocations: 14.98 kB / 1.122 GB, free: 39.89 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.831e-06/1.182, allocations: 0 / 1.122 GB, free: 39.89 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.749e-05/1.182, allocations: 87.78 kB / 1.122 GB, free: 39.8 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.1e-07/1.182, allocations: 1.406 kB / 1.122 GB, free: 39.8 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002239/1.182, allocations: 43.31 kB / 1.122 GB, free: 39.77 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: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,xor1.y) * Number of discrete 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.0003625/1.182, allocations: 0.6626 MB / 1.122 GB, free: 39.11 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002721/1.183, allocations: 243.4 kB / 1.123 GB, free: 38.9 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/1.183, allocations: 4 kB / 1.123 GB, free: 38.89 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.275e-05/1.183, allocations: 24.34 kB / 1.123 GB, free: 38.88 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001789/1.183, allocations: 15.2 kB / 1.123 GB, free: 38.87 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003538/1.183, allocations: 132.4 kB / 1.123 GB, free: 38.72 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001347/1.183, allocations: 0.6917 MB / 1.123 GB, free: 38.01 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.772e-05/1.183, allocations: 5.547 kB / 1.123 GB, free: 38.01 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.706e-05/1.184, allocations: 22.5 kB / 1.123 GB, free: 38 MB / 0.7448 GB Notification: Performance of SimCode: time 3.7e-07/1.184, allocations: 0.8438 kB / 1.123 GB, free: 38 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01546/1.199, allocations: 2.558 MB / 1.126 GB, free: 36.64 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001642/1.199, allocations: 160.8 kB / 1.126 GB, free: 36.41 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.603/2.803, allocations: 4.484 kB / 1.126 GB, free: 36.41 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Xor_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Xor.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1)