Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001008/0.001008, allocations: 84.22 kB / 20.94 MB, free: 3.609 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.0009886/0.0009886, allocations: 169 kB / 24.25 MB, free: 308 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.035/1.035, allocations: 177.1 MB / 204.6 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.6435/0.6435, allocations: 115 MB / 376 MB, free: 7.645 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Controls.OBC.CDL.Logical.Validation.Xor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Xor") translateModel(IBPSA.Controls.OBC.CDL.Logical.Validation.Xor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Xor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.767e-06/3.767e-06, allocations: 0 / 481.5 MB, free: 11.94 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 6.721e-05/7.097e-05, allocations: 5.266 kB / 481.5 MB, free: 11.94 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Xor): time 0.001441/0.001512, allocations: 0.6457 MB / 482.2 MB, free: 11.57 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001192/0.002704, allocations: 1.234 MB / 483.4 MB, free: 10.7 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.035e-05/0.002754, allocations: 0 / 483.4 MB, free: 10.7 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.97e-05/0.002784, allocations: 3.938 kB / 483.4 MB, free: 10.69 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 7.228e-05/0.002856, allocations: 12.34 kB / 483.4 MB, free: 10.68 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005003/0.003357, allocations: 214.1 kB / 483.6 MB, free: 10.58 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001773/0.003534, allocations: 174 kB / 483.8 MB, free: 10.5 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.602e-05/0.00363, allocations: 5.812 kB / 483.8 MB, free: 10.5 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001198/0.00375, allocations: 102.1 kB / 483.9 MB, free: 10.46 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001046/0.003854, allocations: 48.62 kB / 484 MB, free: 10.45 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.365e-05/0.003888, allocations: 17.56 kB / 484 MB, free: 10.45 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.643e-05/0.003964, allocations: 27.62 kB / 484 MB, free: 10.44 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.295e-05/0.003987, allocations: 11.81 kB / 484 MB, free: 10.43 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.345e-05/0.004051, allocations: 47.41 kB / 484.1 MB, free: 10.41 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001722/0.004223, allocations: 142.7 kB / 484.2 MB, free: 10.35 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.004227, allocations: 0 / 484.2 MB, free: 10.35 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.004228, allocations: 1.781 kB / 484.2 MB, free: 10.35 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.004233, allocations: 0 / 484.2 MB, free: 10.35 MB / 410.7 MB 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.0004169/0.00465, allocations: 465.8 kB / 484.6 MB, free: 9.891 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.004691, allocations: 10.06 kB / 484.7 MB, free: 9.891 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.195e-05/0.004753, allocations: 18.33 kB / 484.7 MB, free: 9.887 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.698e-05/0.00483, allocations: 116.2 kB / 484.8 MB, free: 9.75 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.654e-05/0.004847, allocations: 5.406 kB / 484.8 MB, free: 9.75 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.554e-05/0.004872, allocations: 9.312 kB / 484.8 MB, free: 9.75 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.998e-05/0.004962, allocations: 49.97 kB / 484.9 MB, free: 9.711 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.00497, allocations: 192 / 484.9 MB, free: 9.711 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.00498, allocations: 2.469 kB / 484.9 MB, free: 9.711 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.004988, allocations: 384 / 484.9 MB, free: 9.711 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.023e-05/0.005018, allocations: 19.11 kB / 484.9 MB, free: 9.703 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003467/0.005365, allocations: 328.5 kB / 485.2 MB, free: 9.414 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.785e-05/0.005433, allocations: 37.75 kB / 485.2 MB, free: 9.375 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.197e-05/0.005455, allocations: 15.08 kB / 485.2 MB, free: 9.363 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.074e-06/0.005462, allocations: 1.719 kB / 485.2 MB, free: 9.363 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001083/0.00557, allocations: 95.17 kB / 485.3 MB, free: 9.289 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.894e-06/0.005572, allocations: 0.625 kB / 485.3 MB, free: 9.289 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002097/0.005782, allocations: 96.27 kB / 485.4 MB, free: 9.246 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.876e-05/0.005811, allocations: 52.41 kB / 485.5 MB, free: 9.184 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002663/0.006077, allocations: 178.6 kB / 485.7 MB, free: 25.01 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.133e-05/0.006098, allocations: 29.7 kB / 485.7 MB, free: 24.98 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.122e-05/0.006159, allocations: 139 kB / 485.8 MB, free: 24.84 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.433e-05/0.006174, allocations: 19.31 kB / 485.8 MB, free: 24.83 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.863e-05/0.006242, allocations: 57.45 kB / 485.9 MB, free: 24.8 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001175/0.00636, allocations: 0.4884 MB / 486.4 MB, free: 24.3 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001075/0.006467, allocations: 118.4 kB / 486.5 MB, free: 24.22 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001197/0.006587, allocations: 157.9 kB / 486.7 MB, free: 24.09 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00012/0.006707, allocations: 167 kB / 486.8 MB, free: 23.95 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.006709, allocations: 1.094 kB / 486.8 MB, free: 23.95 MB / 426.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003127/0.007022, allocations: 322.9 kB / 487.1 MB, free: 23.75 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.946e-05/0.007062, allocations: 68.86 kB / 487.2 MB, free: 23.68 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.007067, allocations: 1.656 kB / 487.2 MB, free: 23.68 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.007084, allocations: 2.062 kB / 487.2 MB, free: 23.68 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.959e-05/0.007103, allocations: 6.438 kB / 487.2 MB, free: 23.68 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.495e-06/0.007111, allocations: 3.562 kB / 487.2 MB, free: 23.68 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001724/0.007283, allocations: 41.06 kB / 487.3 MB, free: 23.67 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.282e-05/0.007306, allocations: 19.69 kB / 487.3 MB, free: 23.66 MB / 426.7 MB 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 8.051e-05/0.007387, allocations: 163.9 kB / 487.4 MB, free: 23.5 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.24e-05/0.007399, allocations: 14.12 kB / 487.5 MB, free: 23.5 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.196e-05/0.007421, allocations: 5.656 kB / 487.5 MB, free: 23.49 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.007424, allocations: 1.594 kB / 487.5 MB, free: 23.49 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.007427, allocations: 4.625 kB / 487.5 MB, free: 23.49 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.00743, allocations: 0 / 487.5 MB, free: 23.49 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.1e-05/0.007501, allocations: 134.2 kB / 487.6 MB, free: 23.34 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.007502, allocations: 1.188 kB / 487.6 MB, free: 23.34 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.751e-06/0.007508, allocations: 1.5 kB / 487.6 MB, free: 23.34 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.00751, allocations: 0.5625 kB / 487.6 MB, free: 23.34 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.366e-06/0.007519, allocations: 10.38 kB / 487.6 MB, free: 23.33 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.215e-06/0.007521, allocations: 8.375 kB / 487.6 MB, free: 23.33 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.007522, allocations: 0 / 487.6 MB, free: 23.33 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001261/0.007648, allocations: 113.8 kB / 487.7 MB, free: 23.24 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.977e-06/0.007657, allocations: 6.484 kB / 487.7 MB, free: 23.23 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.308e-05/0.00767, allocations: 6.844 kB / 487.7 MB, free: 23.23 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.419e-05/0.007684, allocations: 3.656 kB / 487.7 MB, free: 23.23 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.523e-05/0.007729, allocations: 7.5 kB / 487.8 MB, free: 23.23 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.007e-06/0.007738, allocations: 5.703 kB / 487.8 MB, free: 23.23 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.204e-05/0.00779, allocations: 130.7 kB / 487.9 MB, free: 23.11 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00779, allocations: 1.188 kB / 487.9 MB, free: 23.11 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001653/0.007956, allocations: 33.91 kB / 487.9 MB, free: 23.1 MB / 426.7 MB 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 0.0001442/0.0081, allocations: 108.4 kB / 488 MB, free: 23 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002613/0.008361, allocations: 281.2 kB / 488.3 MB, free: 22.79 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.008363, allocations: 0 / 488.3 MB, free: 22.79 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.378e-05/0.008397, allocations: 25.64 kB / 488.3 MB, free: 22.77 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001778/0.008574, allocations: 17.61 kB / 488.3 MB, free: 22.77 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002767/0.008851, allocations: 159.3 kB / 488.5 MB, free: 22.63 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.764e-05/0.008879, allocations: 58.19 kB / 488.6 MB, free: 22.56 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.439e-05/0.008903, allocations: 4.719 kB / 488.6 MB, free: 22.56 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.014e-05/0.008923, allocations: 13.66 kB / 488.6 MB, free: 22.55 MB / 426.7 MB Notification: Performance of SimCode: time 6.11e-07/0.008924, allocations: 0 / 488.6 MB, free: 22.55 MB / 426.7 MB Notification: Performance of Templates: time 0.003942/0.01287, allocations: 2.071 MB / 490.6 MB, free: 22.38 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Xor.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Xor.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Xor.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Xor -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5602484359405935]