Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001314/0.001314, allocations: 80.92 kB / 20.75 MB, free: 3.742 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001503/0.001503, allocations: 161 kB / 24.17 MB, free: 332 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.04/1.04, allocations: 177.2 MB / 204.6 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 2.009/2.009, allocations: 389.6 MB / 0.6354 GB, free: 12.3 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Xor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Xor") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Xor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Xor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 0.7752 GB, free: 5.418 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.545e-05/1.71e-05, allocations: 3.625 kB / 0.7752 GB, free: 5.414 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.001174/0.001191, allocations: 0.6661 MB / 0.7758 GB, free: 4.77 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001235/0.002425, allocations: 1.25 MB / 0.777 GB, free: 3.512 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.314e-05/0.002469, allocations: 0 / 0.777 GB, free: 3.512 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 2.851e-05/0.002497, allocations: 4.594 kB / 0.777 GB, free: 3.508 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 8.324e-05/0.00258, allocations: 11.98 kB / 0.7771 GB, free: 3.5 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005267/0.003107, allocations: 215.8 kB / 0.7773 GB, free: 3.293 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001869/0.003294, allocations: 179.3 kB / 0.7774 GB, free: 3.129 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 6.444e-05/0.003358, allocations: 0 / 0.7774 GB, free: 3.129 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001101/0.003468, allocations: 95.92 kB / 0.7775 GB, free: 3.035 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001027/0.003571, allocations: 63.77 kB / 0.7776 GB, free: 2.973 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.558e-05/0.003597, allocations: 16 kB / 0.7776 GB, free: 2.957 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 6.065e-05/0.003657, allocations: 20 kB / 0.7776 GB, free: 2.938 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.967e-05/0.003677, allocations: 11.98 kB / 0.7776 GB, free: 2.926 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 4.989e-05/0.003727, allocations: 57.05 kB / 0.7777 GB, free: 2.871 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001481/0.003875, allocations: 135.7 kB / 0.7778 GB, free: 2.738 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.893e-06/0.003877, allocations: 3.938 kB / 0.7778 GB, free: 2.734 MB / 0.7292 GB Notification: Performance of FrontEnd: time 8.51e-07/0.003878, allocations: 1 kB / 0.7778 GB, free: 2.734 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.206e-06/0.003881, allocations: 3.938 kB / 0.7778 GB, free: 2.73 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.0003354/0.004216, allocations: 324.2 kB / 0.7781 GB, free: 2.375 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.218e-05/0.004249, allocations: 17.92 kB / 0.7781 GB, free: 2.359 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.397e-05/0.004283, allocations: 13.61 kB / 0.7782 GB, free: 2.348 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.871e-05/0.004361, allocations: 109.8 kB / 0.7783 GB, free: 2.215 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/0.004374, allocations: 9.875 kB / 0.7783 GB, free: 2.207 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.97e-05/0.004394, allocations: 8.375 kB / 0.7783 GB, free: 2.199 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.272e-05/0.004457, allocations: 42.23 kB / 0.7783 GB, free: 2.152 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.741e-06/0.004463, allocations: 192 / 0.7783 GB, free: 2.152 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.442e-06/0.004469, allocations: 1.188 kB / 0.7783 GB, free: 2.152 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.004475, allocations: 4.375 kB / 0.7783 GB, free: 2.148 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.513e-05/0.00449, allocations: 12.38 kB / 0.7783 GB, free: 2.137 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002457/0.004736, allocations: 193.4 kB / 0.7785 GB, free: 1.934 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 5.08e-05/0.004787, allocations: 26.56 kB / 0.7785 GB, free: 1.898 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.483e-05/0.004802, allocations: 8.859 kB / 0.7786 GB, free: 1.887 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 5.41e-06/0.004807, allocations: 1.219 kB / 0.7786 GB, free: 1.887 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.999e-05/0.004887, allocations: 83.38 kB / 0.7786 GB, free: 1.793 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 7.91e-07/0.004888, allocations: 0 / 0.7786 GB, free: 1.793 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0001179/0.005006, allocations: 70.78 kB / 0.7787 GB, free: 1.719 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.573e-05/0.005041, allocations: 51.41 kB / 0.7788 GB, free: 1.656 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.281e-05/0.005104, allocations: 127.5 kB / 0.7789 GB, free: 1.52 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.148e-05/0.005126, allocations: 33.7 kB / 0.7789 GB, free: 1.48 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.848e-05/0.005164, allocations: 93.59 kB / 0.779 GB, free: 1.387 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.254e-05/0.005177, allocations: 11.89 kB / 0.779 GB, free: 1.375 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.736e-05/0.005234, allocations: 49.67 kB / 0.7791 GB, free: 1.32 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.779e-05/0.005322, allocations: 318.8 kB / 0.7794 GB, free: 1 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.324e-05/0.005395, allocations: 95.97 kB / 0.7795 GB, free: 0.8945 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.481e-05/0.00548, allocations: 123.7 kB / 0.7796 GB, free: 0.7461 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001005/0.00558, allocations: 146 kB / 0.7797 GB, free: 0.5781 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.005583, allocations: 0 / 0.7797 GB, free: 0.5781 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001864/0.005769, allocations: 265.3 kB / 0.78 GB, free: 296 kB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 4.142e-05/0.00581, allocations: 67.39 kB / 0.78 GB, free: 216 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.005816, allocations: 4.5 kB / 0.78 GB, free: 212 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.005831, allocations: 7.781 kB / 0.78 GB, free: 208 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.731e-05/0.005848, allocations: 3.938 kB / 0.78 GB, free: 204 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.675e-06/0.005856, allocations: 15.98 kB / 0.7801 GB, free: 188 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001459/0.006002, allocations: 31.97 kB / 0.7801 GB, free: 156 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.335e-05/0.006025, allocations: 11.98 kB / 0.7801 GB, free: 144 kB / 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,xor1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.461e-05/0.0061, allocations: 121.8 kB / 0.7802 GB, free: 12 kB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.073e-05/0.006111, allocations: 7.984 kB / 0.7802 GB, free: 4 kB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.331e-05/0.006144, allocations: 11.48 kB / 0.7802 GB, free: 16 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.006149, allocations: 7.938 kB / 0.7802 GB, free: 15.99 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.006151, allocations: 4 kB / 0.7802 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.006154, allocations: 0 / 0.7802 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.554e-05/0.00623, allocations: 73.88 kB / 0.7803 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.006231, allocations: 0 / 0.7803 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.731e-06/0.006237, allocations: 7.938 kB / 0.7803 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.006238, allocations: 0 / 0.7803 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.51e-06/0.006244, allocations: 5.156 kB / 0.7803 GB, free: 15.88 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.006245, allocations: 0 / 0.7803 GB, free: 15.88 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.006246, allocations: 0 / 0.7803 GB, free: 15.88 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.989e-05/0.006316, allocations: 86.28 kB / 0.7804 GB, free: 15.78 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.045e-06/0.006324, allocations: 11.94 kB / 0.7804 GB, free: 15.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.985e-06/0.006332, allocations: 0 / 0.7804 GB, free: 15.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.045e-05/0.006342, allocations: 0.875 kB / 0.7804 GB, free: 15.77 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.982e-05/0.006372, allocations: 15.92 kB / 0.7804 GB, free: 15.75 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.916e-06/0.006375, allocations: 0 / 0.7804 GB, free: 15.75 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 1.327e-05/0.006388, allocations: 14.2 kB / 0.7805 GB, free: 15.74 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.006388, allocations: 0 / 0.7805 GB, free: 15.74 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001301/0.006518, allocations: 36.55 kB / 0.7805 GB, free: 15.7 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 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.243e-05/0.006611, allocations: 85.94 kB / 0.7806 GB, free: 15.61 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001873/0.006798, allocations: 257.6 kB / 0.7808 GB, free: 15.32 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.006803, allocations: 5.219 kB / 0.7808 GB, free: 15.32 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.204e-05/0.006825, allocations: 20.84 kB / 0.7808 GB, free: 15.29 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001066/0.006931, allocations: 16.98 kB / 0.7809 GB, free: 15.28 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002193/0.007151, allocations: 162.1 kB / 0.781 GB, free: 15.09 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.883e-05/0.00718, allocations: 60.52 kB / 0.7811 GB, free: 15.01 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.893e-05/0.007199, allocations: 12.17 kB / 0.7811 GB, free: 15 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.215e-05/0.007291, allocations: 84.22 kB / 0.7812 GB, free: 14.92 MB / 0.7448 GB Notification: Performance of SimCode: time 6.12e-07/0.007291, allocations: 3.938 kB / 0.7812 GB, free: 14.91 MB / 0.7448 GB Notification: Performance of Templates: time 0.003364/0.01065, allocations: 2.232 MB / 0.7833 GB, free: 12.81 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Xor -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.180906281806529]