Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Or.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.001511/0.001511, 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.001706/0.001706, allocations: 209 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.535/1.535, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.34 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.Or,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Or") translateModel(IBPSA.Controls.OBC.CDL.Logical.Validation.Or,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Or") [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.002076/0.002076, allocations: 71.77 kB / 0.6416 GB, free: 9.598 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2227/0.2247, allocations: 89.16 MB / 0.7286 GB, free: 0.5078 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Or): time 0.002326/0.2271, allocations: 0.6381 MB / 0.7293 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001939/0.229, allocations: 1.206 MB / 0.7304 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.279e-05/0.2291, allocations: 4 kB / 0.7304 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.87e-05/0.2291, allocations: 3.938 kB / 0.7304 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001031/0.2292, allocations: 11.92 kB / 0.7304 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000715/0.2299, allocations: 213.2 kB / 0.7307 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002783/0.2302, allocations: 179.7 kB / 0.7308 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.2303, allocations: 7.922 kB / 0.7308 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001114/0.2304, allocations: 67.95 kB / 0.7309 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001487/0.2305, allocations: 63.78 kB / 0.731 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.733e-05/0.2306, allocations: 12 kB / 0.731 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.256e-05/0.2307, allocations: 27.98 kB / 0.731 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.234e-05/0.2307, allocations: 4 kB / 0.731 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 8.988e-05/0.2308, allocations: 55.88 kB / 0.7311 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002392/0.231, allocations: 151.5 kB / 0.7312 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.231, allocations: 0 / 0.7312 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.353e-06/0.231, allocations: 0 / 0.7312 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.051e-06/0.231, allocations: 0 / 0.7312 GB, free: 13.88 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.000633/0.2317, allocations: 361.5 kB / 0.7315 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.2317, allocations: 12.03 kB / 0.7316 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.754e-05/0.2318, allocations: 12.92 kB / 0.7316 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001485/0.2319, allocations: 114.4 kB / 0.7317 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.445e-05/0.232, allocations: 12.31 kB / 0.7317 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.996e-05/0.232, allocations: 8.375 kB / 0.7317 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001345/0.2321, allocations: 50.23 kB / 0.7317 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.2321, allocations: 192 / 0.7317 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/0.2321, allocations: 7.938 kB / 0.7317 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.2321, allocations: 0 / 0.7317 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.627e-05/0.2322, allocations: 15.98 kB / 0.7318 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005038/0.2327, allocations: 272.5 kB / 0.732 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001054/0.2328, allocations: 38.56 kB / 0.7321 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.412e-05/0.2328, allocations: 16.8 kB / 0.7321 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.287e-05/0.2329, allocations: 0 / 0.7321 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002113/0.2331, allocations: 83.34 kB / 0.7322 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.543e-06/0.2331, allocations: 0 / 0.7322 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.0003143/0.2334, allocations: 105.6 kB / 0.7323 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.341e-05/0.2334, allocations: 59.34 kB / 0.7323 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001253/0.2336, allocations: 117.8 kB / 0.7324 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.353e-05/0.2336, allocations: 29.7 kB / 0.7325 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.75e-05/0.2337, allocations: 100.1 kB / 0.7326 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.006e-05/0.2337, allocations: 15.91 kB / 0.7326 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.053e-05/0.2338, allocations: 45.69 kB / 0.7326 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001585/0.234, allocations: 322.8 kB / 0.7329 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001676/0.2341, allocations: 115.4 kB / 0.733 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000195/0.2343, allocations: 155.6 kB / 0.7332 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002121/0.2346, allocations: 160 kB / 0.7333 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.2346, allocations: 8 kB / 0.7333 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005457/0.2351, allocations: 332.2 kB / 0.7337 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.208e-05/0.2352, allocations: 69.42 kB / 0.7337 GB, free: 11 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.2352, allocations: 4 kB / 0.7337 GB, free: 11 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.2352, allocations: 0 / 0.7337 GB, free: 11 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.17e-05/0.2352, allocations: 4.062 kB / 0.7337 GB, free: 11 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.156e-06/0.2352, allocations: 4 kB / 0.7337 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003266/0.2356, allocations: 56.02 kB / 0.7338 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.104e-05/0.2356, 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,or1.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.0001927/0.2358, allocations: 133.7 kB / 0.7339 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.017e-05/0.2358, allocations: 0 / 0.7339 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.935e-05/0.2358, allocations: 8.375 kB / 0.7339 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.2358, allocations: 0 / 0.7339 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.2358, allocations: 0 / 0.7339 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.2358, allocations: 3.984 kB / 0.7339 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001289/0.236, allocations: 133.2 kB / 0.7341 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.236, allocations: 0 / 0.7341 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.725e-06/0.236, allocations: 0 / 0.7341 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.236, allocations: 0 / 0.7341 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.236, allocations: 4 kB / 0.7341 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.236, allocations: 0 / 0.7341 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.236, allocations: 0 / 0.7341 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001615/0.2361, allocations: 117.2 kB / 0.7342 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.204e-05/0.2362, allocations: 7.953 kB / 0.7342 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.023e-05/0.2362, allocations: 7.984 kB / 0.7342 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.806e-05/0.2362, allocations: 3.938 kB / 0.7342 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.083e-05/0.2362, allocations: 11.98 kB / 0.7342 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.253e-06/0.2362, allocations: 4 kB / 0.7342 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.497e-05/0.2363, allocations: 87.28 kB / 0.7343 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2363, allocations: 288 / 0.7343 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002352/0.2365, allocations: 31.98 kB / 0.7343 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,or1.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.0001683/0.2367, allocations: 95.25 kB / 0.7344 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004071/0.2371, allocations: 290.1 kB / 0.7347 GB, free: 9.902 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.2371, allocations: 0 / 0.7347 GB, free: 9.902 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 5.087e-05/0.2372, allocations: 24.19 kB / 0.7347 GB, free: 9.879 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002452/0.2374, allocations: 21.23 kB / 0.7347 GB, free: 9.859 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003614/0.2378, allocations: 150.8 kB / 0.7349 GB, free: 9.68 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.29e-05/0.2378, allocations: 71.33 kB / 0.7349 GB, free: 9.59 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.52e-05/0.2379, allocations: 4 kB / 0.735 GB, free: 9.586 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.479e-05/0.2379, allocations: 11.44 kB / 0.735 GB, free: 9.574 MB / 0.5606 GB Notification: Performance of SimCode: time 3.11e-07/0.2379, allocations: 4 kB / 0.735 GB, free: 9.57 MB / 0.5606 GB Notification: Performance of Templates: time 0.00598/0.2439, allocations: 2.08 MB / 0.737 GB, free: 7.535 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Or.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Or.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Or -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.074137991294265] Failed to read output from testmodel.py, exit status != 0: 0.25341440364718437 0.26881795599999997 0.034650542 Calling exit ...