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.001491/0.001491, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001524/0.001524, allocations: 207 kB / 22.99 MB, free: 4.977 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.504/1.504, allocations: 230.6 MB / 256.8 MB, free: 7.785 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 1.042/1.042, allocations: 149.9 MB / 463 MB, free: 10.37 MB / 366.1 MB " [Timeout remaining time 178] 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.002147/0.002147, allocations: 72.52 kB / 0.6416 GB, free: 9.645 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.219/0.2211, allocations: 89.18 MB / 0.7286 GB, free: 0.5312 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Xor): time 0.002108/0.2232, allocations: 0.6218 MB / 0.7293 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001808/0.2251, allocations: 1.209 MB / 0.7304 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.007e-05/0.2251, allocations: 0 / 0.7304 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.717e-05/0.2251, allocations: 3.938 kB / 0.7304 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.33e-05/0.2252, allocations: 19.91 kB / 0.7305 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007326/0.226, allocations: 216.4 kB / 0.7307 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002957/0.2263, allocations: 171.7 kB / 0.7308 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.2264, allocations: 15.98 kB / 0.7308 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000123/0.2265, allocations: 71.89 kB / 0.7309 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000156/0.2266, allocations: 55.84 kB / 0.731 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.055e-05/0.2267, allocations: 16 kB / 0.731 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 8.499e-05/0.2268, allocations: 23.98 kB / 0.731 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.047e-05/0.2268, allocations: 11.94 kB / 0.731 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001078/0.2269, allocations: 55.88 kB / 0.7311 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002665/0.2272, allocations: 151.5 kB / 0.7312 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.231e-06/0.2272, allocations: 0 / 0.7312 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.064e-06/0.2272, allocations: 0 / 0.7312 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.039e-05/0.2272, allocations: 4 kB / 0.7312 GB, free: 13.9 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.0006954/0.2279, allocations: 369.4 kB / 0.7316 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.2279, allocations: 8.031 kB / 0.7316 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.509e-05/0.228, allocations: 8.938 kB / 0.7316 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001318/0.2281, allocations: 118.4 kB / 0.7317 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.126e-05/0.2282, allocations: 4.375 kB / 0.7317 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.867e-05/0.2282, allocations: 12.36 kB / 0.7317 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001477/0.2283, allocations: 54.25 kB / 0.7318 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.2284, allocations: 192 / 0.7318 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.506e-05/0.2284, allocations: 3.938 kB / 0.7318 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.2284, allocations: 0 / 0.7318 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.52e-05/0.2284, allocations: 23.92 kB / 0.7318 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005167/0.2289, allocations: 268.5 kB / 0.732 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001103/0.2291, allocations: 38.56 kB / 0.7321 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.707e-05/0.2291, allocations: 16.8 kB / 0.7321 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.355e-05/0.2291, allocations: 0 / 0.7321 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002268/0.2293, allocations: 87.36 kB / 0.7322 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.2293, allocations: 0 / 0.7322 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.0002955/0.2296, allocations: 109.6 kB / 0.7323 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.456e-05/0.2297, allocations: 51.41 kB / 0.7323 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000122/0.2298, allocations: 117.8 kB / 0.7324 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.088e-05/0.2298, allocations: 37.7 kB / 0.7325 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.503e-05/0.2299, allocations: 96.12 kB / 0.7326 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.678e-05/0.2299, allocations: 7.906 kB / 0.7326 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.82e-05/0.23, allocations: 49.69 kB / 0.7326 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001596/0.2302, allocations: 314.8 kB / 0.7329 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000173/0.2304, allocations: 127.3 kB / 0.7331 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002049/0.2306, allocations: 155.7 kB / 0.7332 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000219/0.2308, allocations: 168 kB / 0.7334 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.2308, allocations: 3.938 kB / 0.7334 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004713/0.2313, allocations: 328.2 kB / 0.7337 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.905e-05/0.2313, allocations: 63.41 kB / 0.7337 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.545e-05/0.2313, allocations: 7.984 kB / 0.7337 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.2314, allocations: 0 / 0.7337 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.424e-05/0.2314, allocations: 8 kB / 0.7338 GB, free: 11 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.2314, allocations: 4.25 kB / 0.7338 GB, free: 11 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003239/0.2317, allocations: 60 kB / 0.7338 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.082e-05/0.2318, allocations: 11.98 kB / 0.7338 GB, free: 10.93 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.0001124/0.2319, allocations: 121.8 kB / 0.7339 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.028e-05/0.2319, allocations: 4 kB / 0.7339 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.239e-05/0.2319, allocations: 12.38 kB / 0.734 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.2319, allocations: 0 / 0.734 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.2319, allocations: 0 / 0.734 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.538e-06/0.2319, allocations: 3.984 kB / 0.734 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001245/0.232, allocations: 133.2 kB / 0.7341 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.232, allocations: 0 / 0.7341 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.955e-06/0.2321, allocations: 0 / 0.7341 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.2321, allocations: 0 / 0.7341 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.2321, allocations: 4.062 kB / 0.7341 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.2321, allocations: 4 kB / 0.7341 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.2321, allocations: 3.984 kB / 0.7341 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001642/0.2322, allocations: 116.9 kB / 0.7342 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.423e-05/0.2323, allocations: 11.95 kB / 0.7342 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.822e-05/0.2323, allocations: 3.984 kB / 0.7342 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.908e-05/0.2323, allocations: 4 kB / 0.7342 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.462e-05/0.2323, allocations: 7.984 kB / 0.7342 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.377e-06/0.2324, allocations: 8 kB / 0.7342 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.766e-05/0.2324, allocations: 91.22 kB / 0.7343 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.2324, allocations: 0 / 0.7343 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002249/0.2326, allocations: 31.98 kB / 0.7344 GB, free: 10.32 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.0001632/0.2328, allocations: 95.25 kB / 0.7345 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003985/0.2332, allocations: 286.1 kB / 0.7347 GB, free: 9.902 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.2332, allocations: 256 / 0.7347 GB, free: 9.902 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 4.755e-05/0.2332, allocations: 31.86 kB / 0.7348 GB, free: 9.871 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000249/0.2335, allocations: 19.92 kB / 0.7348 GB, free: 9.852 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003921/0.2339, allocations: 150.8 kB / 0.7349 GB, free: 9.672 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.808e-05/0.234, allocations: 67.34 kB / 0.735 GB, free: 9.586 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.645e-05/0.234, allocations: 4 kB / 0.735 GB, free: 9.582 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.827e-05/0.234, allocations: 19.42 kB / 0.735 GB, free: 9.562 MB / 0.5606 GB Notification: Performance of SimCode: time 2.7e-07/0.234, allocations: 0 / 0.735 GB, free: 9.562 MB / 0.5606 GB Notification: Performance of Templates: time 0.005393/0.2394, allocations: 2.087 MB / 0.737 GB, free: 7.523 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 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.051167434081435] Failed to read output from testmodel.py, exit status != 0: 0.24817473627626896 0.263455368 0.03312956 Calling exit ...