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.00135/0.00135, allocations: 96.42 kB / 20.45 MB, free: 1.262 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.001448/0.001448, allocations: 209.8 kB / 23.74 MB, free: 4.453 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.456/1.456, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.9533/0.9533, allocations: 149.9 MB / 463.8 MB, free: 10.35 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.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.002077/0.002077, allocations: 66.81 kB / 0.6423 GB, free: 9.66 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1815/0.1836, allocations: 89.17 MB / 0.7294 GB, free: 0.5508 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Or): time 0.001896/0.1855, allocations: 0.6276 MB / 0.73 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001771/0.1873, allocations: 1.209 MB / 0.7312 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.79e-05/0.1873, allocations: 4 kB / 0.7312 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.388e-05/0.1874, allocations: 7.922 kB / 0.7312 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.719e-05/0.1874, allocations: 3.938 kB / 0.7312 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006793/0.1881, allocations: 221.4 kB / 0.7314 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002456/0.1884, allocations: 183.6 kB / 0.7316 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.153e-05/0.1885, allocations: 4 kB / 0.7316 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001129/0.1886, allocations: 71.88 kB / 0.7317 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001316/0.1887, allocations: 51.86 kB / 0.7317 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.812e-05/0.1887, allocations: 16 kB / 0.7317 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 8.089e-05/0.1888, allocations: 23.98 kB / 0.7317 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.352e-05/0.1888, allocations: 15.98 kB / 0.7318 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 8.387e-05/0.1889, allocations: 51.84 kB / 0.7318 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000234/0.1892, allocations: 147.6 kB / 0.7319 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.1892, allocations: 0 / 0.7319 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.272e-06/0.1892, allocations: 0 / 0.7319 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.499e-06/0.1892, allocations: 3.938 kB / 0.732 GB, free: 13.92 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.0006597/0.1898, allocations: 365.5 kB / 0.7323 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.1899, allocations: 8.031 kB / 0.7323 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.836e-05/0.1899, allocations: 8.938 kB / 0.7323 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001234/0.1901, allocations: 118.5 kB / 0.7324 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.941e-05/0.1901, allocations: 4.375 kB / 0.7324 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.047e-05/0.1901, allocations: 12.38 kB / 0.7324 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001171/0.1902, allocations: 50.25 kB / 0.7325 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.1902, allocations: 192 / 0.7325 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.1903, allocations: 7.922 kB / 0.7325 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.1903, allocations: 0 / 0.7325 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001801/0.1904, allocations: 15.94 kB / 0.7325 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000501/0.1909, allocations: 264.5 kB / 0.7328 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 8.923e-05/0.191, allocations: 34.56 kB / 0.7328 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.138e-05/0.1911, allocations: 20.73 kB / 0.7328 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.078e-05/0.1911, allocations: 0 / 0.7328 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002035/0.1913, allocations: 91.34 kB / 0.7329 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.423e-06/0.1913, allocations: 3.938 kB / 0.7329 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.0002624/0.1915, allocations: 101.6 kB / 0.733 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.005e-05/0.1916, allocations: 59.39 kB / 0.7331 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001163/0.1917, allocations: 117.8 kB / 0.7332 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.573e-05/0.1917, allocations: 29.7 kB / 0.7332 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.79e-05/0.1918, allocations: 88.14 kB / 0.7333 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.554e-05/0.1918, allocations: 23.88 kB / 0.7333 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.573e-05/0.1919, allocations: 53.62 kB / 0.7334 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001593/0.1921, allocations: 314.8 kB / 0.7337 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000179/0.1923, allocations: 123.4 kB / 0.7338 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002049/0.1925, allocations: 151.7 kB / 0.7339 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000256/0.1927, allocations: 163.5 kB / 0.7341 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.1927, allocations: 0 / 0.7341 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000529/0.1933, allocations: 328.2 kB / 0.7344 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001386/0.1934, allocations: 67.52 kB / 0.7345 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.1934, allocations: 4.469 kB / 0.7345 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.1934, allocations: 0 / 0.7345 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.314e-05/0.1934, allocations: 7.984 kB / 0.7345 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.1934, allocations: 3.938 kB / 0.7345 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003272/0.1938, allocations: 51.89 kB / 0.7345 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.811e-05/0.1938, allocations: 16 kB / 0.7345 GB, free: 10.98 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.0001869/0.194, allocations: 133.8 kB / 0.7347 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.819e-05/0.194, allocations: 8 kB / 0.7347 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.77e-05/0.194, allocations: 8.359 kB / 0.7347 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.194, allocations: 0 / 0.7347 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.194, allocations: 0 / 0.7347 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.194, allocations: 0 / 0.7347 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001207/0.1942, allocations: 125.2 kB / 0.7348 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1942, allocations: 0 / 0.7348 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.276e-06/0.1942, allocations: 0 / 0.7348 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.1942, allocations: 4 kB / 0.7348 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.702e-06/0.1942, allocations: 0 / 0.7348 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.1942, allocations: 7.938 kB / 0.7348 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.1942, allocations: 3.938 kB / 0.7348 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001709/0.1944, allocations: 117 kB / 0.7349 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.467e-05/0.1944, allocations: 11.89 kB / 0.7349 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.654e-05/0.1944, allocations: 4 kB / 0.7349 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.888e-05/0.1944, allocations: 0 / 0.7349 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.359e-05/0.1944, allocations: 7.984 kB / 0.735 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.486e-06/0.1945, allocations: 4 kB / 0.735 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.827e-05/0.1945, allocations: 91.27 kB / 0.735 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.1945, allocations: 0 / 0.735 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002619/0.1948, allocations: 32 kB / 0.7351 GB, free: 10.37 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.0001479/0.1949, allocations: 99.23 kB / 0.7352 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003998/0.1953, allocations: 278.1 kB / 0.7354 GB, free: 9.957 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.1953, allocations: 3.938 kB / 0.7354 GB, free: 9.953 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 7.801e-05/0.1954, allocations: 23.98 kB / 0.7355 GB, free: 9.93 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002403/0.1956, allocations: 22.78 kB / 0.7355 GB, free: 9.91 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003904/0.196, allocations: 180.7 kB / 0.7357 GB, free: 9.695 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.592e-05/0.1961, allocations: 75.27 kB / 0.7357 GB, free: 9.602 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.025e-05/0.1961, allocations: 15.44 kB / 0.7357 GB, free: 9.586 MB / 0.5606 GB Notification: Performance of SimCode: time 4.41e-07/0.1961, allocations: 0 / 0.7357 GB, free: 9.586 MB / 0.5606 GB Notification: Performance of Templates: time 0.003512/0.1997, allocations: 1.398 MB / 0.7371 GB, free: 8.199 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: 7.963252627756447] Failed to read output from testmodel.py, exit status != 0: 0.20936968410387635 0.23787171599999996 0.043415384 Calling exit ...