Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Stage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001404/0.001404, allocations: 117.4 kB / 17.75 MB, free: 5.293 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001427/0.001427, allocations: 188.5 kB / 20.69 MB, free: 2.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.44/1.44, allocations: 222.9 MB / 246.4 MB, free: 4.328 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.047/1.047, allocations: 147.6 MB / 446.2 MB, free: 8.438 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Controls.OBC.CDL.Integers.Validation.Stage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Stage") translateModel(IBPSA.Controls.OBC.CDL.Integers.Validation.Stage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Stage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001978/0.001978, allocations: 64.61 kB / 0.612 GB, free: 37.76 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1369/0.1389, allocations: 83.16 MB / 0.6933 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.Stage): time 0.002226/0.1411, allocations: 0.904 MB / 0.6941 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001574/0.1427, allocations: 1.036 MB / 0.6952 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001023/0.1428, allocations: 1.312 kB / 0.6952 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001436/0.143, allocations: 15.75 kB / 0.6952 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001483/0.1432, allocations: 48.19 kB / 0.6952 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.000439/0.1436, allocations: 131.1 kB / 0.6953 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003778/0.144, allocations: 341.5 kB / 0.6957 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001357/0.1442, allocations: 22.05 kB / 0.6957 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002663/0.1444, allocations: 180.3 kB / 0.6959 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003424/0.1448, allocations: 217.4 kB / 0.6961 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 6.571e-05/0.1449, allocations: 33 kB / 0.6961 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 6.09e-05/0.1449, allocations: 32.5 kB / 0.6961 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001476/0.1451, allocations: 101.7 kB / 0.6962 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001667/0.1453, allocations: 129.7 kB / 0.6963 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0004295/0.1457, allocations: 336.4 kB / 0.6967 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.1457, allocations: 5.281 kB / 0.6967 GB, free: 10.53 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.724e-06/0.1457, allocations: 0 / 0.6967 GB, free: 10.53 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.155e-05/0.1457, allocations: 3.984 kB / 0.6967 GB, free: 10.53 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.002226/0.148, allocations: 0.7778 MB / 0.6974 GB, free: 9.914 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.148, allocations: 9.688 kB / 0.6974 GB, free: 9.914 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.571e-05/0.1481, allocations: 25.45 kB / 0.6975 GB, free: 9.902 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008053/0.1489, allocations: 337.6 kB / 0.6978 GB, free: 9.594 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.677e-05/0.149, allocations: 27.02 kB / 0.6978 GB, free: 9.578 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.674e-05/0.149, allocations: 28.14 kB / 0.6978 GB, free: 9.566 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008241/0.1499, allocations: 341.3 kB / 0.6982 GB, free: 9.344 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.1499, allocations: 1.375 kB / 0.6982 GB, free: 9.344 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.699e-05/0.1499, allocations: 17.3 kB / 0.6982 GB, free: 9.328 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.1499, allocations: 2.75 kB / 0.6982 GB, free: 9.328 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006709/0.1506, allocations: 209.8 kB / 0.6984 GB, free: 9.195 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001823/0.1525, allocations: 0.715 MB / 0.6991 GB, free: 8.426 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007381/0.1532, allocations: 269 kB / 0.6993 GB, free: 8.145 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005841/0.1538, allocations: 198.2 kB / 0.6995 GB, free: 7.945 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.053e-05/0.1539, allocations: 4 kB / 0.6995 GB, free: 7.941 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007966/0.1547, allocations: 348.7 kB / 0.6999 GB, free: 7.582 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=30): time 2.004e-06/0.1547, allocations: 0 / 0.6999 GB, free: 7.582 MB / 0.5137 GB Notification: Performance of matching and sorting (n=30): time 0.001978/0.1567, allocations: 0.6404 MB / 0.7005 GB, free: 6.938 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.988e-05/0.1568, allocations: 93.09 kB / 0.7006 GB, free: 6.828 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002344/0.157, allocations: 207.9 kB / 0.7008 GB, free: 6.613 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 6.84e-05/0.1571, allocations: 57.69 kB / 0.7008 GB, free: 6.551 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 9.125e-05/0.1572, allocations: 121.1 kB / 0.701 GB, free: 6.43 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001017/0.1573, allocations: 83.44 kB / 0.701 GB, free: 6.348 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000132/0.1574, allocations: 82.12 kB / 0.7011 GB, free: 6.262 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001644/0.1576, allocations: 342.8 kB / 0.7014 GB, free: 5.918 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002592/0.1579, allocations: 108.8 kB / 0.7015 GB, free: 5.812 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003035/0.1582, allocations: 177.4 kB / 0.7017 GB, free: 5.625 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003936/0.1586, allocations: 206.8 kB / 0.7019 GB, free: 5.41 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.1586, allocations: 0 / 0.7019 GB, free: 5.41 MB / 0.5137 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.000645/0.1592, allocations: 344.3 kB / 0.7022 GB, free: 5.07 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.1593, allocations: 4 kB / 0.7022 GB, free: 5.066 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.799e-06/0.1593, allocations: 4 kB / 0.7022 GB, free: 5.062 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.1593, allocations: 4 kB / 0.7022 GB, free: 5.059 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002085/0.1595, allocations: 47.84 kB / 0.7023 GB, free: 5.012 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.1595, allocations: 4 kB / 0.7023 GB, free: 5.008 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004136/0.1599, allocations: 79.7 kB / 0.7024 GB, free: 4.93 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.156e-05/0.16, allocations: 20 kB / 0.7024 GB, free: 4.91 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 52 (zerHolTim.y,$PRE.zerHolTim.y,sta.y,$PRE.sta.y,zerHolTim.checkLower,$PRE.zerHolTim.checkLower,zerHolTim.checkUpper,$PRE.zerHolTim.checkUpper,zerHolTim.lowerThreshold,$PRE.zerHolTim.lowerThreshold,zerHolTim.upperThreshold,$PRE.zerHolTim.upperThreshold,zerHolTim.tNext,$PRE.zerHolTim.tNext,sta.checkLower,$PRE.sta.checkLower,sta.checkUpper,$PRE.sta.checkUpper,sta.lowerThreshold,$PRE.sta.lowerThreshold,sta.upperThreshold,$PRE.sta.upperThreshold,sta.tNext,$PRE.sta.tNext,$whenCondition3,$whenCondition4,lesHolTim.y,$PRE.lesHolTim.y,sta1.y,$PRE.sta1.y,lesHolTim.checkLower,$PRE.lesHolTim.checkLower,lesHolTim.checkUpper,$PRE.lesHolTim.checkUpper,lesHolTim.lowerThreshold,$PRE.lesHolTim.lowerThreshold,lesHolTim.upperThreshold,$PRE.lesHolTim.upperThreshold,lesHolTim.tNext,$PRE.lesHolTim.tNext,sta1.checkLower,$PRE.sta1.checkLower,sta1.checkUpper,$PRE.sta1.checkUpper,sta1.lowerThreshold,$PRE.sta1.lowerThreshold,sta1.upperThreshold,$PRE.sta1.upperThreshold,sta1.tNext,$PRE.sta1.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * 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.0002113/0.1602, allocations: 170.9 kB / 0.7026 GB, free: 4.734 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.954e-05/0.1603, allocations: 23.86 kB / 0.7026 GB, free: 4.711 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.15e-05/0.1603, allocations: 29.52 kB / 0.7026 GB, free: 4.676 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.1604, allocations: 4 kB / 0.7026 GB, free: 4.672 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.1604, allocations: 0 / 0.7026 GB, free: 4.672 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.291e-06/0.1604, allocations: 7.938 kB / 0.7026 GB, free: 4.664 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003165/0.1607, allocations: 309.4 kB / 0.7029 GB, free: 4.312 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.1607, allocations: 0 / 0.7029 GB, free: 4.312 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001518/0.1609, allocations: 15.92 kB / 0.7029 GB, free: 4.297 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.1609, allocations: 0 / 0.7029 GB, free: 4.297 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.553e-05/0.1609, allocations: 11.98 kB / 0.7029 GB, free: 4.285 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.1609, allocations: 7.938 kB / 0.7029 GB, free: 4.277 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/0.1609, allocations: 4 kB / 0.703 GB, free: 4.273 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001307/0.1623, allocations: 0.5246 MB / 0.7035 GB, free: 3.73 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.003e-05/0.1623, allocations: 96.97 kB / 0.7036 GB, free: 3.617 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.463e-05/0.1624, allocations: 19.98 kB / 0.7036 GB, free: 3.598 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004679/0.1629, allocations: 63.91 kB / 0.7036 GB, free: 3.535 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001807/0.1631, allocations: 83.75 kB / 0.7037 GB, free: 3.453 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.713e-05/0.1631, allocations: 19.98 kB / 0.7037 GB, free: 3.434 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001437/0.1633, allocations: 147.3 kB / 0.7039 GB, free: 3.289 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.8e-07/0.1633, allocations: 0 / 0.7039 GB, free: 3.289 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003112/0.1636, allocations: 67.94 kB / 0.7039 GB, free: 3.223 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 28 ($whenCondition4,$whenCondition3,sta.y,sta.tNext,sta.upperThreshold,sta.lowerThreshold,sta.checkUpper,sta.checkLower,zerHolTim.y,zerHolTim.tNext,zerHolTim.upperThreshold,zerHolTim.lowerThreshold,zerHolTim.checkUpper,zerHolTim.checkLower,$whenCondition2,$whenCondition1,sta1.y,sta1.tNext,sta1.upperThreshold,sta1.lowerThreshold,sta1.checkUpper,sta1.checkLower,lesHolTim.y,lesHolTim.tNext,lesHolTim.upperThreshold,lesHolTim.lowerThreshold,lesHolTim.checkUpper,lesHolTim.checkLower) * Number of discrete states: 20 (sta1.lowerThreshold,lesHolTim.lowerThreshold,lesHolTim.checkLower,lesHolTim.checkUpper,lesHolTim.upperThreshold,sta1.checkLower,sta1.checkUpper,sta1.upperThreshold,sta1.tNext,lesHolTim.tNext,sta.lowerThreshold,zerHolTim.lowerThreshold,zerHolTim.checkLower,zerHolTim.checkUpper,zerHolTim.upperThreshold,sta.checkLower,sta.checkUpper,sta.upperThreshold,sta.tNext,zerHolTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 16 * 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.0002282/0.1638, allocations: 131.1 kB / 0.7041 GB, free: 3.086 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0009699/0.1648, allocations: 359.7 kB / 0.7044 GB, free: 2.734 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1648, allocations: 0 / 0.7044 GB, free: 2.734 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0006072/0.1654, allocations: 196.1 kB / 0.7046 GB, free: 2.543 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004865/0.1659, allocations: 63.92 kB / 0.7047 GB, free: 2.48 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001403/0.1674, allocations: 0.5743 MB / 0.7052 GB, free: 1.871 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004433/0.1678, allocations: 0.7444 MB / 0.7059 GB, free: 1.098 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001314/0.1679, allocations: 39.41 kB / 0.706 GB, free: 1.059 MB / 0.5137 GB Notification: Performance of SimCode: time 5.42e-07/0.168, allocations: 7.938 kB / 0.706 GB, free: 1.051 MB / 0.5137 GB Notification: Performance of Templates: time 0.007369/0.1753, allocations: 4.077 MB / 0.71 GB, free: 13 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Stage.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Stage.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Stage.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Stage.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Stage.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Stage -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Stage.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.446883877972141] Failed to read output from testmodel.py, exit status != 0: 0.4392226489726454 0.19816887400000002 0.049588871 Calling exit ...