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.001289/0.001289, allocations: 103.8 kB / 20.49 MB, free: 1.328 MB / 14.72 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.001441/0.001441, allocations: 219 kB / 23.79 MB, free: 4.465 MB / 14.72 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.416/1.416, allocations: 230.6 MB / 257.6 MB, free: 7.75 MB / 206.1 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.9263/0.9263, allocations: 150 MB / 464 MB, free: 10.23 MB / 366.1 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: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002049/0.002049, allocations: 70.64 kB / 0.6425 GB, free: 9.332 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1761/0.1781, allocations: 89.17 MB / 0.7296 GB, free: 236 kB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Xor): time 0.001891/0.18, allocations: 0.6208 MB / 0.7302 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001762/0.1818, allocations: 1.213 MB / 0.7314 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.094e-05/0.1818, allocations: 0 / 0.7314 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.851e-05/0.1818, allocations: 3.938 kB / 0.7314 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.556e-05/0.1819, allocations: 11.94 kB / 0.7314 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006517/0.1826, allocations: 214 kB / 0.7316 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002405/0.1828, allocations: 183.7 kB / 0.7318 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001091/0.1829, allocations: 11.98 kB / 0.7318 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001013/0.183, allocations: 63.95 kB / 0.7319 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001339/0.1831, allocations: 59.72 kB / 0.7319 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.846e-05/0.1832, allocations: 16 kB / 0.7319 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 8.215e-05/0.1833, allocations: 27.98 kB / 0.7319 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.307e-05/0.1833, allocations: 8 kB / 0.732 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 9.421e-05/0.1834, allocations: 55.88 kB / 0.732 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002375/0.1836, allocations: 151.5 kB / 0.7322 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.1836, allocations: 4 kB / 0.7322 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.733e-06/0.1836, allocations: 4 kB / 0.7322 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.1836, allocations: 0 / 0.7322 GB, free: 13.59 MB / 0.5606 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.000583/0.1842, allocations: 361.5 kB / 0.7325 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.1843, allocations: 8.031 kB / 0.7325 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.999e-05/0.1843, allocations: 12.94 kB / 0.7325 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001185/0.1844, allocations: 118.4 kB / 0.7326 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.725e-05/0.1844, allocations: 4.375 kB / 0.7326 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.084e-05/0.1845, allocations: 12.38 kB / 0.7327 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001184/0.1846, allocations: 50.23 kB / 0.7327 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.1846, allocations: 192 / 0.7327 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.1846, allocations: 3.938 kB / 0.7327 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.1846, allocations: 8 kB / 0.7327 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.61e-05/0.1847, allocations: 15.98 kB / 0.7327 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004518/0.1851, allocations: 268.5 kB / 0.733 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 8.191e-05/0.1852, allocations: 34.58 kB / 0.733 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.396e-05/0.1852, allocations: 20.86 kB / 0.733 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.047e-05/0.1852, allocations: 0 / 0.733 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000169/0.1854, allocations: 87.27 kB / 0.7331 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.202e-06/0.1854, allocations: 0 / 0.7331 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.0002561/0.1857, allocations: 113.5 kB / 0.7332 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.986e-05/0.1857, allocations: 59.39 kB / 0.7333 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/0.1858, allocations: 121.7 kB / 0.7334 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.486e-05/0.1859, allocations: 33.7 kB / 0.7334 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.358e-05/0.1859, allocations: 88.14 kB / 0.7335 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.88e-05/0.186, allocations: 15.89 kB / 0.7335 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.274e-05/0.1861, allocations: 49.69 kB / 0.7336 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001475/0.1862, allocations: 318.8 kB / 0.7339 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001753/0.1864, allocations: 119.4 kB / 0.734 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001976/0.1866, allocations: 155.6 kB / 0.7341 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002081/0.1868, allocations: 167.5 kB / 0.7343 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1868, allocations: 0 / 0.7343 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004658/0.1872, allocations: 328.2 kB / 0.7346 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.644e-05/0.1873, allocations: 67.39 kB / 0.7347 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.1873, allocations: 4 kB / 0.7347 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.1873, allocations: 0 / 0.7347 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.918e-05/0.1874, allocations: 7.984 kB / 0.7347 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.1874, allocations: 448 / 0.7347 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003555/0.1877, allocations: 59.89 kB / 0.7348 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.233e-05/0.1878, allocations: 11.98 kB / 0.7348 GB, free: 10.63 MB / 0.5606 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 0.0001106/0.1879, allocations: 132.1 kB / 0.7349 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.099e-05/0.1879, allocations: 0 / 0.7349 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.828e-05/0.1879, allocations: 12.38 kB / 0.7349 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.1879, allocations: 0 / 0.7349 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.1879, allocations: 4.469 kB / 0.7349 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.1879, allocations: 0 / 0.7349 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001264/0.188, allocations: 129.2 kB / 0.735 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/0.188, allocations: 4.062 kB / 0.735 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.556e-06/0.188, allocations: 0 / 0.735 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.188, allocations: 3.938 kB / 0.735 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.1881, allocations: 4 kB / 0.735 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.1881, allocations: 0 / 0.735 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1881, allocations: 3.938 kB / 0.735 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001684/0.1882, allocations: 120.9 kB / 0.7352 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.111e-05/0.1882, allocations: 7.953 kB / 0.7352 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.357e-05/0.1883, allocations: 4 kB / 0.7352 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.403e-05/0.1883, allocations: 7.984 kB / 0.7352 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.369e-05/0.1883, allocations: 4 kB / 0.7352 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.268e-05/0.1883, allocations: 7.984 kB / 0.7352 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.3e-05/0.1884, allocations: 87.28 kB / 0.7353 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.1884, allocations: 0 / 0.7353 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002361/0.1886, allocations: 35.98 kB / 0.7353 GB, free: 10.02 MB / 0.5606 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 0.0001584/0.1888, allocations: 99.23 kB / 0.7354 GB, free: 9.914 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003886/0.1892, allocations: 286.1 kB / 0.7357 GB, free: 9.598 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1892, allocations: 0 / 0.7357 GB, free: 9.598 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 4.863e-05/0.1892, allocations: 19.94 kB / 0.7357 GB, free: 9.578 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002247/0.1894, allocations: 19.92 kB / 0.7357 GB, free: 9.559 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003452/0.1898, allocations: 153.3 kB / 0.7359 GB, free: 9.379 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.75e-05/0.1899, allocations: 71.33 kB / 0.7359 GB, free: 9.289 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.416e-05/0.1899, allocations: 8.25 kB / 0.7359 GB, free: 9.281 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.302e-05/0.1899, allocations: 11.44 kB / 0.7359 GB, free: 9.27 MB / 0.5606 GB Notification: Performance of SimCode: time 2.81e-07/0.1899, allocations: 0 / 0.7359 GB, free: 9.27 MB / 0.5606 GB Notification: Performance of Templates: time 0.004979/0.1949, allocations: 2.096 MB / 0.738 GB, free: 7.227 MB / 0.5606 GB " [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 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.372098228894174] Failed to read output from testmodel.py, exit status != 0: 0.20344899082556367 0.21829252000000002 0.031610126 Calling exit ...