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.746/1.746, allocations: 292.6 MB / 307.5 MB, free: 5.203 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.001146/0.001147, allocations: 191.9 kB / 377.1 MB, free: 1.516 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.702/1.702, allocations: 205.4 MB / 0.6366 GB, free: 9.512 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.0009231/0.0009231, allocations: 91.95 kB / 0.7509 GB, free: 62.46 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003312/0.0003313, allocations: 12 kB / 0.8749 GB, free: 11.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2585/0.2588, allocations: 116.3 MB / 0.9884 GB, free: 6.75 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6558/0.9147, allocations: 139.1 MB / 1.124 GB, free: 35.61 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002593/0.915, allocations: 70.73 kB / 1.124 GB, free: 35.55 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.008031/0.9231, allocations: 2.94 MB / 1.127 GB, free: 33.45 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.733e-06/0.9231, allocations: 0.5625 kB / 1.127 GB, free: 33.45 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 8.155e-06/0.9231, allocations: 4 kB / 1.127 GB, free: 33.44 MB / 0.7292 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.0004196/0.9235, allocations: 417.9 kB / 1.128 GB, free: 32.99 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.921e-05/0.9236, allocations: 12.02 kB / 1.128 GB, free: 32.98 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.041e-05/0.9236, allocations: 34.56 kB / 1.128 GB, free: 32.93 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.012e-05/0.9237, allocations: 14.75 kB / 1.128 GB, free: 32.92 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.408e-05/0.9238, allocations: 171.5 kB / 1.128 GB, free: 32.72 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.968e-05/0.9238, allocations: 4.562 kB / 1.128 GB, free: 32.71 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.875e-05/0.9239, allocations: 9.203 kB / 1.128 GB, free: 32.71 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001201/0.924, allocations: 52.58 kB / 1.128 GB, free: 32.66 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.924, allocations: 4 kB / 1.128 GB, free: 32.65 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.9241, allocations: 4.625 kB / 1.128 GB, free: 32.65 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.383e-06/0.9241, allocations: 2.469 kB / 1.128 GB, free: 32.65 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.382e-05/0.9241, allocations: 15.28 kB / 1.128 GB, free: 32.64 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004714/0.9246, allocations: 356.8 kB / 1.128 GB, free: 32.29 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 8.139e-05/0.9247, allocations: 34.52 kB / 1.128 GB, free: 32.25 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.087e-05/0.9247, allocations: 13.61 kB / 1.128 GB, free: 32.24 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001783/0.9249, allocations: 86.27 kB / 1.128 GB, free: 32.16 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 2.003e-06/0.9249, allocations: 0 / 1.128 GB, free: 32.16 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0002568/0.9252, allocations: 97.42 kB / 1.128 GB, free: 32.07 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.504e-05/0.9252, allocations: 56.25 kB / 1.129 GB, free: 32 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.951e-05/0.9253, allocations: 109.8 kB / 1.129 GB, free: 31.89 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.292e-05/0.9254, allocations: 29.7 kB / 1.129 GB, free: 31.85 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.848e-05/0.9254, allocations: 103.8 kB / 1.129 GB, free: 31.75 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.368e-05/0.9254, allocations: 11.81 kB / 1.129 GB, free: 31.74 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.742e-05/0.9255, allocations: 4 kB / 1.129 GB, free: 31.73 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.148e-05/0.9255, allocations: 326.3 kB / 1.129 GB, free: 31.41 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001158/0.9257, allocations: 54.94 kB / 1.129 GB, free: 31.36 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001304/0.9258, allocations: 94.08 kB / 1.129 GB, free: 31.27 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001258/0.9259, allocations: 119.8 kB / 1.129 GB, free: 31.14 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.926, allocations: 0 / 1.129 GB, free: 31.14 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003671/0.9263, allocations: 258.3 kB / 1.13 GB, free: 30.89 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 4.797e-05/0.9264, allocations: 67.02 kB / 1.13 GB, free: 30.82 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.9264, allocations: 4.5 kB / 1.13 GB, free: 30.82 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.9264, allocations: 4.547 kB / 1.13 GB, free: 30.82 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.248e-05/0.9265, allocations: 8.125 kB / 1.13 GB, free: 30.81 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.705e-06/0.9265, allocations: 0 / 1.13 GB, free: 30.81 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003182/0.9268, allocations: 70.84 kB / 1.13 GB, free: 30.75 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.414e-05/0.9268, allocations: 15.56 kB / 1.13 GB, free: 30.74 MB / 0.7292 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.0001183/0.927, allocations: 129.2 kB / 1.13 GB, free: 30.61 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.398e-05/0.927, allocations: 7.906 kB / 1.13 GB, free: 30.6 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.855e-05/0.927, allocations: 8.375 kB / 1.13 GB, free: 30.6 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.927, allocations: 0 / 1.13 GB, free: 30.6 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.819e-06/0.927, allocations: 4.75 kB / 1.13 GB, free: 30.59 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.9271, allocations: 0 / 1.13 GB, free: 30.59 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001049/0.9272, allocations: 180.3 kB / 1.13 GB, free: 30.38 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.9272, allocations: 4 kB / 1.13 GB, free: 30.38 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.969e-06/0.9272, allocations: 0 / 1.13 GB, free: 30.38 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.9272, allocations: 3.516 kB / 1.13 GB, free: 30.38 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.9272, allocations: 0.6875 kB / 1.13 GB, free: 30.38 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.9272, allocations: 7.938 kB / 1.13 GB, free: 30.37 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.9272, allocations: 0.9375 kB / 1.13 GB, free: 30.37 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001324/0.9274, allocations: 104.5 kB / 1.13 GB, free: 30.25 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.025e-05/0.9274, allocations: 89.02 kB / 1.13 GB, free: 30.15 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.039e-05/0.9275, allocations: 0.8125 kB / 1.13 GB, free: 30.15 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.439e-05/0.9275, allocations: 7.281 kB / 1.13 GB, free: 30.14 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.618e-05/0.9275, allocations: 11.22 kB / 1.13 GB, free: 30.14 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.015e-06/0.9276, allocations: 4 kB / 1.13 GB, free: 30.13 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.443e-05/0.9276, allocations: 91.64 kB / 1.13 GB, free: 30.05 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.21e-07/0.9276, allocations: 0 / 1.13 GB, free: 30.05 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000259/0.9279, allocations: 39.94 kB / 1.13 GB, free: 30.01 MB / 0.7292 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.0004562/0.9283, allocations: 0.6642 MB / 1.131 GB, free: 29.33 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003036/0.9287, allocations: 244.7 kB / 1.131 GB, free: 29.08 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.9287, allocations: 0 / 1.131 GB, free: 29.08 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 4.494e-05/0.9287, allocations: 27.94 kB / 1.131 GB, free: 29.05 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001904/0.9289, allocations: 20.55 kB / 1.131 GB, free: 29.04 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000658/0.9296, allocations: 0.9948 MB / 1.132 GB, free: 28 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001229/0.9297, allocations: 0.6877 MB / 1.133 GB, free: 27.29 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.343e-05/0.9298, allocations: 12.36 kB / 1.133 GB, free: 27.29 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.837e-05/0.9298, allocations: 23.38 kB / 1.133 GB, free: 27.27 MB / 0.7292 GB Notification: Performance of SimCode: time 3.4e-07/0.9298, allocations: 0 / 1.133 GB, free: 27.27 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01431/0.9441, allocations: 2.543 MB / 1.135 GB, free: 25.91 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001525/0.9443, allocations: 175 kB / 1.136 GB, free: 25.66 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.693/2.637, allocations: 0 / 1.136 GB, free: 25.66 MB / 0.7292 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)