Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Xor,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.458/1.458, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001241/0.001241, allocations: 187.8 kB / 326.5 MB, free: 2.23 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.194/2.194, allocations: 205.4 MB / 0.5775 GB, free: 20.24 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009082/0.0009082, allocations: 89.67 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003443/0.0003441, allocations: 12.47 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2505/0.2509, allocations: 106.3 MB / 0.9002 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1753/0.4263, allocations: 131.4 MB / 1.029 GB, free: 12.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003284/0.4267, allocations: 75.94 kB / 1.029 GB, free: 12.12 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.00265/0.4293, allocations: 0.9034 MB / 1.029 GB, free: 11.21 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.045e-06/0.4294, allocations: 0 / 1.029 GB, free: 11.21 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.027e-05/0.4294, allocations: 0 / 1.029 GB, free: 11.21 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005796/0.43, allocations: 375.1 kB / 1.03 GB, free: 10.8 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.875e-05/0.43, allocations: 11.97 kB / 1.03 GB, free: 10.79 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.8e-05/0.4301, allocations: 34.56 kB / 1.03 GB, free: 10.75 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.268e-05/0.4302, allocations: 4 kB / 1.03 GB, free: 10.74 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001861/0.4303, allocations: 178.9 kB / 1.03 GB, free: 10.53 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.653e-05/0.4304, allocations: 8 kB / 1.03 GB, free: 10.52 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.807e-05/0.4304, allocations: 4 kB / 1.03 GB, free: 10.52 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001441/0.4305, allocations: 49.62 kB / 1.03 GB, free: 10.46 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.4306, allocations: 0 / 1.03 GB, free: 10.46 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.503e-05/0.4306, allocations: 4 kB / 1.03 GB, free: 10.46 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.4306, allocations: 0 / 1.03 GB, free: 10.46 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.511e-05/0.4307, allocations: 23.98 kB / 1.03 GB, free: 10.43 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005362/0.4312, allocations: 280.8 kB / 1.03 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001259/0.4314, allocations: 46.56 kB / 1.03 GB, free: 10.05 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.403e-05/0.4314, allocations: 3.938 kB / 1.03 GB, free: 10.05 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002041/0.4316, allocations: 71.58 kB / 1.031 GB, free: 9.969 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 1.483e-06/0.4316, allocations: 4 kB / 1.031 GB, free: 9.965 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.0002417/0.4319, allocations: 85.58 kB / 1.031 GB, free: 9.875 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.784e-05/0.4319, allocations: 59.41 kB / 1.031 GB, free: 9.805 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001045/0.432, allocations: 108.9 kB / 1.031 GB, free: 9.691 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.313e-05/0.4321, allocations: 33.7 kB / 1.031 GB, free: 9.652 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.838e-05/0.4321, allocations: 80.14 kB / 1.031 GB, free: 9.57 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.57e-05/0.4322, allocations: 27.72 kB / 1.031 GB, free: 9.543 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.37e-06/0.4322, allocations: 0 / 1.031 GB, free: 9.543 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000137/0.4323, allocations: 318.8 kB / 1.031 GB, free: 9.223 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.309e-05/0.4324, allocations: 15.98 kB / 1.031 GB, free: 9.207 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.035e-05/0.4324, allocations: 34.58 kB / 1.031 GB, free: 9.164 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.996e-05/0.4325, allocations: 12.62 kB / 1.031 GB, free: 9.152 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.4325, allocations: 0 / 1.031 GB, free: 9.152 MB / 0.6823 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001271/0.4326, allocations: 77.53 kB / 1.031 GB, free: 9.07 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.4327, allocations: 12.05 kB / 1.031 GB, free: 9.059 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.4327, allocations: 4 kB / 1.031 GB, free: 9.055 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.4327, allocations: 0 / 1.031 GB, free: 9.055 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.195e-05/0.4328, allocations: 7.938 kB / 1.031 GB, free: 9.047 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.259e-05/0.4328, allocations: 4.062 kB / 1.031 GB, free: 9.043 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.266e-05/0.4329, allocations: 27.86 kB / 1.031 GB, free: 9.016 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.09e-05/0.4329, allocations: 7.953 kB / 1.031 GB, free: 9.008 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,booPul1.y,$PRE.booPul1.pulseStart,booPul1.pulseStart,booPul2.y,$PRE.booPul2.pulseStart,booPul2.pulseStart,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): 9 * Array equations: 0 * Algorithm blocks: 0 * 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.0001049/0.433, allocations: 119.7 kB / 1.032 GB, free: 8.883 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.808e-06/0.433, allocations: 0 / 1.032 GB, free: 8.883 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.032e-05/0.4331, allocations: 12.38 kB / 1.032 GB, free: 8.875 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.4331, allocations: 3.984 kB / 1.032 GB, free: 8.871 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.4331, allocations: 0 / 1.032 GB, free: 8.871 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.4331, allocations: 0 / 1.032 GB, free: 8.871 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001767/0.4333, allocations: 181.5 kB / 1.032 GB, free: 8.645 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.4333, allocations: 0 / 1.032 GB, free: 8.645 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.066e-05/0.4333, allocations: 4 kB / 1.032 GB, free: 8.641 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.4333, allocations: 0 / 1.032 GB, free: 8.641 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/0.4333, allocations: 8 kB / 1.032 GB, free: 8.633 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.4333, allocations: 7.938 kB / 1.032 GB, free: 8.625 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.4333, allocations: 0 / 1.032 GB, free: 8.625 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001405/0.4335, allocations: 97.06 kB / 1.032 GB, free: 8.512 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.413e-05/0.4336, allocations: 89 kB / 1.032 GB, free: 8.406 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.604e-05/0.4336, allocations: 0 / 1.032 GB, free: 8.406 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.389e-05/0.4337, allocations: 15.98 kB / 1.032 GB, free: 8.391 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.096e-05/0.4337, allocations: 19.97 kB / 1.032 GB, free: 8.371 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.47e-06/0.4337, allocations: 0 / 1.032 GB, free: 8.371 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 6.036e-05/0.4338, allocations: 91.27 kB / 1.032 GB, free: 8.281 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4338, allocations: 0 / 1.032 GB, free: 8.281 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.000191/0.434, allocations: 16.19 kB / 1.032 GB, free: 8.266 MB / 0.6823 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 ($whenCondition2,$whenCondition1,booPul1.y,booPul1.pulseStart,booPul2.y,booPul2.pulseStart,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.0004822/0.4345, allocations: 0.6442 MB / 1.033 GB, free: 7.59 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001312/0.4346, allocations: 43.91 kB / 1.033 GB, free: 7.547 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.4347, allocations: 0 / 1.033 GB, free: 7.547 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 5.485e-05/0.4347, allocations: 27.98 kB / 1.033 GB, free: 7.52 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000197/0.4349, allocations: 8 kB / 1.033 GB, free: 7.512 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009552/0.4359, allocations: 0.7922 MB / 1.034 GB, free: 6.656 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003169/0.4362, allocations: 0.6926 MB / 1.034 GB, free: 5.938 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.801e-05/0.4363, allocations: 7.984 kB / 1.034 GB, free: 5.93 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.871e-05/0.4363, allocations: 15.44 kB / 1.034 GB, free: 5.914 MB / 0.6823 GB Notification: Performance of SimCode: time 2.4e-07/0.4363, allocations: 0 / 1.034 GB, free: 5.914 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01258/0.4489, allocations: 1.598 MB / 1.036 GB, free: 4.453 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002129/0.4492, allocations: 189.4 kB / 1.036 GB, free: 4.215 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.502/1.951, allocations: 0 / 1.036 GB, free: 4.215 MB / 0.6823 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Xor_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Xor.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1)