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.00141/0.00141, allocations: 92.72 kB / 20.21 MB, free: 4.223 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.001578/0.001578, allocations: 157.7 kB / 23.51 MB, free: 0.9219 MB / 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.553/1.553, allocations: 177.1 MB / 203.9 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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.9756/0.9756, allocations: 115 MB / 375.3 MB, free: 7.578 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.774e-06/1.774e-06, allocations: 0 / 480.8 MB, free: 11.85 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.79e-05/3.968e-05, allocations: 3.781 kB / 480.8 MB, free: 11.85 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Xor): time 0.001582/0.001622, allocations: 0.6348 MB / 481.4 MB, free: 11.48 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001379/0.003001, allocations: 1.21 MB / 482.6 MB, free: 10.61 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.791e-05/0.003049, allocations: 3.938 kB / 482.6 MB, free: 10.6 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.143e-05/0.00308, allocations: 0 / 482.6 MB, free: 10.6 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 9.04e-05/0.00317, allocations: 16.48 kB / 482.7 MB, free: 10.59 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005482/0.003719, allocations: 218.7 kB / 482.9 MB, free: 10.48 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001896/0.003908, allocations: 168.1 kB / 483 MB, free: 10.41 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.396e-05/0.004002, allocations: 12.08 kB / 483 MB, free: 10.4 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001381/0.00414, allocations: 92.42 kB / 483.1 MB, free: 10.37 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000128/0.004268, allocations: 52.12 kB / 483.2 MB, free: 10.35 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.101e-05/0.004309, allocations: 16.47 kB / 483.2 MB, free: 10.35 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.252e-05/0.004382, allocations: 30.86 kB / 483.2 MB, free: 10.35 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.327e-05/0.004405, allocations: 6.734 kB / 483.2 MB, free: 10.34 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.266e-05/0.004478, allocations: 53.23 kB / 483.3 MB, free: 10.32 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002118/0.00469, allocations: 186.1 kB / 483.5 MB, free: 10.25 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.004694, allocations: 4.344 kB / 483.5 MB, free: 10.25 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.12e-07/0.004695, allocations: 0 / 483.5 MB, free: 10.25 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.004699, allocations: 0 / 483.5 MB, free: 10.25 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.0004276/0.005127, allocations: 357.2 kB / 483.8 MB, free: 9.902 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.005164, allocations: 9.656 kB / 483.8 MB, free: 9.902 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.65e-05/0.00523, allocations: 10.09 kB / 483.8 MB, free: 9.902 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.816e-05/0.005298, allocations: 120.8 kB / 484 MB, free: 9.766 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.922e-05/0.005317, allocations: 10 kB / 484 MB, free: 9.762 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.22e-05/0.00535, allocations: 9.219 kB / 484 MB, free: 9.762 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.951e-05/0.005449, allocations: 51.8 kB / 484 MB, free: 9.723 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.005457, allocations: 0.75 kB / 484 MB, free: 9.723 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.378e-06/0.005466, allocations: 384 / 484 MB, free: 9.723 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.409e-06/0.005471, allocations: 6.188 kB / 484 MB, free: 9.719 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.297e-05/0.005513, allocations: 18.91 kB / 484.1 MB, free: 9.711 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003742/0.005888, allocations: 273.8 kB / 484.3 MB, free: 9.48 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.608e-05/0.005964, allocations: 37.27 kB / 484.4 MB, free: 9.445 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.743e-05/0.005991, allocations: 13.66 kB / 484.4 MB, free: 9.438 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.102e-05/0.006012, allocations: 1.094 kB / 484.4 MB, free: 9.438 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001614/0.006174, allocations: 87.95 kB / 484.5 MB, free: 9.375 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.092e-06/0.006175, allocations: 1.125 kB / 484.5 MB, free: 9.375 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002514/0.006426, allocations: 112.6 kB / 484.6 MB, free: 9.316 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.56e-05/0.006452, allocations: 54.97 kB / 484.6 MB, free: 9.254 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.981e-05/0.006522, allocations: 114 kB / 484.7 MB, free: 9.148 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.694e-05/0.006548, allocations: 34.33 kB / 484.8 MB, free: 9.113 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.586e-05/0.006594, allocations: 91.98 kB / 484.9 MB, free: 9.027 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.414e-05/0.006608, allocations: 16.33 kB / 484.9 MB, free: 9.016 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.865e-05/0.006697, allocations: 50.03 kB / 484.9 MB, free: 8.992 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002658/0.006963, allocations: 317.1 kB / 485.2 MB, free: 24.68 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001511/0.007114, allocations: 124.9 kB / 485.4 MB, free: 24.59 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001505/0.007264, allocations: 155.6 kB / 485.5 MB, free: 24.46 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001707/0.007435, allocations: 162.1 kB / 485.7 MB, free: 24.32 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.007437, allocations: 2 kB / 485.7 MB, free: 24.32 MB / 426.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004305/0.007868, allocations: 347.4 kB / 486 MB, free: 24.09 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.867e-05/0.007907, allocations: 63.36 kB / 486.1 MB, free: 24.03 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.007913, allocations: 2.156 kB / 486.1 MB, free: 24.03 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/0.007933, allocations: 1.188 kB / 486.1 MB, free: 24.03 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.116e-05/0.007954, allocations: 7.688 kB / 486.1 MB, free: 24.02 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.421e-06/0.007959, allocations: 1.375 kB / 486.1 MB, free: 24.02 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003311/0.00829, allocations: 62.09 kB / 486.1 MB, free: 24.02 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.917e-05/0.00832, allocations: 13.08 kB / 486.2 MB, free: 24.01 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 0.0001164/0.008436, allocations: 125.6 kB / 486.3 MB, free: 23.89 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.897e-05/0.008455, allocations: 13.25 kB / 486.3 MB, free: 23.88 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.683e-05/0.008482, allocations: 7.688 kB / 486.3 MB, free: 23.88 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.008484, allocations: 1.125 kB / 486.3 MB, free: 23.88 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.008488, allocations: 0 / 486.3 MB, free: 23.88 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.008492, allocations: 4.453 kB / 486.3 MB, free: 23.88 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000109/0.008601, allocations: 119.1 kB / 486.4 MB, free: 23.74 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.008602, allocations: 1.375 kB / 486.4 MB, free: 23.74 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.656e-06/0.008611, allocations: 2.281 kB / 486.4 MB, free: 23.74 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.008613, allocations: 3.938 kB / 486.4 MB, free: 23.74 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-06/0.008622, allocations: 12.39 kB / 486.4 MB, free: 23.73 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.008624, allocations: 2.531 kB / 486.4 MB, free: 23.73 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.008625, allocations: 0 / 486.4 MB, free: 23.73 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001416/0.008766, allocations: 115.4 kB / 486.6 MB, free: 23.64 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.789e-06/0.008776, allocations: 9.422 kB / 486.6 MB, free: 23.64 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.614e-05/0.008792, allocations: 12.67 kB / 486.6 MB, free: 23.63 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.055e-05/0.008823, allocations: 0 / 486.6 MB, free: 23.63 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.632e-05/0.008869, allocations: 11.73 kB / 486.6 MB, free: 23.63 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.593e-06/0.008876, allocations: 2.156 kB / 486.6 MB, free: 23.63 MB / 426.7 MB Notification: Performance of sorting global known variables: time 6.228e-05/0.008938, allocations: 90.31 kB / 486.7 MB, free: 23.55 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008938, allocations: 1.25 kB / 486.7 MB, free: 23.55 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002436/0.009181, allocations: 31.66 kB / 486.7 MB, free: 23.55 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.0001659/0.009347, allocations: 103 kB / 486.8 MB, free: 23.46 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003588/0.009706, allocations: 281.1 kB / 487.1 MB, free: 23.23 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.009708, allocations: 2.781 kB / 487.1 MB, free: 23.23 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 5.191e-05/0.00976, allocations: 28.66 kB / 487.1 MB, free: 23.21 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002254/0.009985, allocations: 12.28 kB / 487.1 MB, free: 23.21 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003166/0.0103, allocations: 159.5 kB / 487.3 MB, free: 23.07 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.092e-05/0.01035, allocations: 76.17 kB / 487.4 MB, free: 23 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.646e-05/0.01038, allocations: 5.875 kB / 487.4 MB, free: 23 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.308e-05/0.0104, allocations: 11.22 kB / 487.4 MB, free: 22.99 MB / 426.7 MB Notification: Performance of SimCode: time 5.21e-07/0.0104, allocations: 0 / 487.4 MB, free: 22.99 MB / 426.7 MB Notification: Performance of Templates: time 0.004893/0.0153, allocations: 2.073 MB / 489.5 MB, free: 22.82 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=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.549004193977453]