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.889/1.889, allocations: 289.9 MB / 297.4 MB, free: 6.375 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.001413/0.001413, allocations: 184.8 kB / 366.7 MB, free: 1.691 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.949/1.949, allocations: 205.2 MB / 0.626 GB, free: 7.168 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.0007873/0.0007874, allocations: 95.48 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.191e-05/2.193e-05, allocations: 4 kB / 0.8598 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8007/0.8008, allocations: 116.3 MB / 0.9734 GB, free: 76.25 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.207/1.008, allocations: 138.3 MB / 1.108 GB, free: 11.78 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002021/1.008, allocations: 68.8 kB / 1.109 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.008653/1.017, allocations: 2.914 MB / 1.111 GB, free: 8.844 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.623e-06/1.017, allocations: 3.5 kB / 1.111 GB, free: 8.844 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.911e-06/1.017, allocations: 4 kB / 1.111 GB, free: 8.84 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.0004416/1.017, allocations: 405.8 kB / 1.112 GB, free: 8.387 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/1.017, allocations: 8.031 kB / 1.112 GB, free: 8.379 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.298e-05/1.017, allocations: 8.875 kB / 1.112 GB, free: 8.371 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001265/1.018, allocations: 171 kB / 1.112 GB, free: 8.164 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/1.018, allocations: 3.984 kB / 1.112 GB, free: 8.16 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.419e-05/1.018, allocations: 15.92 kB / 1.112 GB, free: 8.148 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.013e-05/1.018, allocations: 12 kB / 1.112 GB, free: 8.137 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.47e-05/1.018, allocations: 49.62 kB / 1.112 GB, free: 8.082 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.07e-06/1.018, allocations: 0 / 1.112 GB, free: 8.082 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.045e-06/1.018, allocations: 4 kB / 1.112 GB, free: 8.078 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.116e-06/1.018, allocations: 0 / 1.112 GB, free: 8.078 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004174/1.018, allocations: 332.8 kB / 1.112 GB, free: 7.719 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.971e-05/1.018, allocations: 38.58 kB / 1.112 GB, free: 7.672 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.726e-05/1.018, allocations: 8.859 kB / 1.112 GB, free: 7.66 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.25e-05/1.018, allocations: 4 kB / 1.112 GB, free: 7.656 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001428/1.018, allocations: 78.06 kB / 1.112 GB, free: 7.57 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.733e-06/1.018, allocations: 0 / 1.112 GB, free: 7.57 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0002308/1.019, allocations: 85.58 kB / 1.113 GB, free: 7.48 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.911e-05/1.019, allocations: 59.41 kB / 1.113 GB, free: 7.41 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001017/1.019, allocations: 113 kB / 1.113 GB, free: 7.289 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.069e-05/1.019, allocations: 29.7 kB / 1.113 GB, free: 7.254 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.716e-05/1.019, allocations: 96.22 kB / 1.113 GB, free: 7.156 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.559e-05/1.019, allocations: 7.906 kB / 1.113 GB, free: 7.148 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.004e-05/1.019, allocations: 4 kB / 1.113 GB, free: 7.145 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001294/1.019, allocations: 322.8 kB / 1.113 GB, free: 6.82 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001154/1.019, allocations: 52 kB / 1.113 GB, free: 6.77 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001228/1.019, allocations: 96.2 kB / 1.113 GB, free: 6.66 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002754/1.02, allocations: 59.94 kB / 1.113 GB, free: 6.602 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/1.02, allocations: 0 / 1.113 GB, free: 6.602 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004933/1.02, allocations: 209.1 kB / 1.114 GB, free: 6.395 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.788e-05/1.02, allocations: 67.39 kB / 1.114 GB, free: 6.316 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/1.02, allocations: 0 / 1.114 GB, free: 6.316 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.222e-05/1.02, allocations: 4 kB / 1.114 GB, free: 6.312 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.044e-05/1.02, allocations: 3.984 kB / 1.114 GB, free: 6.309 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.98e-06/1.02, allocations: 4 kB / 1.114 GB, free: 6.305 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003235/1.021, allocations: 68.06 kB / 1.114 GB, free: 6.238 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.56e-05/1.021, allocations: 19.98 kB / 1.114 GB, free: 6.219 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 9.973e-05/1.021, allocations: 118.5 kB / 1.114 GB, free: 6.098 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001352/1.021, allocations: 78.28 kB / 1.114 GB, free: 6.016 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.216e-05/1.021, allocations: 7.906 kB / 1.114 GB, free: 6.008 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.025e-05/1.021, allocations: 8.609 kB / 1.114 GB, free: 5.996 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/1.021, allocations: 4 kB / 1.114 GB, free: 5.992 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/1.021, allocations: 0 / 1.114 GB, free: 5.992 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/1.021, allocations: 0 / 1.114 GB, free: 5.992 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001274/1.021, allocations: 157.8 kB / 1.114 GB, free: 5.805 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/1.021, allocations: 0 / 1.114 GB, free: 5.805 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.105e-05/1.021, allocations: 4 kB / 1.114 GB, free: 5.801 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/1.021, allocations: 4 kB / 1.114 GB, free: 5.797 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/1.021, allocations: 3.984 kB / 1.114 GB, free: 5.793 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/1.021, allocations: 0 / 1.114 GB, free: 5.793 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/1.021, allocations: 0 / 1.114 GB, free: 5.793 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000125/1.021, allocations: 105 kB / 1.114 GB, free: 5.672 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.402e-05/1.021, allocations: 85 kB / 1.114 GB, free: 5.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.711e-05/1.022, allocations: 7.938 kB / 1.114 GB, free: 5.562 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.044e-05/1.022, allocations: 0 / 1.114 GB, free: 5.562 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.73e-05/1.022, allocations: 11.98 kB / 1.114 GB, free: 5.551 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.914e-06/1.022, allocations: 4 kB / 1.114 GB, free: 5.547 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.386e-05/1.022, allocations: 87.28 kB / 1.114 GB, free: 5.461 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.41e-07/1.022, allocations: 1.781 kB / 1.114 GB, free: 5.461 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002483/1.022, allocations: 35.98 kB / 1.114 GB, free: 5.426 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.0006044/1.023, allocations: 0.6653 MB / 1.115 GB, free: 4.734 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003529/1.023, allocations: 230.7 kB / 1.115 GB, free: 4.484 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/1.023, allocations: 4 kB / 1.115 GB, free: 4.48 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.51e-05/1.023, allocations: 24 kB / 1.115 GB, free: 4.457 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002061/1.023, allocations: 9.078 kB / 1.115 GB, free: 4.449 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004011/1.024, allocations: 128.8 kB / 1.115 GB, free: 4.289 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003712/1.024, allocations: 0.6926 MB / 1.116 GB, free: 3.57 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.023e-05/1.024, allocations: 4 kB / 1.116 GB, free: 3.566 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.834e-05/1.024, allocations: 23.42 kB / 1.116 GB, free: 3.543 MB / 0.7136 GB Notification: Performance of SimCode: time 3.01e-07/1.024, allocations: 3.938 kB / 1.116 GB, free: 3.539 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02264/1.047, allocations: 2.162 MB / 1.118 GB, free: 1.449 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002305/1.047, allocations: 135 kB / 1.118 GB, free: 1.262 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.643/2.69, allocations: 0 / 1.118 GB, free: 1.262 MB / 0.7136 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)