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.585/1.585, allocations: 285.6 MB / 293.1 MB, free: 10.19 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.001187/0.001187, allocations: 172.9 kB / 361.4 MB, free: 6.836 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.2 MB / 0.62 GB, free: 11.66 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.001154/0.001154, allocations: 90.78 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.005e-05/4.015e-05, allocations: 8 kB / 0.8518 GB, free: 2.645 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.478/1.478, allocations: 115.3 MB / 0.9645 GB, free: 78.71 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3498/1.828, allocations: 137.3 MB / 1.099 GB, free: 2.43 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004028/1.829, allocations: 74.56 kB / 1.099 GB, free: 2.359 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01178/1.84, allocations: 2.912 MB / 1.102 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.845e-06/1.841, allocations: 0 / 1.102 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.073e-05/1.841, allocations: 0.9375 kB / 1.102 GB, free: 15.51 MB / 0.7136 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.0009838/1.842, allocations: 408.5 kB / 1.102 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 7.669e-05/1.842, allocations: 9.438 kB / 1.102 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001359/1.842, allocations: 9.031 kB / 1.102 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003208/1.842, allocations: 171 kB / 1.102 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.326e-05/1.842, allocations: 0 / 1.102 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.434e-05/1.842, allocations: 8 kB / 1.102 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001301/1.842, allocations: 15.94 kB / 1.102 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001663/1.843, allocations: 53.69 kB / 1.102 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.454e-05/1.843, allocations: 0 / 1.102 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.087e-05/1.843, allocations: 0 / 1.102 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/1.843, allocations: 0 / 1.102 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009275/1.844, allocations: 336.2 kB / 1.102 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001258/1.844, allocations: 39.5 kB / 1.103 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.127e-05/1.844, allocations: 20.8 kB / 1.103 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.727e-05/1.844, allocations: 0 / 1.103 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002253/1.844, allocations: 79.47 kB / 1.103 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 2.294e-06/1.844, allocations: 0 / 1.103 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0002994/1.844, allocations: 73.59 kB / 1.103 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.754e-05/1.844, allocations: 55.41 kB / 1.103 GB, free: 14.08 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001458/1.845, allocations: 114.8 kB / 1.103 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.317e-05/1.845, allocations: 33.7 kB / 1.103 GB, free: 13.92 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001094/1.845, allocations: 92.23 kB / 1.103 GB, free: 13.83 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.71e-05/1.845, allocations: 19.81 kB / 1.103 GB, free: 13.81 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.493e-05/1.845, allocations: 8 kB / 1.103 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002119/1.845, allocations: 314.8 kB / 1.103 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001831/1.845, allocations: 55.98 kB / 1.103 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002098/1.845, allocations: 86.53 kB / 1.103 GB, free: 13.33 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004618/1.846, allocations: 66.56 kB / 1.103 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/1.846, allocations: 0 / 1.103 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0007426/1.847, allocations: 205.4 kB / 1.104 GB, free: 13.06 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.419e-05/1.847, allocations: 67.52 kB / 1.104 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.452e-05/1.847, allocations: 8 kB / 1.104 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.213e-05/1.847, allocations: 0 / 1.104 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.591e-05/1.847, allocations: 4 kB / 1.104 GB, free: 12.97 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.279e-05/1.847, allocations: 2.266 kB / 1.104 GB, free: 12.97 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003855/1.847, allocations: 71.94 kB / 1.104 GB, free: 12.9 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.475e-05/1.847, allocations: 15.98 kB / 1.104 GB, free: 12.89 MB / 0.7136 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 0.0001738/1.848, allocations: 114.3 kB / 1.104 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001654/1.848, allocations: 81.58 kB / 1.104 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.229e-05/1.848, allocations: 11.89 kB / 1.104 GB, free: 12.67 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.577e-05/1.848, allocations: 8.625 kB / 1.104 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.554e-06/1.848, allocations: 4 kB / 1.104 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.305e-06/1.848, allocations: 0 / 1.104 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.072e-06/1.848, allocations: 0 / 1.104 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002164/1.848, allocations: 158.1 kB / 1.104 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/1.848, allocations: 0 / 1.104 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.979e-05/1.848, allocations: 7.938 kB / 1.104 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.638e-06/1.848, allocations: 2.25 kB / 1.104 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.004e-05/1.848, allocations: 3.625 kB / 1.104 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/1.848, allocations: 0 / 1.104 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/1.848, allocations: 0 / 1.104 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000211/1.848, allocations: 113.1 kB / 1.104 GB, free: 12.33 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001056/1.849, allocations: 81.02 kB / 1.104 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.346e-05/1.849, allocations: 3.938 kB / 1.104 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.986e-05/1.849, allocations: 0 / 1.104 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.575e-05/1.849, allocations: 11.98 kB / 1.104 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.058e-05/1.849, allocations: 0 / 1.104 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 9.508e-05/1.849, allocations: 91.27 kB / 1.105 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.31e-07/1.849, allocations: 4 kB / 1.105 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003547/1.849, allocations: 36 kB / 1.105 GB, free: 12.09 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: 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.001194/1.85, allocations: 0.6618 MB / 1.105 GB, free: 11.4 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0005292/1.851, allocations: 232.7 kB / 1.105 GB, free: 11.15 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/1.851, allocations: 1.375 kB / 1.105 GB, free: 11.15 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.281e-05/1.851, allocations: 28 kB / 1.105 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002947/1.851, allocations: 9.703 kB / 1.105 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006564/1.852, allocations: 144.5 kB / 1.106 GB, free: 10.94 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006884/1.853, allocations: 0.6893 MB / 1.106 GB, free: 10.22 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.153e-05/1.853, allocations: 4 kB / 1.106 GB, free: 10.22 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.515e-05/1.853, allocations: 19.44 kB / 1.106 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of SimCode: time 1.383e-06/1.853, allocations: 0 / 1.106 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03126/1.884, allocations: 2.156 MB / 1.108 GB, free: 8.117 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000273/1.885, allocations: 150.7 kB / 1.109 GB, free: 7.926 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.142/4.027, allocations: 0.625 kB / 1.109 GB, free: 7.926 MB / 0.7136 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)