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.001346/0.001346, allocations: 114.4 kB / 19.59 MB, free: 2.281 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.001448/0.001448, allocations: 191.6 kB / 22.85 MB, free: 5.664 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.514/1.514, allocations: 225.6 MB / 251.5 MB, free: 13.06 MB / 206.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 0.9649/0.9649, allocations: 149.5 MB / 456.3 MB, free: 1.297 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.002057/0.002057, allocations: 63.28 kB / 0.6324 GB, free: 9.172 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1862/0.1883, allocations: 87.88 MB / 0.7182 GB, free: 1.207 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Nor): time 0.002124/0.1904, allocations: 0.6359 MB / 0.7188 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002001/0.1924, allocations: 1.186 MB / 0.72 GB, free: 15.38 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.12e-05/0.1925, allocations: 0 / 0.72 GB, free: 15.38 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 4.272e-05/0.1925, allocations: 3.938 kB / 0.72 GB, free: 15.37 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001143/0.1926, allocations: 23.84 kB / 0.72 GB, free: 15.35 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009967/0.1936, allocations: 224.1 kB / 0.7202 GB, free: 15.14 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003734/0.194, allocations: 171.7 kB / 0.7204 GB, free: 14.97 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001235/0.1941, allocations: 15.97 kB / 0.7204 GB, free: 14.95 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001593/0.1943, allocations: 67.89 kB / 0.7205 GB, free: 14.89 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001794/0.1944, allocations: 63.78 kB / 0.7205 GB, free: 14.82 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.83e-05/0.1945, allocations: 16 kB / 0.7206 GB, free: 14.81 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001016/0.1946, allocations: 31.94 kB / 0.7206 GB, free: 14.78 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.654e-05/0.1946, allocations: 15.92 kB / 0.7206 GB, free: 14.76 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001021/0.1947, allocations: 55.89 kB / 0.7207 GB, free: 14.71 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002879/0.195, allocations: 147.5 kB / 0.7208 GB, free: 14.56 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 9.648e-06/0.195, allocations: 4 kB / 0.7208 GB, free: 14.56 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.565e-06/0.195, allocations: 0 / 0.7208 GB, free: 14.56 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.883e-06/0.195, allocations: 0 / 0.7208 GB, free: 14.56 MB / 0.545 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.0007134/0.1958, allocations: 363 kB / 0.7211 GB, free: 14.16 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/0.1958, allocations: 8.625 kB / 0.7212 GB, free: 14.15 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.057e-05/0.1959, allocations: 12.89 kB / 0.7212 GB, free: 14.14 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001384/0.196, allocations: 118.4 kB / 0.7213 GB, free: 14 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.176e-05/0.196, allocations: 4.375 kB / 0.7213 GB, free: 14 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.066e-05/0.1961, allocations: 16.36 kB / 0.7213 GB, free: 13.98 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001492/0.1962, allocations: 54.19 kB / 0.7214 GB, free: 13.92 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.1962, allocations: 192 / 0.7214 GB, free: 13.92 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.1963, allocations: 3.938 kB / 0.7214 GB, free: 13.92 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.1963, allocations: 0 / 0.7214 GB, free: 13.92 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.628e-05/0.1963, allocations: 15.98 kB / 0.7214 GB, free: 13.9 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005666/0.1969, allocations: 311.9 kB / 0.7217 GB, free: 13.55 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 9.814e-05/0.197, allocations: 42.5 kB / 0.7217 GB, free: 13.5 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.515e-05/0.197, allocations: 16.8 kB / 0.7217 GB, free: 13.48 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.142e-05/0.197, allocations: 96 / 0.7217 GB, free: 13.48 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001694/0.1972, allocations: 79.36 kB / 0.7218 GB, free: 13.39 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.272e-06/0.1972, allocations: 0 / 0.7218 GB, free: 13.39 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0002814/0.1975, allocations: 105.6 kB / 0.7219 GB, free: 13.29 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.42e-05/0.1975, allocations: 55.34 kB / 0.722 GB, free: 13.22 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001294/0.1977, allocations: 129.7 kB / 0.7221 GB, free: 13.08 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.254e-05/0.1977, allocations: 37.69 kB / 0.7221 GB, free: 13.04 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.272e-05/0.1978, allocations: 84.14 kB / 0.7222 GB, free: 12.95 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.095e-05/0.1978, allocations: 19.84 kB / 0.7222 GB, free: 12.93 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001014/0.1979, allocations: 45.69 kB / 0.7223 GB, free: 12.88 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001495/0.198, allocations: 326.8 kB / 0.7226 GB, free: 12.55 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001401/0.1982, allocations: 55.97 kB / 0.7226 GB, free: 12.5 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001923/0.1984, allocations: 96.25 kB / 0.7227 GB, free: 12.39 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002165/0.1986, allocations: 151.6 kB / 0.7229 GB, free: 12.21 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.1986, allocations: 0 / 0.7229 GB, free: 12.21 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000466/0.1991, allocations: 268.8 kB / 0.7231 GB, free: 11.93 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.79e-05/0.1991, allocations: 71.39 kB / 0.7232 GB, free: 11.85 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.1991, allocations: 320 / 0.7232 GB, free: 11.85 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.948e-05/0.1991, allocations: 0 / 0.7232 GB, free: 11.85 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.731e-05/0.1992, allocations: 7.938 kB / 0.7232 GB, free: 11.84 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.1992, allocations: 0 / 0.7232 GB, free: 11.84 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003855/0.1996, allocations: 63.98 kB / 0.7233 GB, free: 11.78 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.191e-05/0.1996, allocations: 20.05 kB / 0.7233 GB, free: 11.76 MB / 0.545 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.0001333/0.1997, allocations: 128.3 kB / 0.7234 GB, free: 11.63 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.533e-05/0.1998, allocations: 3.953 kB / 0.7234 GB, free: 11.62 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.138e-05/0.1998, allocations: 12.38 kB / 0.7234 GB, free: 11.61 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.1998, allocations: 0 / 0.7234 GB, free: 11.61 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.1998, allocations: 0 / 0.7234 GB, free: 11.61 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/0.1998, allocations: 0 / 0.7234 GB, free: 11.61 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000195/0.2, allocations: 153.1 kB / 0.7236 GB, free: 11.42 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.2, allocations: 7.938 kB / 0.7236 GB, free: 11.41 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.391e-05/0.2, allocations: 4 kB / 0.7236 GB, free: 11.41 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.2, allocations: 0 / 0.7236 GB, free: 11.41 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.481e-05/0.2, allocations: 4 kB / 0.7236 GB, free: 11.41 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.2, allocations: 3.938 kB / 0.7236 GB, free: 11.4 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.2, allocations: 0 / 0.7236 GB, free: 11.4 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001967/0.2002, allocations: 113 kB / 0.7237 GB, free: 11.27 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.62e-05/0.2002, allocations: 7.953 kB / 0.7237 GB, free: 11.27 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.811e-05/0.2003, allocations: 4 kB / 0.7237 GB, free: 11.26 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.087e-05/0.2003, allocations: 0 / 0.7237 GB, free: 11.26 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.856e-05/0.2003, allocations: 7.984 kB / 0.7237 GB, free: 11.25 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.081e-05/0.2003, allocations: 8 kB / 0.7237 GB, free: 11.25 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.122e-05/0.2004, allocations: 95.2 kB / 0.7238 GB, free: 11.15 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.2004, allocations: 0 / 0.7238 GB, free: 11.15 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002595/0.2007, allocations: 31.94 kB / 0.7238 GB, free: 11.12 MB / 0.545 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.0002054/0.2009, allocations: 103.2 kB / 0.7239 GB, free: 11.01 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004263/0.2013, allocations: 230.6 kB / 0.7241 GB, free: 10.76 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.2013, allocations: 0 / 0.7241 GB, free: 10.76 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.975e-05/0.2014, allocations: 16 kB / 0.7242 GB, free: 10.75 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002721/0.2016, allocations: 15.98 kB / 0.7242 GB, free: 10.73 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004596/0.2021, allocations: 150.9 kB / 0.7243 GB, free: 10.55 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003763/0.2025, allocations: 0.6926 MB / 0.725 GB, free: 9.832 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.573e-05/0.2025, allocations: 7.984 kB / 0.725 GB, free: 9.824 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.463e-05/0.2025, allocations: 7.438 kB / 0.725 GB, free: 9.816 MB / 0.545 GB Notification: Performance of SimCode: time 1.343e-06/0.2025, allocations: 4 kB / 0.725 GB, free: 9.812 MB / 0.545 GB Notification: Performance of Templates: time 0.005507/0.208, allocations: 1.862 MB / 0.7268 GB, free: 7.969 MB / 0.545 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: 6.001844784244895] Failed to read output from testmodel.py, exit status != 0: 0.2174942446872592 0.232847364 0.034497891 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f4f91bd57b0>