Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.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.0007805/0.0007805, allocations: 84.44 kB / 20.7 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.0007714/0.0007714, allocations: 165.9 kB / 23.96 MB, free: 0.6016 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.8908/0.8908, allocations: 177.1 MB / 204.3 MB, free: 5.734 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.5432/0.5432, allocations: 114 MB / 374.7 MB, free: 8.742 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.Reals.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Switch") translateModel(IBPSA.Controls.OBC.CDL.Reals.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Switch") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 0.5555 GB, free: 1.129 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.489e-05/2.68e-05, allocations: 5.812 kB / 0.5555 GB, free: 1.125 MB / 474.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Switch): time 0.001211/0.001238, allocations: 0.7529 MB / 0.5562 GB, free: 384 kB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.001074/0.002312, allocations: 1.178 MB / 0.5574 GB, free: 15.18 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.305e-05/0.002355, allocations: 0 / 0.5574 GB, free: 15.18 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.621e-05/0.002381, allocations: 3.938 kB / 0.5574 GB, free: 15.18 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.055e-05/0.002442, allocations: 11.86 kB / 0.5574 GB, free: 15.17 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003582/0.0028, allocations: 139.4 kB / 0.5575 GB, free: 15.04 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001454/0.002945, allocations: 135.7 kB / 0.5576 GB, free: 14.9 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.061e-05/0.003036, allocations: 15.98 kB / 0.5577 GB, free: 14.89 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001021/0.003138, allocations: 67.94 kB / 0.5577 GB, free: 14.82 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.927e-05/0.003217, allocations: 43.88 kB / 0.5578 GB, free: 14.78 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.248e-05/0.00324, allocations: 8 kB / 0.5578 GB, free: 14.77 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.195e-05/0.003292, allocations: 27.92 kB / 0.5578 GB, free: 14.74 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.303e-05/0.003315, allocations: 15.92 kB / 0.5578 GB, free: 14.73 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 4.547e-05/0.00336, allocations: 31.97 kB / 0.5579 GB, free: 14.7 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001633/0.003524, allocations: 143.6 kB / 0.558 GB, free: 14.55 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.623e-06/0.003525, allocations: 4 kB / 0.558 GB, free: 14.55 MB / 490.7 MB Notification: Performance of FrontEnd: time 9.31e-07/0.003526, allocations: 0 / 0.558 GB, free: 14.55 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.687e-06/0.00353, allocations: 0 / 0.558 GB, free: 14.55 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.0004712/0.004001, allocations: 347.8 kB / 0.5583 GB, free: 14.17 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.004036, allocations: 8.625 kB / 0.5583 GB, free: 14.16 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.424e-05/0.00408, allocations: 12.89 kB / 0.5583 GB, free: 14.15 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.417e-05/0.004155, allocations: 113.7 kB / 0.5585 GB, free: 14.02 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/0.004168, allocations: 4.375 kB / 0.5585 GB, free: 14.01 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.737e-05/0.004185, allocations: 8.359 kB / 0.5585 GB, free: 14 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000172/0.004357, allocations: 86.12 kB / 0.5585 GB, free: 13.91 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.004366, allocations: 4.188 kB / 0.5586 GB, free: 13.91 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.004377, allocations: 4.375 kB / 0.5586 GB, free: 13.91 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.004382, allocations: 4.312 kB / 0.5586 GB, free: 13.9 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001481/0.00453, allocations: 75.84 kB / 0.5586 GB, free: 13.83 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003109/0.004841, allocations: 252.5 kB / 0.5589 GB, free: 13.55 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001/0.004941, allocations: 54.48 kB / 0.5589 GB, free: 13.49 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.68e-05/0.005018, allocations: 40.91 kB / 0.559 GB, free: 13.45 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.916e-05/0.005037, allocations: 3.938 kB / 0.559 GB, free: 13.44 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001554/0.005192, allocations: 103.2 kB / 0.5591 GB, free: 13.33 MB / 490.7 MB Notification: Performance of pre-optimization done (n=6): time 9.62e-07/0.005193, allocations: 8 kB / 0.5591 GB, free: 13.32 MB / 490.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003575/0.005551, allocations: 157.5 kB / 0.5592 GB, free: 13.16 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.782e-05/0.005579, allocations: 51.41 kB / 0.5593 GB, free: 13.1 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.775e-05/0.005646, allocations: 128.5 kB / 0.5594 GB, free: 12.96 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.743e-05/0.005664, allocations: 33.7 kB / 0.5594 GB, free: 12.92 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.122e-05/0.005705, allocations: 88.14 kB / 0.5595 GB, free: 12.83 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.874e-05/0.005724, allocations: 27.83 kB / 0.5595 GB, free: 12.8 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.61e-05/0.00577, allocations: 29.7 kB / 0.5596 GB, free: 12.77 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.098e-05/0.005841, allocations: 318.8 kB / 0.5599 GB, free: 12.45 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001296/0.00597, allocations: 89.64 kB / 0.56 GB, free: 12.36 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001236/0.006094, allocations: 108.2 kB / 0.5601 GB, free: 12.23 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001954/0.00629, allocations: 156.2 kB / 0.5602 GB, free: 12.07 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.006292, allocations: 0 / 0.5602 GB, free: 12.07 MB / 490.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002942/0.006586, allocations: 248.9 kB / 0.5604 GB, free: 11.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.776e-05/0.006614, allocations: 37.77 kB / 0.5605 GB, free: 11.76 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.006618, allocations: 4 kB / 0.5605 GB, free: 11.76 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/0.006629, allocations: 0 / 0.5605 GB, free: 11.76 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.072e-05/0.00671, allocations: 19.97 kB / 0.5605 GB, free: 11.74 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.006714, allocations: 0 / 0.5605 GB, free: 11.74 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001123/0.006827, allocations: 40.22 kB / 0.5605 GB, free: 11.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.517e-05/0.006842, allocations: 7.984 kB / 0.5605 GB, free: 11.69 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,booPul.y,$PRE.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * 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 6.58e-05/0.006908, allocations: 125.8 kB / 0.5607 GB, free: 11.56 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.055e-06/0.006916, allocations: 7.938 kB / 0.5607 GB, free: 11.55 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.934e-05/0.006935, allocations: 12.44 kB / 0.5607 GB, free: 11.54 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.006936, allocations: 0 / 0.5607 GB, free: 11.54 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.00694, allocations: 0 / 0.5607 GB, free: 11.54 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.006943, allocations: 0 / 0.5607 GB, free: 11.54 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002728/0.007215, allocations: 125.2 kB / 0.5608 GB, free: 11.39 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.007216, allocations: 0 / 0.5608 GB, free: 11.39 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.214e-05/0.007258, allocations: 19.92 kB / 0.5608 GB, free: 11.37 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.00726, allocations: 0 / 0.5608 GB, free: 11.37 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.007269, allocations: 11.94 kB / 0.5608 GB, free: 11.36 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.00727, allocations: 4 kB / 0.5608 GB, free: 11.36 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.007272, allocations: 3.984 kB / 0.5608 GB, free: 11.35 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001942/0.007466, allocations: 137.1 kB / 0.561 GB, free: 11.2 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.566e-06/0.007475, allocations: 11.94 kB / 0.561 GB, free: 11.19 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.126e-05/0.007486, allocations: 4.031 kB / 0.561 GB, free: 11.18 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.619e-05/0.007522, allocations: 23.86 kB / 0.561 GB, free: 11.16 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.231e-05/0.007554, allocations: 7.984 kB / 0.561 GB, free: 11.15 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.631e-06/0.00756, allocations: 4 kB / 0.561 GB, free: 11.15 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.337e-05/0.007593, allocations: 91.27 kB / 0.5611 GB, free: 11.06 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007593, allocations: 0 / 0.5611 GB, free: 11.06 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001482/0.007742, allocations: 27.94 kB / 0.5611 GB, free: 11.03 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: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001037/0.007845, allocations: 99.23 kB / 0.5612 GB, free: 10.92 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002859/0.008131, allocations: 208.9 kB / 0.5614 GB, free: 10.7 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.222e-06/0.008133, allocations: 0 / 0.5614 GB, free: 10.7 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 8.632e-05/0.008219, allocations: 43.97 kB / 0.5615 GB, free: 10.66 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000148/0.008367, allocations: 13.86 kB / 0.5615 GB, free: 10.64 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002596/0.008626, allocations: 190.4 kB / 0.5617 GB, free: 10.43 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.76e-05/0.008664, allocations: 75.45 kB / 0.5617 GB, free: 10.33 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.531e-05/0.008689, allocations: 12.5 kB / 0.5618 GB, free: 10.32 MB / 490.7 MB Notification: Performance of SimCode: time 5.81e-07/0.00869, allocations: 4 kB / 0.5618 GB, free: 10.32 MB / 490.7 MB Notification: Performance of Templates: time 0.00191/0.0106, allocations: 1.353 MB / 0.5631 GB, free: 8.988 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Switch.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Switch.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Switch.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Switch.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Switch.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Switch -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Switch.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.694206287153065] Failed to read output from testmodel.py, exit status != 0: 0.015170593746006489 0.022778623 0.017661423000000002 Calling exit ...