Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch.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.001314/0.001314, 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.002112/0.002112, allocations: 211.6 kB / 23.74 MB, free: 4.445 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.477/1.477, allocations: 230.6 MB / 257.5 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 0.9622/0.9622, allocations: 149.9 MB / 463.8 MB, free: 10.39 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.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch") translateModel(IBPSA.Controls.OBC.CDL.Logical.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch") [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.002127/0.002127, allocations: 72.88 kB / 0.6423 GB, free: 9.637 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1759/0.178, allocations: 89.17 MB / 0.7294 GB, free: 0.5352 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Switch): time 0.002015/0.1801, allocations: 0.666 MB / 0.73 GB, free: 15.87 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001643/0.1817, allocations: 1.284 MB / 0.7313 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.086e-05/0.1817, allocations: 0 / 0.7313 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.98e-05/0.1818, allocations: 7.875 kB / 0.7313 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.583e-05/0.1819, allocations: 23.84 kB / 0.7313 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008015/0.1827, allocations: 309.3 kB / 0.7316 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002923/0.183, allocations: 263.5 kB / 0.7319 GB, free: 14 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.063e-05/0.183, allocations: 12.17 kB / 0.7319 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001284/0.1832, allocations: 99.86 kB / 0.732 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001641/0.1833, allocations: 79.75 kB / 0.732 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.149e-05/0.1834, allocations: 24 kB / 0.7321 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 8.881e-05/0.1835, allocations: 31.98 kB / 0.7321 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.108e-05/0.1835, allocations: 19.91 kB / 0.7321 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000101/0.1836, allocations: 75.83 kB / 0.7322 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003006/0.1839, allocations: 227.3 kB / 0.7324 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.1839, allocations: 4 kB / 0.7324 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.653e-06/0.1839, allocations: 0 / 0.7324 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.032e-06/0.1839, allocations: 3.938 kB / 0.7324 GB, free: 13.43 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006042/0.1845, allocations: 415.1 kB / 0.7328 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.1846, allocations: 12.03 kB / 0.7328 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.838e-05/0.1846, allocations: 16.89 kB / 0.7328 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001195/0.1848, allocations: 126.4 kB / 0.733 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.673e-05/0.1848, allocations: 4.375 kB / 0.733 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.282e-05/0.1848, allocations: 16.38 kB / 0.733 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001289/0.185, allocations: 54.23 kB / 0.733 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.185, allocations: 3.938 kB / 0.733 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.185, allocations: 4 kB / 0.733 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.185, allocations: 0 / 0.733 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.466e-05/0.185, allocations: 23.98 kB / 0.7331 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005251/0.1856, allocations: 324.2 kB / 0.7334 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 6.781e-05/0.1856, allocations: 30.52 kB / 0.7334 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.459e-05/0.1857, allocations: 20.94 kB / 0.7334 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.257e-05/0.1857, allocations: 3.984 kB / 0.7334 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002127/0.1859, allocations: 107.2 kB / 0.7335 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=10): time 1.333e-06/0.1859, allocations: 0 / 0.7335 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10): time 0.0003145/0.1862, allocations: 141.5 kB / 0.7337 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.048e-05/0.1863, allocations: 59.41 kB / 0.7337 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001154/0.1864, allocations: 131.9 kB / 0.7338 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.065e-05/0.1864, allocations: 29.7 kB / 0.7339 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.473e-05/0.1865, allocations: 104.1 kB / 0.734 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.354e-05/0.1865, allocations: 19.92 kB / 0.734 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001158/0.1866, allocations: 65.67 kB / 0.7341 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001432/0.1868, allocations: 322.8 kB / 0.7344 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002627/0.1871, allocations: 185 kB / 0.7345 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004139/0.1875, allocations: 229.4 kB / 0.7348 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004421/0.1879, allocations: 243.3 kB / 0.735 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.1879, allocations: 4 kB / 0.735 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001042/0.189, allocations: 467.6 kB / 0.7354 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001011/0.1891, allocations: 97.28 kB / 0.7355 GB, free: 9.895 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.1891, allocations: 8.016 kB / 0.7355 GB, free: 9.887 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.111e-05/0.1891, allocations: 4 kB / 0.7355 GB, free: 9.883 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.52e-05/0.1891, allocations: 7.938 kB / 0.7355 GB, free: 9.875 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.959e-06/0.1891, allocations: 3.984 kB / 0.7356 GB, free: 9.871 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006762/0.1898, allocations: 87.78 kB / 0.7356 GB, free: 9.785 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.07e-05/0.1899, allocations: 23.98 kB / 0.7357 GB, free: 9.762 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,logicalSwitch.y,booPul3.y,$PRE.booPul3.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 (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 3 * 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.0001672/0.19, allocations: 137.2 kB / 0.7358 GB, free: 9.621 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.794e-05/0.1901, allocations: 7.953 kB / 0.7358 GB, free: 9.613 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.798e-05/0.1901, allocations: 8.375 kB / 0.7358 GB, free: 9.605 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.1901, allocations: 0 / 0.7358 GB, free: 9.605 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.1901, allocations: 0 / 0.7358 GB, free: 9.605 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.1901, allocations: 7.984 kB / 0.7358 GB, free: 9.598 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000171/0.1903, allocations: 129.2 kB / 0.7359 GB, free: 9.441 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1903, allocations: 0 / 0.7359 GB, free: 9.441 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.766e-05/0.1903, allocations: 7.984 kB / 0.7359 GB, free: 9.434 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.1903, allocations: 4 kB / 0.7359 GB, free: 9.43 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/0.1903, allocations: 0 / 0.7359 GB, free: 9.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.1903, allocations: 0 / 0.7359 GB, free: 9.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1903, allocations: 4 kB / 0.736 GB, free: 9.426 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002859/0.1906, allocations: 144.9 kB / 0.7361 GB, free: 9.266 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.043e-05/0.1906, allocations: 11.89 kB / 0.7361 GB, free: 9.254 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.353e-05/0.1907, allocations: 0 / 0.7361 GB, free: 9.254 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.784e-05/0.1907, allocations: 0 / 0.7361 GB, free: 9.254 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.845e-05/0.1907, allocations: 11.98 kB / 0.7361 GB, free: 9.242 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.217e-05/0.1907, allocations: 4 kB / 0.7361 GB, free: 9.238 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 9.772e-05/0.1908, allocations: 103.2 kB / 0.7362 GB, free: 9.137 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1908, allocations: 4 kB / 0.7362 GB, free: 9.133 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000455/0.1913, allocations: 40 kB / 0.7363 GB, free: 9.094 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: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,booPul3.y,logicalSwitch.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001989/0.1915, allocations: 105.5 kB / 0.7364 GB, free: 8.984 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007501/0.1923, allocations: 419.1 kB / 0.7368 GB, free: 8.52 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1923, allocations: 0 / 0.7368 GB, free: 8.52 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001066/0.1924, allocations: 43.95 kB / 0.7368 GB, free: 8.477 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004128/0.1928, allocations: 32.28 kB / 0.7368 GB, free: 8.445 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005427/0.1933, allocations: 208.7 kB / 0.737 GB, free: 8.203 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.328e-05/0.1934, allocations: 75.89 kB / 0.7371 GB, free: 8.105 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.12e-05/0.1934, allocations: 19.44 kB / 0.7371 GB, free: 8.086 MB / 0.5606 GB Notification: Performance of SimCode: time 5.41e-07/0.1935, allocations: 0 / 0.7371 GB, free: 8.086 MB / 0.5606 GB Notification: Performance of Templates: time 0.005533/0.199, allocations: 1.907 MB / 0.739 GB, free: 6.199 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.05538635281846] Failed to read output from testmodel.py, exit status != 0: 0.20848150504752994 0.231441939 0.043285611 Calling exit ...