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.0007019/0.0007019, allocations: 84.44 kB / 20.69 MB, free: 3.871 MB / 18.57 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.0006999/0.0006999, allocations: 170.3 kB / 23.97 MB, free: 0.5977 MB / 18.57 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 0.8608/0.8608, allocations: 177.1 MB / 204.3 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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.5964/0.5964, allocations: 114 MB / 374.7 MB, free: 8.699 MB / 346.7 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: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 0.5554 GB, free: 1.195 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.573e-05/1.723e-05, allocations: 4.906 kB / 0.5554 GB, free: 1.191 MB / 474.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Switch): time 0.001101/0.001119, allocations: 0.683 MB / 0.5561 GB, free: 0.5117 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.001194/0.002313, allocations: 1.287 MB / 0.5573 GB, free: 15.21 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.989e-05/0.002353, allocations: 4 kB / 0.5573 GB, free: 15.21 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.761e-05/0.002381, allocations: 7.922 kB / 0.5574 GB, free: 15.2 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.681e-05/0.002447, allocations: 19.8 kB / 0.5574 GB, free: 15.18 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005731/0.00302, allocations: 316.8 kB / 0.5577 GB, free: 14.88 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002108/0.003231, allocations: 263.5 kB / 0.5579 GB, free: 14.62 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.973e-05/0.003321, allocations: 12.17 kB / 0.5579 GB, free: 14.61 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001265/0.003448, allocations: 135.9 kB / 0.5581 GB, free: 14.48 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001151/0.003563, allocations: 75.81 kB / 0.5581 GB, free: 14.4 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 3.047e-05/0.003593, allocations: 20 kB / 0.5582 GB, free: 14.38 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.263e-05/0.003656, allocations: 35.97 kB / 0.5582 GB, free: 14.35 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.9e-05/0.003685, allocations: 19.92 kB / 0.5582 GB, free: 14.33 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 7.016e-05/0.003755, allocations: 79.81 kB / 0.5583 GB, free: 14.25 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002272/0.003982, allocations: 263.4 kB / 0.5585 GB, free: 13.99 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.603e-06/0.003984, allocations: 0 / 0.5585 GB, free: 13.99 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.003984, allocations: 0 / 0.5585 GB, free: 13.99 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.426e-06/0.003988, allocations: 4 kB / 0.5585 GB, free: 13.99 MB / 490.7 MB 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.0003788/0.004367, allocations: 423.1 kB / 0.5589 GB, free: 13.53 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.004401, allocations: 12.62 kB / 0.559 GB, free: 13.52 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.578e-05/0.004447, allocations: 12.89 kB / 0.559 GB, free: 13.5 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.319e-05/0.00452, allocations: 121.7 kB / 0.5591 GB, free: 13.36 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.858e-05/0.004538, allocations: 12.31 kB / 0.5591 GB, free: 13.35 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.699e-05/0.004565, allocations: 16.36 kB / 0.5591 GB, free: 13.33 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.881e-05/0.004664, allocations: 58.23 kB / 0.5592 GB, free: 13.27 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.004671, allocations: 4.125 kB / 0.5592 GB, free: 13.27 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.356e-06/0.00468, allocations: 384 / 0.5592 GB, free: 13.27 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.004685, allocations: 4.125 kB / 0.5592 GB, free: 13.26 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.99e-05/0.004725, allocations: 27.98 kB / 0.5592 GB, free: 13.23 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003608/0.005086, allocations: 312.3 kB / 0.5595 GB, free: 12.9 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.538e-05/0.005131, allocations: 30.56 kB / 0.5595 GB, free: 12.86 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.593e-05/0.005157, allocations: 24.88 kB / 0.5596 GB, free: 12.83 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.664e-06/0.005165, allocations: 0 / 0.5596 GB, free: 12.83 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001175/0.005282, allocations: 103.3 kB / 0.5597 GB, free: 12.72 MB / 490.7 MB Notification: Performance of pre-optimization done (n=10): time 1.183e-06/0.005283, allocations: 0 / 0.5597 GB, free: 12.72 MB / 490.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002172/0.0055, allocations: 133.6 kB / 0.5598 GB, free: 12.58 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.11e-05/0.005532, allocations: 59.47 kB / 0.5598 GB, free: 12.51 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.203e-05/0.005614, allocations: 144.9 kB / 0.56 GB, free: 12.36 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.697e-05/0.005641, allocations: 33.7 kB / 0.56 GB, free: 12.32 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.993e-05/0.00569, allocations: 100.1 kB / 0.5601 GB, free: 12.22 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.641e-05/0.005707, allocations: 23.84 kB / 0.5601 GB, free: 12.2 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.401e-05/0.005781, allocations: 69.61 kB / 0.5602 GB, free: 12.12 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.721e-05/0.005858, allocations: 318.8 kB / 0.5605 GB, free: 11.8 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001558/0.006014, allocations: 185 kB / 0.5607 GB, free: 11.61 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001622/0.006176, allocations: 219.9 kB / 0.5609 GB, free: 11.35 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000181/0.006357, allocations: 243 kB / 0.5611 GB, free: 11.07 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.00636, allocations: 4 kB / 0.5611 GB, free: 11.07 MB / 490.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004007/0.00676, allocations: 474.8 kB / 0.5616 GB, free: 10.57 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.699e-05/0.006807, allocations: 105.1 kB / 0.5617 GB, free: 10.45 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.006812, allocations: 0 / 0.5617 GB, free: 10.45 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.006824, allocations: 4.375 kB / 0.5617 GB, free: 10.44 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.453e-05/0.006839, allocations: 8.188 kB / 0.5617 GB, free: 10.43 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.006843, allocations: 3.938 kB / 0.5617 GB, free: 10.43 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002346/0.007078, allocations: 83.8 kB / 0.5618 GB, free: 10.35 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.346e-05/0.007101, allocations: 23.86 kB / 0.5618 GB, free: 10.32 MB / 490.7 MB 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 7.783e-05/0.007179, allocations: 137.3 kB / 0.5619 GB, free: 10.18 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.776e-06/0.007188, allocations: 11.89 kB / 0.5619 GB, free: 10.17 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.915e-05/0.007207, allocations: 12.44 kB / 0.5619 GB, free: 10.16 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.007209, allocations: 0 / 0.5619 GB, free: 10.16 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.007213, allocations: 4 kB / 0.5619 GB, free: 10.16 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.007217, allocations: 0 / 0.5619 GB, free: 10.16 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.592e-05/0.007293, allocations: 125.3 kB / 0.5621 GB, free: 10 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.21e-07/0.007293, allocations: 0 / 0.5621 GB, free: 10 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.669e-06/0.007298, allocations: 4 kB / 0.5621 GB, free: 10 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.0073, allocations: 3.938 kB / 0.5621 GB, free: 9.996 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.007308, allocations: 7.984 kB / 0.5621 GB, free: 9.988 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.00731, allocations: 7.938 kB / 0.5621 GB, free: 9.98 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.007311, allocations: 4 kB / 0.5621 GB, free: 9.977 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001172/0.007429, allocations: 137 kB / 0.5622 GB, free: 9.824 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.454e-06/0.007436, allocations: 11.89 kB / 0.5622 GB, free: 9.812 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.274e-05/0.007449, allocations: 7.922 kB / 0.5622 GB, free: 9.805 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.256e-05/0.007461, allocations: 4 kB / 0.5622 GB, free: 9.801 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.747e-05/0.007489, allocations: 7.984 kB / 0.5623 GB, free: 9.793 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.351e-06/0.007494, allocations: 4 kB / 0.5623 GB, free: 9.789 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.97e-05/0.007534, allocations: 103.2 kB / 0.5624 GB, free: 9.688 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007534, allocations: 0 / 0.5624 GB, free: 9.688 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001608/0.007695, allocations: 44 kB / 0.5624 GB, free: 9.645 MB / 490.7 MB 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 9.386e-05/0.007789, allocations: 103.2 kB / 0.5625 GB, free: 9.531 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00031/0.008099, allocations: 419.1 kB / 0.5629 GB, free: 9.066 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.0081, allocations: 0 / 0.5629 GB, free: 9.066 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 4.178e-05/0.008142, allocations: 35.98 kB / 0.5629 GB, free: 9.031 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001611/0.008303, allocations: 30.14 kB / 0.563 GB, free: 9.004 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002677/0.008571, allocations: 211.4 kB / 0.5632 GB, free: 8.758 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.272e-05/0.008614, allocations: 79.89 kB / 0.5632 GB, free: 8.656 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.796e-05/0.008632, allocations: 12.5 kB / 0.5632 GB, free: 8.645 MB / 490.7 MB Notification: Performance of SimCode: time 5.11e-07/0.008632, allocations: 0 / 0.5632 GB, free: 8.645 MB / 490.7 MB Notification: Performance of Templates: time 0.002094/0.01073, allocations: 1.908 MB / 0.5651 GB, free: 6.766 MB / 490.7 MB " [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: 4.747323798947036] Failed to read output from testmodel.py, exit status != 0: 0.014622953720390797 0.022348204 0.016797679 Calling exit ...