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.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.001335/0.001335, allocations: 100.3 kB / 19.69 MB, free: 1.805 MB / 14.72 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.001997/0.001997, allocations: 214 kB / 22.99 MB, free: 4.605 MB / 14.72 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 1.511/1.511, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] 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.9894/0.9894, allocations: 149.9 MB / 463 MB, free: 10.35 MB / 366.1 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: "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Validation.Nor,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Nor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Validation.Nor,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Nor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002177/0.002177, allocations: 67.73 kB / 0.6411 GB, free: 10.13 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1916/0.1938, allocations: 89.18 MB / 0.7282 GB, free: 1.027 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Nor): time 0.002186/0.196, allocations: 0.6257 MB / 0.7288 GB, free: 412 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001749/0.1977, allocations: 1.202 MB / 0.73 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.466e-05/0.1978, allocations: 4 kB / 0.73 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.064e-05/0.1978, allocations: 7.922 kB / 0.73 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.282e-05/0.1979, allocations: 7.922 kB / 0.73 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007102/0.1986, allocations: 216.9 kB / 0.7302 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002707/0.1989, allocations: 179.7 kB / 0.7303 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 8.968e-05/0.199, allocations: 11.98 kB / 0.7304 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001265/0.1991, allocations: 71.88 kB / 0.7304 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001386/0.1992, allocations: 55.84 kB / 0.7305 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.108e-05/0.1993, allocations: 16 kB / 0.7305 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 8.573e-05/0.1993, allocations: 23.98 kB / 0.7305 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.302e-05/0.1994, allocations: 8 kB / 0.7305 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 8.95e-05/0.1995, allocations: 63.75 kB / 0.7306 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00023/0.1997, allocations: 143.9 kB / 0.7307 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.1997, allocations: 0 / 0.7307 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.512e-06/0.1997, allocations: 0 / 0.7307 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.808e-06/0.1997, allocations: 7.938 kB / 0.7307 GB, free: 14.39 MB / 0.5606 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.0005408/0.2002, allocations: 361.5 kB / 0.7311 GB, free: 14 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.2003, allocations: 8.031 kB / 0.7311 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.036e-05/0.2003, allocations: 42.73 kB / 0.7311 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.255e-05/0.2004, allocations: 4.938 kB / 0.7311 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001108/0.2005, allocations: 114.5 kB / 0.7312 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.725e-05/0.2005, allocations: 4.375 kB / 0.7312 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.408e-05/0.2005, allocations: 12.38 kB / 0.7313 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001226/0.2007, allocations: 50.23 kB / 0.7313 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.2007, allocations: 3.938 kB / 0.7313 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.225e-06/0.2007, allocations: 0 / 0.7313 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.678e-06/0.2007, allocations: 8 kB / 0.7313 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.349e-05/0.2007, allocations: 15.88 kB / 0.7313 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004998/0.2012, allocations: 295.9 kB / 0.7316 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 9.073e-05/0.2013, allocations: 26.58 kB / 0.7316 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.581e-05/0.2014, allocations: 20.94 kB / 0.7317 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.108e-05/0.2014, allocations: 0 / 0.7317 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000202/0.2016, allocations: 83.27 kB / 0.7317 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.222e-06/0.2016, allocations: 0 / 0.7317 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.0002615/0.2018, allocations: 101.6 kB / 0.7318 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.904e-05/0.2019, allocations: 63.39 kB / 0.7319 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001073/0.202, allocations: 125.8 kB / 0.732 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.512e-05/0.202, allocations: 33.64 kB / 0.732 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.156e-05/0.2021, allocations: 88.14 kB / 0.7321 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.701e-05/0.2021, allocations: 12.28 kB / 0.7321 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.629e-05/0.2022, allocations: 49.69 kB / 0.7322 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001488/0.2024, allocations: 322.8 kB / 0.7325 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001768/0.2025, allocations: 119.4 kB / 0.7326 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002009/0.2027, allocations: 159.6 kB / 0.7328 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002063/0.203, allocations: 155.6 kB / 0.7329 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/0.203, allocations: 3.984 kB / 0.7329 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004965/0.2035, allocations: 324.2 kB / 0.7332 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.151e-05/0.2035, allocations: 67.39 kB / 0.7333 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.2035, allocations: 4 kB / 0.7333 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.2035, allocations: 0 / 0.7333 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.59e-05/0.2036, allocations: 7.938 kB / 0.7333 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.2036, allocations: 128 / 0.7333 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003382/0.2039, allocations: 59.89 kB / 0.7334 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.017e-05/0.2039, allocations: 11.98 kB / 0.7334 GB, free: 11.38 MB / 0.5606 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.0001139/0.2041, allocations: 123.2 kB / 0.7335 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.361e-05/0.2041, allocations: 7.984 kB / 0.7335 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.028e-05/0.2041, allocations: 12.38 kB / 0.7335 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.2041, allocations: 0 / 0.7335 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.2041, allocations: 4 kB / 0.7335 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.2041, allocations: 64 / 0.7335 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001455/0.2043, allocations: 156.6 kB / 0.7337 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.2043, allocations: 0 / 0.7337 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.235e-06/0.2043, allocations: 3.938 kB / 0.7337 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.2043, allocations: 4 kB / 0.7337 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.2043, allocations: 3.938 kB / 0.7337 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.2043, allocations: 0 / 0.7337 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2043, allocations: 0 / 0.7337 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001604/0.2044, allocations: 113 kB / 0.7338 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.196e-05/0.2044, allocations: 8.047 kB / 0.7338 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.697e-05/0.2045, allocations: 11.94 kB / 0.7338 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.01e-05/0.2045, allocations: 0 / 0.7338 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.814e-05/0.2045, allocations: 7.984 kB / 0.7338 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.355e-06/0.2045, allocations: 4 kB / 0.7338 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.226e-05/0.2046, allocations: 91.27 kB / 0.7339 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2046, allocations: 0 / 0.7339 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002411/0.2048, allocations: 32 kB / 0.7339 GB, free: 10.74 MB / 0.5606 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.0005043/0.2053, allocations: 0.6517 MB / 0.7346 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003922/0.2057, allocations: 282.2 kB / 0.7348 GB, free: 9.746 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.2057, allocations: 0 / 0.7348 GB, free: 9.746 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 6.153e-05/0.2058, allocations: 23.97 kB / 0.7349 GB, free: 9.723 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002324/0.206, allocations: 19.92 kB / 0.7349 GB, free: 9.703 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002219/0.2082, allocations: 1.959 MB / 0.7368 GB, free: 7.574 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.884e-05/0.2083, allocations: 75.58 kB / 0.7369 GB, free: 7.48 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.138e-05/0.2083, allocations: 7.984 kB / 0.7369 GB, free: 7.473 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.531e-05/0.2084, allocations: 20 kB / 0.7369 GB, free: 7.453 MB / 0.5606 GB Notification: Performance of SimCode: time 3.71e-07/0.2084, allocations: 0 / 0.7369 GB, free: 7.453 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03291/0.2413, allocations: 3.627 MB / 0.7404 GB, free: 3.996 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/11.36, allocations: 7.312 kB / 0.7404 GB, free: 3.992 MB / 0.5606 GB " [Timeout remaining time 649] (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nor_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Nor.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.356903824955225] Failed to read output from testmodel.py, exit status != 0: 11.468418071046472 11.485826882 11.282810708 Calling exit ...