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.001134/0.001134, allocations: 73.88 kB / 20.65 MB, free: 3.844 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.001311/0.001311, allocations: 169 kB / 24.05 MB, free: 452 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.025/1.025, allocations: 177.1 MB / 204.5 MB, free: 5.266 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.6058/0.6058, allocations: 115 MB / 376 MB, free: 7.441 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 1.583e-06/1.583e-06, allocations: 0.875 kB / 482 MB, free: 11.74 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.16e-05/1.319e-05, allocations: 8.875 kB / 482 MB, free: 11.73 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Xor): time 0.001096/0.001109, allocations: 0.6419 MB / 482.6 MB, free: 11.36 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001101/0.002209, allocations: 1.239 MB / 483.9 MB, free: 10.48 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.914e-05/0.002259, allocations: 1.75 kB / 483.9 MB, free: 10.48 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.876e-05/0.002287, allocations: 5.062 kB / 483.9 MB, free: 10.48 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 7.202e-05/0.002359, allocations: 6.219 kB / 483.9 MB, free: 10.48 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005184/0.002878, allocations: 211.3 kB / 484.1 MB, free: 10.37 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002258/0.003104, allocations: 173.6 kB / 484.2 MB, free: 10.3 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.752e-05/0.003191, allocations: 10.95 kB / 484.3 MB, free: 10.29 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001309/0.003322, allocations: 98.45 kB / 484.4 MB, free: 10.25 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001184/0.003441, allocations: 52.53 kB / 484.4 MB, free: 10.23 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.512e-05/0.003476, allocations: 15.03 kB / 484.4 MB, free: 10.23 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.794e-05/0.003554, allocations: 34.67 kB / 484.5 MB, free: 10.23 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.166e-05/0.003575, allocations: 6.109 kB / 484.5 MB, free: 10.23 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.686e-05/0.003632, allocations: 57.31 kB / 484.5 MB, free: 10.2 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001714/0.003804, allocations: 129.2 kB / 484.6 MB, free: 10.14 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.844e-06/0.003805, allocations: 0.5312 kB / 484.6 MB, free: 10.14 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.003807, allocations: 0 / 484.6 MB, free: 10.14 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.927e-06/0.003811, allocations: 0.5938 kB / 484.6 MB, free: 10.14 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.0004039/0.004214, allocations: 476.5 kB / 485.1 MB, free: 9.68 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.673e-05/0.004271, allocations: 8.75 kB / 485.1 MB, free: 9.68 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.055e-05/0.004332, allocations: 14.27 kB / 485.1 MB, free: 9.676 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.748e-05/0.004419, allocations: 111.7 kB / 485.2 MB, free: 9.543 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.846e-05/0.004438, allocations: 9.562 kB / 485.3 MB, free: 9.543 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.714e-05/0.004465, allocations: 13.88 kB / 485.3 MB, free: 9.539 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.935e-05/0.004564, allocations: 40.06 kB / 485.3 MB, free: 9.508 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.004575, allocations: 2.312 kB / 485.3 MB, free: 9.508 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.865e-06/0.004583, allocations: 4.312 kB / 485.3 MB, free: 9.504 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.085e-05/0.004594, allocations: 5.484 kB / 485.3 MB, free: 9.5 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.7e-05/0.004621, allocations: 18.31 kB / 485.3 MB, free: 9.492 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005761/0.005197, allocations: 307.6 kB / 485.6 MB, free: 25.23 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.121e-05/0.005258, allocations: 35.8 kB / 485.7 MB, free: 25.19 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.759e-05/0.005276, allocations: 11.72 kB / 485.7 MB, free: 25.18 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.386e-06/0.005284, allocations: 2.406 kB / 485.7 MB, free: 25.18 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001056/0.00539, allocations: 86.12 kB / 485.8 MB, free: 25.11 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 1.443e-06/0.005391, allocations: 1.031 kB / 485.8 MB, free: 25.11 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001822/0.005573, allocations: 101.3 kB / 485.9 MB, free: 25.06 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.05e-05/0.005594, allocations: 52.47 kB / 485.9 MB, free: 25 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.869e-05/0.005662, allocations: 182 kB / 486.1 MB, free: 24.82 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.736e-05/0.00568, allocations: 29.61 kB / 486.1 MB, free: 24.79 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.654e-05/0.005726, allocations: 143.4 kB / 486.3 MB, free: 24.65 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.197e-05/0.005738, allocations: 16.73 kB / 486.3 MB, free: 24.64 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.231e-05/0.005801, allocations: 60.39 kB / 486.3 MB, free: 24.61 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.00591, allocations: 0.4893 MB / 486.8 MB, free: 24.11 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.713e-05/0.005988, allocations: 97.38 kB / 486.9 MB, free: 24.05 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.649e-05/0.006064, allocations: 150.7 kB / 487.1 MB, free: 23.92 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.897e-05/0.006153, allocations: 152.1 kB / 487.2 MB, free: 23.78 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.006155, allocations: 1.062 kB / 487.2 MB, free: 23.78 MB / 426.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002428/0.006398, allocations: 310.8 kB / 487.5 MB, free: 23.59 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.184e-05/0.00643, allocations: 70.42 kB / 487.6 MB, free: 23.52 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.311e-06/0.006436, allocations: 1.562 kB / 487.6 MB, free: 23.52 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.006448, allocations: 1.5 kB / 487.6 MB, free: 23.52 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.603e-05/0.006464, allocations: 9.188 kB / 487.6 MB, free: 23.51 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.777e-06/0.006468, allocations: 2.25 kB / 487.6 MB, free: 23.51 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001541/0.006622, allocations: 41.83 kB / 487.6 MB, free: 23.51 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.901e-05/0.006641, allocations: 11.62 kB / 487.7 MB, free: 23.51 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.049e-05/0.006721, allocations: 165.5 kB / 487.8 MB, free: 23.34 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.247e-05/0.006734, allocations: 8.469 kB / 487.8 MB, free: 23.34 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.506e-05/0.006759, allocations: 13.72 kB / 487.8 MB, free: 23.33 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.006761, allocations: 2.562 kB / 487.8 MB, free: 23.33 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.006766, allocations: 4.875 kB / 487.8 MB, free: 23.33 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.006769, allocations: 3.938 kB / 487.9 MB, free: 23.32 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.682e-05/0.006835, allocations: 113.4 kB / 488 MB, free: 23.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.006838, allocations: 0.5625 kB / 488 MB, free: 23.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.834e-06/0.006846, allocations: 9.953 kB / 488 MB, free: 23.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.006847, allocations: 0 / 488 MB, free: 23.2 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.169e-06/0.006852, allocations: 4.656 kB / 488 MB, free: 23.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.006853, allocations: 0 / 488 MB, free: 23.2 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.006855, allocations: 3.938 kB / 488 MB, free: 23.19 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.5e-05/0.00695, allocations: 105.4 kB / 488.1 MB, free: 23.11 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.386e-06/0.006958, allocations: 11.25 kB / 488.1 MB, free: 23.1 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.316e-06/0.006967, allocations: 1.281 kB / 488.1 MB, free: 23.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.243e-05/0.006979, allocations: 1.156 kB / 488.1 MB, free: 23.1 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.85e-05/0.007008, allocations: 16.86 kB / 488.1 MB, free: 23.09 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-06/0.007011, allocations: 1.375 kB / 488.1 MB, free: 23.09 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.17e-05/0.007053, allocations: 133.1 kB / 488.2 MB, free: 22.97 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007053, allocations: 0 / 488.2 MB, free: 22.97 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001647/0.007218, allocations: 34.94 kB / 488.3 MB, free: 22.96 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 9.761e-05/0.007315, allocations: 105.2 kB / 488.4 MB, free: 22.88 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002152/0.00753, allocations: 265.1 kB / 488.6 MB, free: 22.66 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.007532, allocations: 0 / 488.6 MB, free: 22.66 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.113e-05/0.007563, allocations: 29.62 kB / 488.7 MB, free: 22.64 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001715/0.007735, allocations: 18.42 kB / 488.7 MB, free: 22.64 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002398/0.007975, allocations: 148.9 kB / 488.8 MB, free: 22.51 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.016e-05/0.008005, allocations: 64.42 kB / 488.9 MB, free: 22.43 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.366e-05/0.008028, allocations: 4.844 kB / 488.9 MB, free: 22.43 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001137/0.008142, allocations: 108.3 kB / 489 MB, free: 22.36 MB / 426.7 MB Notification: Performance of SimCode: time 7.41e-07/0.008143, allocations: 0 / 489 MB, free: 22.36 MB / 426.7 MB Notification: Performance of Templates: time 0.003587/0.01173, allocations: 2.252 MB / 491.3 MB, free: 22.17 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.4550294810906053]