Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nor.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.001265/0.001265, allocations: 113.8 kB / 17.75 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.001824/0.001824, allocations: 185.3 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.425/1.425, allocations: 222.9 MB / 246.4 MB, free: 4.297 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.093/1.093, allocations: 147.7 MB / 446.2 MB, free: 8.422 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.Nor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nor") translateModel(IBPSA.Controls.OBC.CDL.Logical.Validation.Nor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00197/0.00197, allocations: 72.89 kB / 0.612 GB, free: 37.96 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1624/0.1644, allocations: 83.16 MB / 0.6933 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Nor): time 0.001824/0.1663, allocations: 0.6406 MB / 0.6939 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001603/0.1679, allocations: 1.18 MB / 0.695 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.397e-05/0.168, allocations: 4.906 kB / 0.695 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.734e-05/0.168, allocations: 3.938 kB / 0.695 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 7.351e-05/0.1681, allocations: 16.84 kB / 0.6951 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006488/0.1687, allocations: 206.4 kB / 0.6953 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.000242/0.169, allocations: 188 kB / 0.6954 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 8.966e-05/0.1691, allocations: 13.52 kB / 0.6954 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 9.87e-05/0.1692, allocations: 67.38 kB / 0.6955 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001465/0.1694, allocations: 57.08 kB / 0.6956 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.616e-05/0.1694, allocations: 14.22 kB / 0.6956 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 8.812e-05/0.1695, allocations: 37.5 kB / 0.6956 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.268e-05/0.1695, allocations: 11.72 kB / 0.6956 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 8.583e-05/0.1696, allocations: 54.3 kB / 0.6957 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002265/0.1698, allocations: 162.2 kB / 0.6958 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1699, allocations: 0 / 0.6958 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.343e-06/0.1699, allocations: 0 / 0.6958 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.1699, allocations: 0 / 0.6958 GB, free: 11.31 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006166/0.1705, allocations: 432.9 kB / 0.6962 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.1705, allocations: 9.031 kB / 0.6963 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.663e-05/0.1706, allocations: 13.3 kB / 0.6963 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001468/0.1708, allocations: 171.1 kB / 0.6964 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.993e-05/0.1708, allocations: 8.562 kB / 0.6964 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.292e-05/0.1708, allocations: 12.72 kB / 0.6965 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001245/0.171, allocations: 47.62 kB / 0.6965 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.171, allocations: 192 / 0.6965 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.171, allocations: 5.062 kB / 0.6965 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.247e-06/0.171, allocations: 5.109 kB / 0.6965 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.145e-05/0.171, allocations: 15.28 kB / 0.6965 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005263/0.1716, allocations: 355.1 kB / 0.6969 GB, free: 10.22 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 9.254e-05/0.1717, allocations: 36.16 kB / 0.6969 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.089e-05/0.1717, allocations: 18.73 kB / 0.6969 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.164e-05/0.1717, allocations: 0 / 0.6969 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001921/0.1719, allocations: 85.05 kB / 0.697 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=7): time 1.222e-06/0.1719, allocations: 0 / 0.697 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7): time 0.0002545/0.1722, allocations: 99.84 kB / 0.6971 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.141e-05/0.1723, allocations: 60.77 kB / 0.6971 GB, free: 9.965 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00012/0.1724, allocations: 130 kB / 0.6973 GB, free: 9.84 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.193e-05/0.1724, allocations: 29.83 kB / 0.6973 GB, free: 9.809 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.996e-05/0.1725, allocations: 89.64 kB / 0.6974 GB, free: 9.723 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.334e-05/0.1725, allocations: 18.62 kB / 0.6974 GB, free: 9.707 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.712e-05/0.1726, allocations: 47.69 kB / 0.6974 GB, free: 9.676 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001684/0.1728, allocations: 321.5 kB / 0.6978 GB, free: 9.355 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001338/0.173, allocations: 62.2 kB / 0.6978 GB, free: 9.324 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001535/0.1731, allocations: 90.64 kB / 0.6979 GB, free: 9.254 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002156/0.1733, allocations: 160 kB / 0.6981 GB, free: 9.109 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.1733, allocations: 1.375 kB / 0.6981 GB, free: 9.109 MB / 0.5137 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004273/0.1738, allocations: 266.5 kB / 0.6983 GB, free: 8.93 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.53e-05/0.1739, allocations: 69.02 kB / 0.6984 GB, free: 8.859 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.1739, allocations: 1.375 kB / 0.6984 GB, free: 8.859 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.1739, allocations: 1.375 kB / 0.6984 GB, free: 8.859 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.332e-05/0.1739, allocations: 6.688 kB / 0.6984 GB, free: 8.855 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.1739, allocations: 1.375 kB / 0.6984 GB, free: 8.855 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003441/0.1743, allocations: 59.62 kB / 0.6984 GB, free: 8.828 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.522e-05/0.1743, allocations: 13.33 kB / 0.6985 GB, free: 8.824 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,nor1.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 (9): * Single equations (assignments): 7 * 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.0001195/0.1744, allocations: 121.4 kB / 0.6986 GB, free: 8.703 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.835e-05/0.1745, allocations: 7.984 kB / 0.6986 GB, free: 8.699 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.123e-05/0.1745, allocations: 13.8 kB / 0.6986 GB, free: 8.684 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.1745, allocations: 0 / 0.6986 GB, free: 8.684 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.1745, allocations: 1.219 kB / 0.6986 GB, free: 8.684 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.1745, allocations: 3.984 kB / 0.6986 GB, free: 8.68 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001586/0.1747, allocations: 173.2 kB / 0.6988 GB, free: 8.473 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1747, allocations: 4 kB / 0.6988 GB, free: 8.469 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.08e-05/0.1747, allocations: 5.531 kB / 0.6988 GB, free: 8.465 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-06/0.1747, allocations: 0 / 0.6988 GB, free: 8.465 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.1748, allocations: 5.438 kB / 0.6988 GB, free: 8.461 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.1748, allocations: 5.547 kB / 0.6988 GB, free: 8.457 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.1748, allocations: 0 / 0.6988 GB, free: 8.457 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001659/0.1749, allocations: 112 kB / 0.6989 GB, free: 8.363 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.159e-05/0.175, allocations: 87.05 kB / 0.699 GB, free: 8.262 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.957e-05/0.175, allocations: 8.875 kB / 0.699 GB, free: 8.254 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.534e-05/0.1751, allocations: 5.219 kB / 0.699 GB, free: 8.25 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.746e-05/0.1751, allocations: 11.89 kB / 0.699 GB, free: 8.242 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.094e-06/0.1751, allocations: 1.469 kB / 0.699 GB, free: 8.242 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.369e-05/0.1752, allocations: 87.47 kB / 0.6991 GB, free: 8.164 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1752, allocations: 0 / 0.6991 GB, free: 8.164 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002478/0.1755, allocations: 34.73 kB / 0.6991 GB, free: 8.156 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,nor1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001693/0.1756, allocations: 101.8 kB / 0.6992 GB, free: 8.066 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003871/0.176, allocations: 255.2 kB / 0.6995 GB, free: 7.828 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.176, allocations: 3.938 kB / 0.6995 GB, free: 7.824 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 6.005e-05/0.1761, allocations: 27.98 kB / 0.6995 GB, free: 7.797 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002263/0.1763, allocations: 11.98 kB / 0.6995 GB, free: 7.785 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003721/0.1767, allocations: 188.4 kB / 0.6997 GB, free: 7.566 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003356/0.1771, allocations: 0.6848 MB / 0.7003 GB, free: 6.855 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.72e-05/0.1771, allocations: 15.42 kB / 0.7004 GB, free: 6.84 MB / 0.5137 GB Notification: Performance of SimCode: time 2.7e-07/0.1771, allocations: 3.938 kB / 0.7004 GB, free: 6.836 MB / 0.5137 GB Notification: Performance of Templates: time 0.00344/0.1805, allocations: 1.385 MB / 0.7017 GB, free: 5.465 MB / 0.5137 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nor.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nor.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nor.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.9530473940540105] Failed to read output from testmodel.py, exit status != 0: 0.48435226711444557 0.20197915000000002 0.02931316 Calling exit ...