Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Timer.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.001183/0.001183, allocations: 117.4 kB / 17.76 MB, free: 5.301 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.00123/0.00123, allocations: 188.5 kB / 20.69 MB, free: 2.371 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.442/1.442, allocations: 222.9 MB / 246.4 MB, free: 4.32 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.083/1.083, allocations: 147.6 MB / 446.2 MB, free: 8.469 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.Logical.Validation.Timer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Timer") translateModel(IBPSA.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Timer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001985/0.001985, allocations: 68.31 kB / 0.612 GB, free: 37.7 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1389/0.1409, allocations: 83.16 MB / 0.6933 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Timer): time 0.001775/0.1427, allocations: 0.7056 MB / 0.6939 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001713/0.1444, allocations: 1.264 MB / 0.6952 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.582e-05/0.1445, allocations: 1.281 kB / 0.6952 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.535e-05/0.1445, allocations: 11.86 kB / 0.6952 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 8.253e-05/0.1446, allocations: 13.25 kB / 0.6952 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007324/0.1454, allocations: 250.4 kB / 0.6954 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003036/0.1457, allocations: 268.3 kB / 0.6957 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.1458, allocations: 19.09 kB / 0.6957 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000137/0.1459, allocations: 97.23 kB / 0.6958 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001707/0.1461, allocations: 96.42 kB / 0.6959 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.374e-05/0.1462, allocations: 23.38 kB / 0.6959 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 9.288e-05/0.1463, allocations: 38.23 kB / 0.696 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 3.687e-05/0.1463, allocations: 30.78 kB / 0.696 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.000114/0.1464, allocations: 96.55 kB / 0.6961 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002862/0.1467, allocations: 226.2 kB / 0.6963 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.1467, allocations: 0 / 0.6963 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.403e-06/0.1467, allocations: 0 / 0.6963 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.989e-06/0.1467, allocations: 4 kB / 0.6963 GB, free: 10.77 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0008025/0.1476, allocations: 0.4911 MB / 0.6968 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.1476, allocations: 9.625 kB / 0.6968 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.9e-05/0.1477, allocations: 17.27 kB / 0.6968 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005878/0.1483, allocations: 249.3 kB / 0.697 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.038e-05/0.1483, allocations: 16.61 kB / 0.6971 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.41e-05/0.1484, allocations: 19.5 kB / 0.6971 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002577/0.1486, allocations: 136.6 kB / 0.6972 GB, free: 9.906 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.1486, allocations: 5.312 kB / 0.6972 GB, free: 9.902 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.887e-05/0.1487, allocations: 5.375 kB / 0.6972 GB, free: 9.898 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.189e-06/0.1487, allocations: 1.344 kB / 0.6972 GB, free: 9.898 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000124/0.1488, allocations: 63.86 kB / 0.6973 GB, free: 9.867 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008307/0.1496, allocations: 0.5192 MB / 0.6978 GB, free: 9.359 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002922/0.1499, allocations: 163.4 kB / 0.6979 GB, free: 9.25 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001053/0.1501, allocations: 66.75 kB / 0.698 GB, free: 9.207 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.513e-05/0.1501, allocations: 1.656 kB / 0.698 GB, free: 9.207 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003448/0.1504, allocations: 200.5 kB / 0.6982 GB, free: 9.059 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=22): time 1.443e-06/0.1504, allocations: 1.312 kB / 0.6982 GB, free: 9.059 MB / 0.5137 GB Notification: Performance of matching and sorting (n=22): time 0.0006133/0.1511, allocations: 315.3 kB / 0.6985 GB, free: 8.906 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.221e-05/0.1511, allocations: 93.22 kB / 0.6986 GB, free: 8.801 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001629/0.1513, allocations: 132.3 kB / 0.6987 GB, free: 8.664 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.958e-05/0.1514, allocations: 45.64 kB / 0.6988 GB, free: 8.613 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.579e-05/0.1514, allocations: 92.69 kB / 0.6989 GB, free: 8.52 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 6.308e-05/0.1515, allocations: 55.58 kB / 0.6989 GB, free: 8.465 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001294/0.1517, allocations: 77.67 kB / 0.699 GB, free: 8.383 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001648/0.1518, allocations: 326.8 kB / 0.6993 GB, free: 8.055 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001909/0.152, allocations: 84.23 kB / 0.6994 GB, free: 7.969 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002547/0.1523, allocations: 148.6 kB / 0.6995 GB, free: 7.797 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003433/0.1526, allocations: 246.9 kB / 0.6998 GB, free: 7.516 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.1526, allocations: 8 kB / 0.6998 GB, free: 7.508 MB / 0.5137 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005933/0.1532, allocations: 363.9 kB / 0.7001 GB, free: 7.137 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 6.825e-05/0.1533, allocations: 67.39 kB / 0.7002 GB, free: 7.059 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.1533, allocations: 0 / 0.7002 GB, free: 7.059 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.1534, allocations: 4 kB / 0.7002 GB, free: 7.055 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.053e-05/0.1534, allocations: 15.94 kB / 0.7002 GB, free: 7.039 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.167e-05/0.1535, allocations: 7.938 kB / 0.7002 GB, free: 7.031 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000364/0.1538, allocations: 75.98 kB / 0.7003 GB, free: 6.957 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.041e-05/0.1539, allocations: 23.98 kB / 0.7003 GB, free: 6.934 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 27 (thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition10,$whenCondition11,booPul.y,$PRE.booPul.y,thrTim.entryTime,$PRE.thrTim.entryTime,noThr.entryTime,$PRE.noThr.entryTime,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition9,thrTim1.passed,$PRE.thrTim1.passed,$whenCondition4,$whenCondition5,booPul1.y,$PRE.booPul1.y,thrTim1.entryTime,$PRE.thrTim1.entryTime,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * 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.0001433/0.154, allocations: 133.6 kB / 0.7004 GB, free: 6.797 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.142e-05/0.1541, allocations: 19.94 kB / 0.7004 GB, free: 6.777 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.496e-05/0.1541, allocations: 24.44 kB / 0.7005 GB, free: 6.75 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.1541, allocations: 4 kB / 0.7005 GB, free: 6.746 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.096e-06/0.1541, allocations: 3.938 kB / 0.7005 GB, free: 6.742 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.1542, allocations: 0 / 0.7005 GB, free: 6.742 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006935/0.1549, allocations: 0.6109 MB / 0.7011 GB, free: 6.074 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.1549, allocations: 0 / 0.7011 GB, free: 6.074 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.178e-05/0.1549, allocations: 8 kB / 0.7011 GB, free: 6.066 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.1549, allocations: 7.938 kB / 0.7011 GB, free: 6.059 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.86e-05/0.1549, allocations: 7.984 kB / 0.7011 GB, free: 6.051 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.155, allocations: 4 kB / 0.7011 GB, free: 6.047 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.155, allocations: 0 / 0.7011 GB, free: 6.047 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004852/0.1555, allocations: 424.3 kB / 0.7015 GB, free: 5.617 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.882e-05/0.1555, allocations: 92.95 kB / 0.7016 GB, free: 5.508 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.922e-05/0.1556, allocations: 23.91 kB / 0.7016 GB, free: 5.484 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000141/0.1557, allocations: 11.98 kB / 0.7016 GB, free: 5.473 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.326e-05/0.1558, allocations: 23.97 kB / 0.7016 GB, free: 5.449 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.118e-05/0.1558, allocations: 15.98 kB / 0.7017 GB, free: 5.434 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.535e-05/0.1559, allocations: 99.27 kB / 0.7018 GB, free: 5.336 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1559, allocations: 0 / 0.7018 GB, free: 5.336 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000349/0.1563, allocations: 56 kB / 0.7018 GB, free: 5.281 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: 19 ($whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,thrTim1.passed,thrTim1.entryTime,booPul1.y,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 3 (noThr.entryTime,thrTim.entryTime,thrTim1.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0001752/0.1564, allocations: 112.7 kB / 0.7019 GB, free: 5.164 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005354/0.157, allocations: 351 kB / 0.7022 GB, free: 4.797 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.157, allocations: 0 / 0.7022 GB, free: 4.797 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001837/0.1572, allocations: 115.9 kB / 0.7024 GB, free: 4.684 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003818/0.1576, allocations: 26.31 kB / 0.7024 GB, free: 4.66 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005536/0.1581, allocations: 313.4 kB / 0.7027 GB, free: 4.32 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003521/0.1585, allocations: 0.7087 MB / 0.7034 GB, free: 3.586 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.382e-05/0.1586, allocations: 19.44 kB / 0.7034 GB, free: 3.566 MB / 0.5137 GB Notification: Performance of SimCode: time 3.01e-07/0.1586, allocations: 0 / 0.7034 GB, free: 3.566 MB / 0.5137 GB Notification: Performance of Templates: time 0.004432/0.163, allocations: 2.267 MB / 0.7056 GB, free: 1.305 MB / 0.5137 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Timer.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Timer.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Timer -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.960773046826944] Failed to read output from testmodel.py, exit status != 0: 0.4271938649471849 0.184396217 0.034944469 Calling exit ...